Files

2772 lines
114 KiB
C++
Raw Permalink Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "MaterialUtilities.h"
#include "EngineDefines.h"
#include "ShowFlags.h"
#include "Materials/MaterialInterface.h"
#include "Materials/Material.h"
#include "Engine/Texture2D.h"
#include "Misc/App.h"
#include "Materials/MaterialInstance.h"
#include "Materials/MaterialInstanceConstant.h"
#include "Engine/TextureRenderTarget2D.h"
#include "Modules/ModuleManager.h"
#include "Misc/PackageName.h"
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
#include "LegacyScreenPercentageDriver.h"
#include "Materials/MaterialAttributeDefinitionMap.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Materials/MaterialExpressionConstant.h"
#include "Materials/MaterialExpressionConstant4Vector.h"
#include "Materials/MaterialExpressionMultiply.h"
#include "Materials/MaterialRenderProxy.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Engine/TextureCube.h"
#include "Engine/Texture2DArray.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "SceneView.h"
#include "SceneViewExtension.h"
#include "RendererInterface.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "EngineModule.h"
#include "ImageUtils.h"
#include "CanvasTypes.h"
#include "Materials/MaterialExpressionTextureSample.h"
#include "MaterialCompiler.h"
#include "MaterialDomain.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "DeviceProfiles/DeviceProfileManager.h"
#include "Materials/MaterialParameterCollection.h"
#include "LandscapeProxy.h"
#include "LandscapeComponent.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Engine/StaticMesh.h"
#include "MeshUtilities.h"
#include "MeshRendering.h"
#include "MeshMergeData.h"
#include "PrimitiveSceneProxy.h"
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3847469) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3805828 by Gil.Gribb UE4 - Fixed a bug in the lock free stalling task queue and adjusted a comment. The code is not current used, so this is not actually change the way the code works. Change 3806784 by Ben.Marsh UAT: Remove code to compile UBT when using UE4Build. It should already be compiled as a dependency of UAT. Change 3807549 by Graeme.Thornton Add a cook timer around VerifyCanCookPackage. A licensee reports this taking a lot of time so it'll be good to account for it. Change 3807727 by Graeme.Thornton Unhide the text asset format experimental editor option Change 3807746 by Josh.Engebretson Remove WER from iOS platform Change 3807928 by Robert.Manuszewski When async loading, GC Clusters will be created after packages have been processed to avoid situations where some of the objects that are being added to a cluster haven't been fully loaded yet Change 3808221 by Steve.Robb GitHub #4307 - Made GetModulePtr() thread safe by not using GetModule() ^ I'm not convinced by how much thread-safer this is really, but it's tidier anyway. Change 3809233 by Graeme.Thornton TBA: Misc changes to text asset commandlet - Rename mode to "loadsave" - Add -outputFormat option which can be assigned "text" or "binary" - When saving binary, use a differentiated filename so that source assets aren't overwritten Change 3809518 by Ben.Marsh Remove the outdated UnrealSync automation script. Change 3809643 by Steve.Robb GitHub #4277 : fix bug; FMath::FormatIntToHumanReadable 3rd comma and negative value #jira UE-53037 Change 3809862 by Steve.Robb GitHub #3342 : [FRotator.h] Fix to DecompressAxisFromByte to be more efficient and reflect its intent accurately #jira UE-42593 Change 3811190 by Graeme.Thornton Add support for writing specific log channels to their own files Change 3811197 by Graeme.Thornton Minor updates to output formatting and timing for the text asset commandlet Change 3811257 by Robert.Manuszewski Cluster creation will now be time-sliced Change 3811565 by Steve.Robb Define out non-monolithic module functions. Change 3812561 by Steve.Robb GitHub #3886 : Enable Brace-Initialization for Declaring Variables Incorrect semi-colon search removed after discussion with author. Test added. #jira UE-48242 Change 3812864 by Steve.Robb Removal of some unproven code which was supposed to fix hot reloading BP class functions in plugins. See: https://udn.unrealengine.com/questions/376978/aitask-blueprint-nodes-disappear-when-their-module.html #jira UE-53089 Change 3820358 by Ben.Marsh PR #4358: Incredibuild use ShowAgent by default (Contributed by projectgheist) Change 3822594 by Ben.Marsh UAT: Improvements to log file handling. - Always create log files in the final location, rather than writing to a temp directory and copying in later. - Now supports -Verbose and -VeryVerbose for increasing log verbosity, rather than -Verbose=XXX. - Keep a backlog of log output before the log system is initialized, and flush it to the log file once it is. - Allow buildmachines to specify the uebp_FinalLogFolder environment variable, which is used to form paths for display. When build machines copy log files elsewhere after UAT finishes (eg. a network share), this allows error messages to display the right location. Change 3823695 by Ben.Marsh UGS: Fix issue where precompiled binaries would not be shown as available for a change until scrolling the last submitted code change into the buffer (other symptoms, like de-focussing the main window would cause it to go back to an unavailable state, since the changes buffer was shrunk). Now always queries changes up to the last change for which zipped binaries are available. Change 3823845 by Ben.Marsh UBT: Exclude C# projects for unsupported platforms when generating project files. Change 3824180 by Ben.Marsh UGS: Add an option to show changes by build machines, and move the "only show reviewed" option in there too (Options > Show Changes). #jira Change 3825777 by Steve.Robb Fix to return value of StringToBytes. Change 3825810 by Ben.Marsh UBT: Reduce length of include paths for MSVC toolchain. Change 3825822 by Robert.Manuszewski Optimized PIE lazy pointer fixup. Should be up to 8x faster now. Change 3826734 by Ben.Marsh Remove code to disable TextureFormatAndroid on Linux. It seems to be an editor dependency. Change 3827730 by Steve.Robb Try to avoid decltype(auto) if it's not supported. See: https://udn.unrealengine.com/questions/395644/build-417-with-c11-on-linux-ttuple-errors.html Change 3827745 by Steve.Robb Initializer list support for TMap. Change 3827770 by Steve.Robb GitHub #4399 : Added a CONSTEXPR qualifiers to FVariant::GetType() #jira UE-53813 Change 3829189 by Ben.Marsh UBT: Now always writes a minimal log file. By default, just contains the regular console output and any reasons why actions are outdated and needed to be executed. UAT directs child UBT instances to output logs into its own log folder, so that build machines can save them off. Change 3830444 by Steve.Robb BuildVersion and ModuleManifest moved to Core, and parsing of these files reimplemented to avoid a JSON library. This should be revisited when Core has its own JSON library. Change 3830718 by Ben.Marsh Fix incorrect group name being returned by FStatNameAndInfo::GetGroupName() for stat groups. The editor populates the viewport stats list by calling this for every registered stat and stat group (via FLevelViewportCommands::HandleNewStatGroup). The menu entry attempts to show the stat name with STAT_XXX stripped from the start as the menu item label, with the free-form text description as a tooltip. For stat groups, the it would previously just return the stat group name as "Groups" (due to the raw naming convention of "//Groups//STATGROUP_Foo//..."). Since this didn't match the expected naming convention in FLevelViewportCommands::HandleNewStat (ie. STAT_XXX or STATGROUP_XXX), it would fail to add it. When the first actual stat belonging to that group is added, it would add a menu entry for the group based on that, but the stat description no longer makes sense as a tooltip for the group. As a result, all the editor tooltips were junk. #jira UE-53845 Change 3831064 by Ben.Marsh Fix log file contention when spawning UBT recursively. Change 3832654 by Ben.Marsh UGS: Fix error panel not being selected when opened, and weird alignment/color issues on it. Change 3832680 by Ben.Marsh UGS: Fix failing to detect workspace if synced to a different stream. Seems to be a regression caused by recent P4D upgrade. Change 3832695 by Ben.Marsh UGS: Invert the options in the 'Show Changes' submenu for simplicity. Change 3833528 by Ben.Marsh UAT: Script to rewrite source files with public include paths relative to the 'Public' folder. Usage is: RebasePublicIncludePaths -UpdateDir=<Dir> [-Project=<Dir>] [-Write]. Change 3833543 by Ben.Marsh UBT: Allow targets to opt-out of having public include paths added for every dependent module. This reduces the command line length when building a target, which has recently become a problem with larger games (due to Microsoft's compiler embedding the command line into each object file, with a maximum length of 64kb). All engine modules are compiled with this enabled; games may opt into it by setting bLegacyPublicIncludePaths = false; from their .target.cs, as may individual modules. Change 3834354 by Robert.Manuszewski Archetype pointer will now be cached to avoid locking the object tables when acquiring its info. It should also be faster this way regardless of any locks. #jira UE-52035 Change 3834400 by Robert.Manuszewski Fixing crash on exit caused by cached archetypes not being cleaned up before static exit cleanup. #jira UE-52035 Change 3834947 by Steve.Robb USE_FORMAT_STRING_TYPE_CHECKING removed from FMsg::Logf and FMsg::Logf_Internal. Change 3835004 by Ben.Marsh Fix code that relies on dubious behavior of requiring referenced "include path only" modules having their _API macros set to be empty, even if the module is actually implemented in a separate DLL. Change 3835340 by Ben.Marsh Fix errors making installed build from directories with spaces in the name. Change 3835972 by Ben.Marsh UBT: Improved diagnostic message for targets which don't need a version file. Change 3836019 by Ben.Marsh UBT: Fix warnings caused by defining linkage macros for third party libraries. Change 3836269 by Ben.Marsh Fix message box larger than the screen height being created when a large number of modules are incompatible on startup. Change 3836543 by Ben.Marsh Enable SoundMod plugin on Linux, since it's already supported through the editor. Change 3836546 by Ben.Marsh PR #4412: fix type mismatch (Contributed by nakapon) Change 3836805 by Ben.Marsh Fix commandlet to compile marketplace plugins. Change 3836829 by Ben.Marsh UBT: Fix ability to precompile plugins from installed engine builds. Change 3837036 by Ben.Marsh UBT: Write the previous and new contents of intermediate files to the log if they change. Makes it easier to debug unexpected rebuilds. Change 3837037 by Ben.Marsh UBT: Fix engine modules having inconsistent definitions depending on whether modules are only referenced for their include paths vs being linked into a binary (due to different _API macro). Change 3837040 by Ben.Marsh UBT: Remove code that initializes members in ModuleRules and TargetRules objects before the constructor is run. This is no longer necessary, now that the backwards-compatible default constructors have been removed. Change 3837247 by Ben.Marsh UBT: Remove UELinkerFixups module, now that plugins and precompiled modules do not require hacks to force initialization (since they're linked in as object files). Encryption and signing keys are now set via macros expanded from the IMPLEMENT_PRIMARY_GAME_MODULE macro, via project-specific macros added in the TargetRules constructor. Change 3837262 by Ben.Marsh UBT: Set whether a module is an engine module or not via a default value for the rules assembly. All non-program engine and enterprise modules are created with this flag set to true; program targets and modules are now created from a different assembly that sets it to false. This removes hacks from UEBuildModule needed to adjust behavior for different module types based on the directory containing the module. Also add a bUseBackwardsCompatibleDefaults flag to the TargetRules class, also initialized to a default value from a setting passed to the RulesAssembly constructor. This controls whether modules created for the target should be configured to allow breaking changes to default settings, and is set to false for all engine targets, and true for all project targets. Change 3837343 by Ben.Marsh UBT: Remove the OverrideExecutableFileExtension target property. Change the only current use for this (the MayaLiveLinkPlugin target) to use a post build step to copy the file instead. Change 3837356 by Ben.Marsh Fix invalid character encodings. Change 3837727 by Graeme.Thornton UnrealPak: KeyGenerator: Only generate prime table when required, not all the time Change 3837823 by Ben.Marsh UBT: Output warnings and errors when compiling module rules assembly in a way that allows them to be double-clicked in the Visual Studio output window. Change 3837831 by Graeme.Thornton UBT: When parsing crypto settings, always load legacy data first, then allow the new system to override it. Provides the same key backwards compatibility that the editor settings class gives Change 3837857 by Robert.Manuszewski PR #4404: Make FGCArrayPool singleton global instead of per-CU (Contributed by mhutch) Change 3837943 by Robert.Manuszewski PR #4405: Fix FGarbageCollectionTracer (Contributed by mhutch) Change 3838451 by Ben.Marsh UBT: Fix exceptions thrown on a background thread while caching C++ includes not being caught and logged correctly. Now captures exceptions and re-throws on the main thread. #jira UE-53996 Change 3839519 by Ben.Marsh UBT: Simplify configuring bPrecompile and bUsePrecompile settings for modules. Each rules assembly can now be configured as installed, which defaults the module rules it creates to use precompiled data. Change 3843790 by Graeme.Thornton UnrealPak: Log the size of all encrypted data Change 3844258 by Ben.Marsh Fix plugin compile failure when created via new plugin wizard. Passing -plugin on the command line is unnecessary, and is now reserved for packaging external plugins for the marketplace. Also extend the length of time that the error toast stays visible, and don't delete the plugin on failure. #jira UE-54157 Change 3845796 by Ben.Marsh Workaround for slow performance of String.EndsWith() on Mono. Change 3845823 by Ben.Marsh Fix case sensitive matching of platform names in -TargetPlatform=X argument to BuildCookRun. #jira UE-54123 Change 3845901 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+). (Edigrating 3819174 to Dev-Core) Change 3846439 by Ben.Marsh Revert CL 3822742 to always call Process.WaitForExit(). The Android target platform module in the editor spawns ADB.EXE, which inherits the editor's stdout/stderr handles and forks itself. Process.WaitForExit() waits for EOF on those pipes, which never occurs because the forked process never terminates. Proper fix is probably to have the engine explicitly duplicate stdout/stderr handles for new pipes to output process, but too risky before copying up to Main. Change 3816608 by Ben.Marsh UBT: Use DirectoryReference objects for all include paths. Change 3816954 by Ben.Marsh UBT: Remove bIncludeDependentLibrariesInLibrary option. This is not widely supported by platform toolchains, and is not used anywhere. Change 3816986 by Ben.Marsh UBT: Remove UEBuildBinaryConfig; UEBuildBinary objects are now just created directly. Change 3816991 by Ben.Marsh UBT: Deprecate PlatformSpecificDynamicallyLoadedModules. We no longer have any special behavior for these modules. Change 3823090 by Ben.Marsh UAT: Improve logging for child UAT instances. - Calling RunUAT now requires an identifier for prefixing into the parent log, which is also used to determine the name of the log folder. - Stdout is no longer written to its own output file, since it's written to the parent stdout, the parent log file, and the child log file anyway. - Log folders for child UAT instances are left intact, rather than being copied to the parent folder. The derived names for the copied names were confusing and hard to read. - Output from UAT is no longer returned as a string. It should not be parsed anyway (but may be huge!). ProcessResult now supports running without capturing output. Change 3826082 by Ben.Marsh UBT: Add a check to make sure that all modules that are precompiled are correctly marked to enable it, even if they are part of the build target. Change 3827025 by Ben.Marsh UBT: Move the compile output directory into a property on the module, and explicitly pass it to the toolchain when compiling. Change 3829927 by James.Hopkin Made HTTP interface const correct Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3835826 by Ben.Marsh UBT: Precompiled targets now generate a separate manifest for each precompiled module, rather than adding object files to a library. This fixes issues where object files from static libraries would not be linked into a target if a symbol in them was not referenced. Change 3835969 by Ben.Marsh UBT: Fix cases where text is being written directly to the console rather than via logging functions. Change 3837777 by Steve.Robb Format string type checking added to FOutputDevice::Logf. Fixes for those. Change 3838569 by Steve.Robb Algo moved up a folder. [CL 3847482 by Ben Marsh in Main branch]
2018-01-20 11:19:29 -05:00
#include "Templates/UniquePtr.h"
#include "TextureResource.h"
#include "IMaterialBakingModule.h"
#include "MaterialBakingStructures.h"
#include "MaterialOptions.h"
#include "StaticMeshAttributes.h"
Async Texture Compilation - Feature can be activated in the Experimental section of the Editor Settings - Replace Texture2D/TextureCube resources by placeholders until their PlatformData is ready - Add a utility class allowing to encapsulate raw field pointers without breaking compatibility - Protect PlatformData from unsafe access through encapsulation. - Protect texture's resource from race conditions between game and render threads through encapsulation. - This allows to get rid of FlushRenderingCommands and long game-thread stutters when Updating a texture's resource. - UpdateResource was never safe to call without a FlushRenderingCommands and multiple call-site are doing exactly that, this will fix those cases. - Those were probably undetected due to their low occurence rate under normal conditions but can easily be reproed during async texture compilation on 32 cores. - Force wait on required texture compilations for MaterialBaking, ProxyMesh, Thumbnail generation for disk usage - Wait on all textures compilation whenever a wait for all shaders compilation is requested for safety (i.e. screenshot) - Compile UI and heightmap textures with higher priority to reduce visual artefacts - Increase priority of texture that have been rendered to improve time-to-usefulness of the editor under low core count - Async compilation is disabled for -game / non-editor mode as there is currently no support for async bulk data loading from external files - Properly cancel async tasks when UTexture is garbage collected before the compilation is finished - Show progress when explicitly waiting on compilation - Changing the mip settings in the texture editor (or any settings requiring the running platform data to be recomputed) will now be processed asynchronously. DEBUGGING - Can be forcibly enabled/disabled through command-line via -asynctexturecompilation=[off, on, paused] - Can pause texture compilation using Editor.AsyncTextureCompilation = 2 or -asynctexturecompilation=paused - Can manually resume a specified amount of paused compilation using Editor.AsyncTextureCompilationResume [Num] - Can forcibly wait on all compilation using Editor.AsyncTextureCompilationFlushAll BENCHMARKS - 3m15s to 1m20s when loading Apollo_Terrain with no textures in DDC (AMD TR 3970X) - 6m45s to 1m11s when loading Apollo_Terrain with no textures in DDC (-corelimit=8) - 3m10s to 1m54s when lauching PIE on Apollo_Terrain with no textures in DDC (AMD TR 3970X) - 7m43s to 1m36s when lauching PIE on Apollo_Terrain with no textures in DDC (-corelimit=8) - 0m57s to 0m42s when importing Attic_NVIDIA.usd with no textures in DDC (AMD TR 3970X) - 2m14s to 0m35s when importing Attic_NVIDIA.usd with no textures in DDC (-corelimit=4) TESTS - Success on all material baking tests from EngineTests with -asynctexturecompilation=paused - Runned with -corelimit=1 all the way to unlimited - Cooking worked - Opening the texture editor/material editor will force the compilation to finish like expected. - Changing a setting in the texture editor will recompile async, even allowing to close the editor and continue doing other changes. - Unpausing the compilation will update the texture thumbnails properly. - Started with -asynctexturecompilation=paused, and then unpaused after a map loading, and then into a PIE session to stresstest UpdateResources. - Tested both dx11/dx12 - Vulkan fails on Fortnite even with -asynctexturecompilation=off because of Landscape weigthmap, not this CL. - Compiled and tested FortniteGame / UE4 / ShooterGame projects #rb Uriel.Doyon, Francis.Hurteau [CL 13694814 by danny couture in ue5-main branch]
2020-06-16 22:16:25 -04:00
#include "TextureCompiler.h"
#include "TriangleTypes.h"
#include "DynamicMesh/DynamicMesh3.h"
#include "DynamicMesh/DynamicMeshAttributeSet.h"
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
#if WITH_EDITOR
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "DeviceProfiles/DeviceProfile.h"
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
#include "Tests/AutomationEditorCommon.h"
#endif // WITH_EDITOR
IMPLEMENT_MODULE(FMaterialUtilities, MaterialUtilities);
DEFINE_LOG_CATEGORY_STATIC(LogMaterialUtilities, Log, All);
static TAutoConsoleVariable<int32> CVarMaterialUtilitiesWarmupFrames(
TEXT("MaterialUtilities.WarmupFrames"),
10,
TEXT("Number of frames to render before each capture in order to warmup various rendering systems (VT/Nanite/etc)."));
bool FMaterialUtilities::CurrentlyRendering = false;
TArray<UTextureRenderTarget2D*> FMaterialUtilities::RenderTargetPool;
void FMaterialUtilities::StartupModule()
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCoreUObjectDelegates::GetPreGarbageCollectDelegate().AddRaw(this, &FMaterialUtilities::OnPreGarbageCollect);
}
void FMaterialUtilities::ShutdownModule()
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCoreUObjectDelegates::GetPreGarbageCollectDelegate().RemoveAll(this);
ClearRenderTargetPool();
}
void FMaterialUtilities::OnPreGarbageCollect()
{
ClearRenderTargetPool();
}
UMaterialInterface* FMaterialUtilities::CreateProxyMaterialAndTextures(UPackage* OuterPackage, const FString& AssetName, const FBakeOutput& BakeOutput, const FMeshData& MeshData, const FMaterialData& MaterialData, UMaterialOptions* Options)
{
check(MaterialData.Material);
TArray<EMaterialProperty> SRGBEnabledProperties{ MP_BaseColor, MP_EmissiveColor, MP_SubsurfaceColor };
// Certain material properties use differen compression settings
TMap<EMaterialProperty, TextureCompressionSettings> SpecialCompressionSettingProperties;
SpecialCompressionSettingProperties.Add(MP_Normal, TC_Normalmap);
SpecialCompressionSettingProperties.Add(MP_Opacity, TC_Grayscale);
SpecialCompressionSettingProperties.Add(MP_OpacityMask, TC_Grayscale);
SpecialCompressionSettingProperties.Add(MP_AmbientOcclusion, TC_Grayscale);
UMaterial* BaseMaterial = GEngine->DefaultFlattenMaterial;
check(BaseMaterial);
/** Create Proxy material and populate flags */
UMaterialInstanceConstant* Material = FMaterialUtilities::CreateInstancedMaterial(BaseMaterial, OuterPackage, AssetName, RF_Public | RF_Standalone);
check(Material);
Material->BasePropertyOverrides.TwoSided = MaterialData.Material->IsTwoSided();
Material->BasePropertyOverrides.bOverride_TwoSided = MaterialData.Material->IsTwoSided();
Material->BasePropertyOverrides.bOverride_bIsThinSurface = MaterialData.Material->IsThinSurface();
Material->BasePropertyOverrides.DitheredLODTransition = MaterialData.Material->IsDitheredLODTransition();
Material->BasePropertyOverrides.bOverride_DitheredLODTransition = MaterialData.Material->IsDitheredLODTransition();
if (!IsOpaqueBlendMode(*MaterialData.Material))
{
Material->BasePropertyOverrides.bOverride_BlendMode = true;
Material->BasePropertyOverrides.BlendMode = MaterialData.Material->GetBlendMode();
}
FStaticParameterSet NewStaticParameterSet;
// iterate over each property and its size
for (auto Iterator : BakeOutput.PropertySizes)
{
EMaterialProperty Property = Iterator.Key;
FIntPoint DataSize = Iterator.Value;
// Retrieve pixel data for the current property
const TArray<FColor>& ColorData = BakeOutput.PropertyData.FindChecked(Property);
// Look up the property name string
const UEnum* PropertyEnum = StaticEnum<EMaterialProperty>();
FName PropertyName = PropertyEnum->GetNameByValue(Property);
FString TrimmedPropertyName = PropertyName.ToString();
TrimmedPropertyName.RemoveFromStart(TEXT("MP_"));
// If the pixel data isn't constant create a texture for it
if (ColorData.Num() > 1)
{
FMaterialParameterInfo ParameterInfo(*(TrimmedPropertyName + TEXT("Texture")));
FCreateTexture2DParameters CreateParams;
CreateParams.TextureGroup = TEXTUREGROUP_HierarchicalLOD;
CreateParams.CompressionSettings = SpecialCompressionSettingProperties.Contains(Property) ? SpecialCompressionSettingProperties.FindChecked(Property) : TC_Default;
CreateParams.bSRGB = SRGBEnabledProperties.Contains(Property);
// Make sure the texture is a VT if required by the material sampler
UTexture* DefaultTexture = nullptr;
Material->GetTextureParameterValue(ParameterInfo, DefaultTexture);
if (DefaultTexture)
{
CreateParams.bVirtualTexture = DefaultTexture->VirtualTextureStreaming;
}
UTexture* Texture = FMaterialUtilities::CreateTexture(OuterPackage, TEXT("T_") + AssetName + TEXT("_") + TrimmedPropertyName, DataSize, ColorData, CreateParams, RF_Public | RF_Standalone);
// Set texture parameter value on instance material
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
Material->SetTextureParameterValueEditorOnly(ParameterInfo, Texture);
FStaticSwitchParameter SwitchParameter;
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
SwitchParameter.ParameterInfo.Name = *(TEXT("Use") + TrimmedPropertyName);
SwitchParameter.Value = true;
SwitchParameter.bOverride = true;
NewStaticParameterSet.StaticSwitchParameters.Add(SwitchParameter);
}
else
{
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
// Otherwise set either float4 or float constant values on instance material
FMaterialParameterInfo ParameterInfo(*(TrimmedPropertyName + TEXT("Const")));
if (Property == MP_BaseColor || Property == MP_EmissiveColor)
{
Material->SetVectorParameterValueEditorOnly(ParameterInfo, FLinearColor::FromSRGBColor(ColorData[0]));
}
else
{
Material->SetScalarParameterValueEditorOnly(ParameterInfo, FLinearColor::FromSRGBColor(ColorData[0]).R);
}
}
}
// Apply emissive scaling
if (BakeOutput.PropertyData.Contains(MP_EmissiveColor))
{
if (BakeOutput.EmissiveScale != 1.0f)
{
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
FMaterialParameterInfo ParameterInfo(TEXT("EmissiveScale"));
Material->SetScalarParameterValueEditorOnly(ParameterInfo, BakeOutput.EmissiveScale);
}
}
// If the used texture coordinate was not the default UV0 set the appropriate one on the instance material
if (MeshData.TextureCoordinateIndex != 0)
{
FStaticSwitchParameter SwitchParameter;
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
SwitchParameter.ParameterInfo.Name = TEXT("UseCustomUV");
SwitchParameter.Value = true;
SwitchParameter.bOverride = true;
NewStaticParameterSet.StaticSwitchParameters.Add(SwitchParameter);
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
SwitchParameter.ParameterInfo.Name = *(TEXT("UseUV") + FString::FromInt(MeshData.TextureCoordinateIndex));
NewStaticParameterSet.StaticSwitchParameters.Add(SwitchParameter);
}
Material->UpdateStaticPermutation(NewStaticParameterSet);
Material->InitStaticPermutation();
Material->PostEditChange();
return Material;
}
UMaterialInterface* FMaterialUtilities::CreateProxyMaterialAndTextures(const FString& PackageName, const FString& AssetName, const FBakeOutput& BakeOutput, const FMeshData& MeshData, const FMaterialData& MaterialData, UMaterialOptions* Options)
{
UPackage* MaterialPackage = CreatePackage( *PackageName);
check(MaterialPackage);
MaterialPackage->FullyLoad();
MaterialPackage->Modify();
return CreateProxyMaterialAndTextures(MaterialPackage, AssetName, BakeOutput, MeshData, MaterialData, Options);
}
/*------------------------------------------------------------------------------
Helper classes for render material to texture
------------------------------------------------------------------------------*/
struct FExportMaterialCompiler : public FProxyMaterialCompiler
{
FExportMaterialCompiler(FMaterialCompiler* InCompiler) :
FProxyMaterialCompiler(InCompiler)
{}
// gets value stored by SetMaterialProperty()
virtual EShaderFrequency GetCurrentShaderFrequency() const override
{
// not used by Lightmass
return SF_Pixel;
}
virtual FMaterialShadingModelField GetMaterialShadingModels() const override
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3088355 on 2016/08/13 by Max.Preussner Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643) #jira UE-34643 Change 3088331 on 2016/08/13 by Max.Preussner Media: Fixed Failing to load Precached Media Source (UE-34285) #jira UE-34285 Change 3088202 on 2016/08/12 by Zabir.Hoque Porting DX12 Fix from MS: Update D3D12 RHI for 4.13 - Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables. #jira UE-0 Change 3088149 on 2016/08/12 by Mark.Satterthwaite Duplicate CL #3087991: Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS. - Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms. - Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial. - Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there. - OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time. - Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output. - On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching. - On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code. - AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format. - Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled. #jira UE-34315 Change 3088131 on 2016/08/12 by Chris.Babcock Fix iterative deploy for new ADB #jira UE-34638 #ue4 #android Change 3088106 on 2016/08/12 by Dan.Oconnor Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references #jira UE-34564 Change 3088099 on 2016/08/12 by Zabir.Hoque Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done. #Jira UE-27026 Change 3088072 on 2016/08/12 by Max.Chen Sequencer: Level editor camera cut flag is now a one way gate This resolves issues to do with the flag being erroneously reset by external forces. #jira UE-33875 Change 3088031 on 2016/08/12 by Jeff.Campeau Fix WinXP build issues in WmfMedia and SteamVR plugins. #jira UE-32421 Change 3088025 on 2016/08/12 by Tom.Looman Updated VR Template with new VR device ID blueprint node. #jira ue-34592 Change 3088023 on 2016/08/12 by Tom.Looman Added PS Move input handling support to VR Template. #jira UE-34188 Change 3087989 on 2016/08/12 by Michael.Trepka Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts. #jira UE-34581 Change 3087907 on 2016/08/12 by mason.seay New test assets for sub instance testing #jira UE-29618 Change 3087812 on 2016/08/12 by Maciej.Mroz #jira UE-34247 Nativized UMG assets not visible Redone cl#3087726 from Dev-Blueprints Change 3087810 on 2016/08/12 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library. Allows one to set the minimum output color from reprojection processing. Can be used to mitigate certain artifacts (dark smearing, reprojection edges). See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes. #review-3087760 @nick.whiting #jira UEVR-13 Change 3087795 on 2016/08/12 by Mitchell.Wilson Added project thumbnail to subway sequencer. Added thumbnails to subway sequencer levels. Re-saved multiple files to resolve empty engine version and nodeguid warnings. #jira UE-34521 UE-34519 Change 3087730 on 2016/08/12 by Michael.Trepka Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml #jira UE-34548 Change 3087699 on 2016/08/12 by Jeff.Campeau Make resource generation fault tolerant of unset config values. #jira UE-34614 Change 3087690 on 2016/08/12 by Mitchell.Wilson Added a thumbnail for the BlueprintRenderToTarget level. #jira UE-34544 Change 3087688 on 2016/08/12 by Marc.Audy Fix headshot crash when tearing down physics when not registered #jira UE-32935 Change 3087615 on 2016/08/12 by Ben.Woodhouse Fix for crash in shadowsetup when frustum is invalid #jira UE-33014 Change 3087607 on 2016/08/12 by Max.Chen Sequencer: Fix Import/Export FBX - Import FBX now maps arbitrary float properties as well as the transform - Import/Export FBX now consistently operates on selected nodes or all nodes - Fixed exported node names so that they're consistent with Sequencer node names #jira UETOOL-534 Change 3087586 on 2016/08/12 by Chris.Babcock Add HUAWEI_Mali device model recognition for Vulkan #jira UE-34610 #ue4 #android Change 3087529 on 2016/08/12 by Jurre.deBaare Fix for crash when start index != 0 and sampling at a different rate #jira UE-34637 Change 3087519 on 2016/08/12 by Ben.Marsh Pass the -ignorejunk flag on to child UBT instance when running a clean. Change 3087455 on 2016/08/12 by Jurre.deBaare Alembic importer plugin needs proper logo #fix Replaced icon with inverted official Alembic logo #jira UE-34474 Change 3087360 on 2016/08/12 by Ben.Marsh Print out the UBT command line before running it, to help diagnose -ignorejunk problem. Change 3087285 on 2016/08/12 by Lina.Halper - Add which animation it fails to compress - Make sure it doesn't go in there unless you have skeleton #jira: UE-34490 Change 3087237 on 2016/08/12 by Alex.Delesky #jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene. Change 3087215 on 2016/08/12 by danny.bouimad #jira UE-29618 updated QA-AnimProfiles again... Change 3087212 on 2016/08/12 by Danny.Bouimad #jira UE-29618 updated TM-PhysicalAnimProfiles again Change 3087200 on 2016/08/12 by Robert.Manuszewski Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway. #jira UE-34373 Change 3087188 on 2016/08/12 by Matthew.Griffin Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually Change 3087160 on 2016/08/12 by Ben.Marsh Propagate the -ignorejunk option when we're building UHT as a child process in UBT. Change 3087148 on 2016/08/12 by Ben.Marsh Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change. Change 3087143 on 2016/08/12 by Danny.Bouimad #jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder. Change 3087140 on 2016/08/12 by Steve.Robb GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs I have no evidence that this actually fixes anything, but it doesn't harm anything to add it... #jira UE-29286 Change 3087139 on 2016/08/12 by Steve.Robb Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed. This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module. #jira UE-31575 Change 3087107 on 2016/08/12 by Jurre.deBaare Alembic Import with empty first frame will cause the editor to crash #jira UE-34515 #fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects #misc added a static const value indicating the first frame instead of hardcoded 0 array accesors #misc check condition fix in Runnable #misc log now adds new page named after the imported Alembic file Change 3087079 on 2016/08/12 by Dmitriy.Dyomin Fixed: Corrupted level package on loading cooked content #jira UE-34591 Change 3087063 on 2016/08/12 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3087048 on 2016/08/12 by Matthew.Griffin Changed Launcher Samples to create aggregate from property to avoid error in preflights Only notify about Launcher Samples trigger in non-preflight builds Change 3086985 on 2016/08/12 by Maciej.Mroz #jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102] Redone cl#3083825 from Dev-Blueprints Change 3086960 on 2016/08/12 by Matthew.Griffin Prevent Build DDC command from making DDC for platforms that aren't supported by project #jira UEB-698 Change 3086945 on 2016/08/12 by Dmitriy.Dyomin Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition #jira UE-18291 Change 3086904 on 2016/08/11 by Lina.Halper Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f #jira: UE-34570 Change 3086891 on 2016/08/11 by Lina.Halper DUPEFIX: CL 3086544 from Michael Noland Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well #jira UE-34223 #tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc... #tests (from Lina H) started the test project from JIRA and PIE, and no crash. Change 3086837 on 2016/08/11 by Nick.Whiting Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread(). This allows skel controls to use orientation and position with parallel animation #jira UE-32564 Change 3086797 on 2016/08/11 by Dmitry.Rekman Linux: fix crash on editor exit (UE-30795, UE-7519). - FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that. #jira UE-30795 Change 3086735 on 2016/08/11 by Richard.TalbotWatkin Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now. #jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash Change 3086726 on 2016/08/11 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements : 2DVR 2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen. -Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary. #jira UEVR-13 #review-3086004 @chad.taylor @nick.whiting Change 3086652 on 2016/08/11 by Dmitry.Rekman Linux: re-enable ICU (UE-34012). - Built static libs against libc++; disabled using dynamic ones. - Fixes lack of rich text formatting. #jira UE-34012 Change 3086648 on 2016/08/11 by Nick.Whiting Adding support for getting the HMD Device name from code / blueprints #jira UE-31785 Change 3086589 on 2016/08/11 by Chad.Taylor Fixing Vive resolution on packaged builds #jira UE-34535 Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt Fix skeletal mesh LODs not being imported correctly. All meshes were imported to the base LOD instead. #jira UE-34397 Change 3086529 on 2016/08/11 by Marc.Audy Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default) #jira UE-34287 Change 3086376 on 2016/08/11 by Peter.Sauerbrei remove cached file handle from iOS and Android to save memory during loads #jira UE-31720 Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt Guard against crash with corrupted editor layouts #jira UE-34364 Change 3086345 on 2016/08/11 by Dan.Oconnor ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time) #jira UE-34380 Change 3086272 on 2016/08/11 by Cody.Albert Updating First Person templates to fix cook errors #jira UE-22726 Change 3086259 on 2016/08/11 by Nick.Whiting Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used #jira UE-31617 Change 3086202 on 2016/08/11 by Marcus.Wassmer Duplicate 3086176 to fix broken shaderpipelines on PS4 #jira UE-34540 Change 3086080 on 2016/08/11 by mason.seay Test animbp for sub anim instances #jira UE-29618 Change 3086062 on 2016/08/11 by Tom.Looman Migrate from //depot/usr/ into Release-4.13 for VR Template. #jira ue-34533 Change 3086032 on 2016/08/11 by Mike.Beach Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it). #jira UE-34350 Change 3086025 on 2016/08/11 by Olaf.Piesche #jira UE-32058 Replicating fix from 3050352 Change 3085969 on 2016/08/11 by John.Pollard CIS fix #jira UE-30516 Change 3085819 on 2016/08/11 by Jurre.deBaare bForceOneSmoothingGroup not working for skeletal meshes #fix Added check for forced smoothing group and calculate normals accordingly #misc Spotted some non-referenced const TArrays being passed to CalculateTangents #jira UE-34555 Change 3085799 on 2016/08/11 by Ben.Marsh Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing. Change 3085763 on 2016/08/11 by Daniel.Lamb Fix for circular initialization of a singleton on android causing hang when using cook on the fly. #jira UE-34442 Change 3085717 on 2016/08/11 by Dmitry.Rekman Linux: better messaging around Steam initialization (UE-32052). - Also added a standalone test. #jira UE-32052 Change 3085715 on 2016/08/11 by Chris.Bunner Dropped check to an ensure as there's existing handling for invalid assets in that case. #jira UE-23902 Change 3085714 on 2016/08/11 by Olaf.Piesche #jira UE-30398 Fix offset added to particle collision locations. Replicated from 3084645 in Dev-Rendering Change 3085713 on 2016/08/11 by Chris.Babcock Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now) #jira UE-33840 #ue4 #android #ios #opengl Change 3085711 on 2016/08/11 by Olaf.Piesche #jira UE-34106 #jira UE-32784 #jira UE-31198 Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty) Replicated from 3083909 in Dev-Rendering Change 3085707 on 2016/08/11 by Matthew.Griffin Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue Change 3085656 on 2016/08/11 by Marc.Audy PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker) #jira UE-32418 #jira UE-33617 Change 3085641 on 2016/08/11 by Lina.Halper Fixed invalid compressed track data - need a better solution and added ticket for 4.14 - UE-34547 #jira: UE-34077 Change 3085606 on 2016/08/11 by Max.Preussner Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381) #jira UE-34381 Change 3085568 on 2016/08/11 by Maciej.Mroz #jira UE-34436 Ensures when copy/pasting linked anim bp nodes FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet). Change 3085532 on 2016/08/11 by Peter.Sauerbrei fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC #jira UE-30335 Change 3085528 on 2016/08/11 by Max.Chen Sequence Recorder: Fix crash when actor class to record is null. #jira UE-34543 Change 3085418 on 2016/08/11 by Maciej.Mroz #jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults Redone cl#3084313 from Dev-Blueprints Change 3085395 on 2016/08/11 by John.Pollard Don't allow hot-reloading if we're running PIE instances #jira UE-30516 Change 3085377 on 2016/08/11 by Tom.Looman Added StarterMap (WIP) to resolve JIRA. #jira ue-34311 Change 3085364 on 2016/08/11 by Ben.Woodhouse Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur. #jira UE-28561 Change 3085341 on 2016/08/11 by Dmitriy.Dyomin Fixed: Creating Launcher Profile does not always shows all project available maps #jira UE-33765 Change 3085336 on 2016/08/11 by Andrew.Rodham Sequencer: Runtime instances are no longer updated when bluprints are recompiled This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register #jira UE-34499 Change 3085332 on 2016/08/11 by Dmitriy.Dyomin Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication #jira UE-26868 Change 3085331 on 2016/08/11 by Ben.Woodhouse Fix for threading related crash with precomputed lighting volumes #jira UE-34531 Change 3085323 on 2016/08/11 by Allan.Bentham Remove android specific vulkan hack to recreate depth buffer's imageview. #jira UE-33593 #jira UE-33336 Change 3085313 on 2016/08/11 by Thomas.Sarkanen StopRecordingAnimation now uses the same maing logic as RecordAnimation This prevents inconsisten behaviour between record and stop record commands #jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor Change 3085301 on 2016/08/11 by Allan.Bentham Only allow gaussian DoF on mobile. Disable DoF for all other types. #jira UE-34217 Change 3085292 on 2016/08/11 by Thomas.Sarkanen Revert change to force shipping dlls in shipping builds #jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration Change 3085291 on 2016/08/11 by Matthew.Griffin Added nodes for Linux Editor, DDC and installed build Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products Change 3084973 on 2016/08/10 by Jeff.Campeau Use relative settings for ShooterGame manifest Package creation checks Xbox One target settings in Engine instead of Game config #jira UE-33808 Change 3084932 on 2016/08/10 by patrickr.donovan #jira UE-29618 SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing. Change 3084886 on 2016/08/10 by Daniel.Wright Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards #jira UE-33238 Change 3084878 on 2016/08/10 by Jeff.Campeau UFE launch command is generated with all devices requested instead of just the first. #jira UE-34302 Change 3084860 on 2016/08/10 by Dmitry.Rekman Fix CrashReportClient crashing on start (UE-32976, UE-34451). - Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes. #jira UE-32976 Change 3084756 on 2016/08/10 by Dmitry.Rekman Linux: clean-up compiler settings logic (UE-22715). - Includes parts of pull request #1704 by zaps166. - Disables exceptions in most builds. #jira UE-22715 Change 3084679 on 2016/08/10 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3084475 Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds. #jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server Change 3084614 on 2016/08/10 by Daniel.Wright Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene() #jira UE-34321 Change 3084607 on 2016/08/10 by Jeremiah.Waldron Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur Relates to: #jira UE-34283 Change 3084586 on 2016/08/10 by Jeff.Campeau Chunks don't assume they're done downloading at 100%. #jira UE-34386 Change 3084552 on 2016/08/10 by Lina.Halper Fix GetWorldFromContextObject to be used for another thread safer : Guard to modify static variabls by another thread #jira: UE-34416 Change 3084551 on 2016/08/10 by Mitchell.Wilson Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level. #jira UE-32855 Change 3084535 on 2016/08/10 by Mike.Beach Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names. #jira UE-34378 Change 3084526 on 2016/08/10 by Jeff.Campeau Update XDK to August 2016 #jira UEPLAT-1374 Change 3084471 on 2016/08/10 by John.Pollard Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown> #jira UE-34295 Change 3084363 on 2016/08/10 by Marc.Audy Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport #jira UE-34101 Change 3084231 on 2016/08/10 by Michael.Trepka Fixed a problem with the search box in blueprint context menu not getting focus on Mac #jira UE-20884 Change 3084229 on 2016/08/10 by Dmitry.Rekman Linux: remove hardcoded staged files (UE-24594). #jira UE-24594 Change 3084215 on 2016/08/10 by Chris.Bunner Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view. #jira UE-31936 Change 3084052 on 2016/08/10 by Jurre.deBaare Alembic skeletal mesh importer does not calculate correct smoothing groups #fix follow same routine as regular smoothing group/normal calculation #jira UE-34493 Change 3084029 on 2016/08/10 by Phillip.Kavan [UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object. Mirrored from //UE4/Dev-Blueprints (CL# 3082839). #jira UE-34458 Change 3084027 on 2016/08/10 by Ben.Woodhouse Fix for crash when applying BSP materials This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread. The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh. #jira UE-31460 Change 3083981 on 2016/08/10 by Matthew.Griffin Set Localization branch for Localise command to release version when running in the Release Branch #jira UE-34471 Change 3083970 on 2016/08/10 by Max.Preussner PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481) #jira UE-33481 Change 3083918 on 2016/08/10 by Matthew.Griffin Exclude UBT generated files from the installed build Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material #jira UE-34360 Change 3083890 on 2016/08/10 by Matthew.Griffin Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage. Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project. #jira UE-34401 Change 3083873 on 2016/08/10 by Dmitry.Rekman CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478). #jira UE-34478 Change 3083862 on 2016/08/10 by Mitchell.Wilson Rebuilt lighting on Advanced_Lighting level in Samples Content #jira UE-34383 Change 3083792 on 2016/08/10 by Benn.Gallagher PR #2671: Fix sub instance curve values. (Contributed by tmiv) PR #2668: Sub inst post anim fix (Contributed by tmiv) #jira UE-34162 #jira UE-34121 Change 3083775 on 2016/08/10 by Kevin.Rushin QAGame - Updating VRLatency Testmap, Can freelook #jira UE-29618 Change 3083771 on 2016/08/10 by Robert.Manuszewski Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit. #jira UE-34371 Change 3083742 on 2016/08/10 by Lee.Clark 4.13 - PS4 - Fix memory allocation sizes #jira UE-33270 Change 3083732 on 2016/08/10 by Ben.Marsh Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger. Change 3083690 on 2016/08/10 by Dmitriy.Dyomin Fixed: Foliage instances are not included when exporting a scene to FBX #jira UE-34214 Change 3083654 on 2016/08/10 by Keith.Judge Fix analysis warnings. Simple change from Release() to SAFE_RELEASE(). #jira UE-23059 Change 3083646 on 2016/08/10 by Thomas.Sarkanen Use shipping PhysX libs for installed builds Copy fix from UE4Game.Target.cs to apply to all packaged games #jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration Change 3083527 on 2016/08/10 by Dmitriy.Dyomin Fixed: Warning upon Undo/redo-ing of sculpting the landscape #jira UE-34443 Change 3083502 on 2016/08/10 by Dmitriy.Dyomin Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting #jira UE-34417 Change 3083349 on 2016/08/09 by Daniel.Wright Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0 #jira UE-31181 Change 3083167 on 2016/08/09 by Chad.Taylor Null deref crash fix #jira UE-33830 Change 3083144 on 2016/08/09 by Zabir.Hoque Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite. #jira UE-32980 Change 3083136 on 2016/08/09 by Chad.Taylor Stripping out egregious log spam #jira UE-34181 Change 3083116 on 2016/08/09 by John.Billon Defaulting r.D3D.RemoveUnusedInterpolators to on. #Jira UE-34461 Change 3083114 on 2016/08/09 by John.Billon Fixing static analysis warning in NullRHI. #Jira UE-34462 Change 3083070 on 2016/08/09 by Dmitry.Rekman PR #2516: CMake improvements and fixes (UE-22233, UE-32136). - Contributed by Nihlus. - Contains PR #1668 by mgerhardy Summary of changes (from PR): - Fixed an issue where CMake build files would contain invalid targets - Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion. - Fixed an issue where invalid target platforms could fall through and cause issues with the file generation. - Improved code readability throughout the generator. Can still use some more polish. - Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects. - Improved commenting throughout the generator. As with readability, can still use some more polish. - Removed unused using statements. - Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion. - Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets. #jira UE-22233 Change 3082999 on 2016/08/09 by Jeremiah.Waldron Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases #jira UE-34457 Change 3082993 on 2016/08/09 by mason.seay Fixed level BP error and updated Reverb asset #jira UE-29618 Change 3082981 on 2016/08/09 by Peter.Sauerbrei disable roughness calculation for iOS metal #jira UE-31815 Change 3082912 on 2016/08/09 by Chris.Babcock Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now #jira UE-34432 #ue4 #android Change 3082875 on 2016/08/09 by Chris.Bunner Lowered verbosity of mesh build warning when using MikkTSpace. #jira UE-23903 Change 3082867 on 2016/08/09 by Trung.Le VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses #jira UE-34227 Change 3082818 on 2016/08/09 by Mike.Beach Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert). #jira UE-34430 Change 3082794 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082760 on 2016/08/09 by Jamie.Dale Scene viewports are now centered when re-entering windowed mode #jira UE-32842 Change 3082744 on 2016/08/09 by Mitchell.Wilson Resaving assets to resolve empty engine version warnings. #jira UE-29746 Change 3082728 on 2016/08/09 by Ben.Marsh BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger. #jira UE-34329 Change 3082686 on 2016/08/09 by Marc.Audy If the GameMode is not carried over as part of a seamless travel create it. #jira UE-25569 Change 3082663 on 2016/08/09 by John.Billon Fixed SubUVAnimation asset crash when texture source is cleared. #Jira UE-34231 Change 3082650 on 2016/08/09 by John.Billon Changed an ensure the NullRHI dealing with memory allocation to be a log message. #Jira UE-32362 Change 3082644 on 2016/08/09 by Maciej.Mroz #jira UE-34240 Match 3 nativization failure Redone cl3082121 from Dev-Blueprints Change 3082633 on 2016/08/09 by Maciej.Mroz #jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172] Redone cl3082414 from Dev-Blueprints Change 3082606 on 2016/08/09 by Michael.Trepka Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler. #jira UE-34276 Change 3082579 on 2016/08/09 by Benn.Gallagher CIS fix, missed removing a few #ifs #jira UE-29180 Change 3082525 on 2016/08/09 by Tom.Looman Removed Android from supported platforms in VR Template. #jira UE-34189 Change 3082523 on 2016/08/09 by Tom.Looman Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior) Fixed typo in level text. #JIRA UE-34422 Change 3082504 on 2016/08/09 by Jurre.deBaare Crash importing alembic asset over itself after saving it in Content Browser #fix Trivial nullptr + isValid fix #jira UE-34418 Change 3082433 on 2016/08/09 by Tom.Looman Updated list of supported platforms. #jira UE-34189 Change 3082423 on 2016/08/09 by Mitchell.Wilson Resaving levels to resolve MikkTSpace warnings Updating collision on SM_Floor_Round #jira UE-30786 Change 3082361 on 2016/08/09 by Keith.Judge Xbox One - Fix a controller disconnection crash. - This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early. - Changed it to copy each connected pad object one at a time, which maintains the correct refcount. - Possibly a VS2015 Update 3 bug. #jira UE-33955 Change 3082341 on 2016/08/09 by Mitchell.Wilson Reimporting SM_GodRay_Plane Resaving levels to resolve MikkTSpace warnings Resaving multiple materials to resolve warnings #jira UE-34212 Change 3082313 on 2016/08/09 by Matthew.Griffin Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build) Change 3082294 on 2016/08/09 by Jurre.deBaare Crash when importing an Alembic file with Materials as a different asset type than one that already exists #fix Ensure that we have a valid material to assign to the assets #jira UE-34377 Change 3082291 on 2016/08/09 by Jurre.deBaare Unable to save Alembic asset with materials after importing more than once #fix Make sure we delete referenced transient materials if they are not used #jira UE-34400 Change 3082290 on 2016/08/09 by Jurre.deBaare Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on #fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14 #jira UE-34392 Change 3082274 on 2016/08/09 by Benn.Gallagher Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms. #jira UE-29780 Change 3082273 on 2016/08/09 by Benn.Gallagher Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain #jira UE-30827 Change 3082270 on 2016/08/09 by Benn.Gallagher Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted. #jira UE-29180 Change 3082257 on 2016/08/09 by Jurre.deBaare Auto align floor mesh does not work in Persona #fix Readded functionality for the auto alignment :) #jira UE-34404 Change 3082239 on 2016/08/09 by Peter.Sauerbrei make sure IPP and supporting dlls are all 64-bit #jira UE-34408 Change 3082225 on 2016/08/09 by Mitchell.Wilson Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize Reimporting SM_GodRay_Plane Saving all levels to resolve MikkTSpace warnings. #jira UE-30787 Change 3082222 on 2016/08/09 by Rolando.Caloca UE4.13 - Fix crash on opengl3 - Load proper shader map depending on feature level - int interpolators require nointerpolation modifier #jira UE-33879 Change 3082221 on 2016/08/09 by Benn.Gallagher Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop #jira UE-34384 Change 3082179 on 2016/08/09 by Ben.Woodhouse Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders. #jira UE-31461 Change 3082170 on 2016/08/09 by Graeme.Thornton Manual copy of CL 3078836 from Dev-Core to Release-4.13 Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading #jira UE-33909 Change 3082169 on 2016/08/09 by Graeme.Thornton Make FLauncherTasks have unique names so we don't end up with stat name collisions #jira UE-33849 Change 3082163 on 2016/08/09 by Matthew.Griffin Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts Added Checks for files that might not exist when creating Installed Build from Github etc. Tag the published installed build zips #jira UE-34249 Change 3082139 on 2016/08/09 by Ben.Marsh BuildGraph: Allow writing a schema without passing a script in. Change 3082109 on 2016/08/09 by Thomas.Sarkanen Fixed blendspaces producing bad data when degenerate spaces are present Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications. #jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph Change 3082080 on 2016/08/09 by Matthew.Griffin Added notifications for available triggers Change 3082054 on 2016/08/09 by Allan.Bentham Quality level override changes to high QL are now correctly picked up. #jira UE-22812 Change 3082049 on 2016/08/09 by Allan.Bentham Update shaders when mobile preview device is changed. #jira UE-22810 Change 3081866 on 2016/08/09 by Max.Chen Fbx Export: Fix build. #jira UETOOL-750 Change 3081863 on 2016/08/09 by Max.Chen Fbx Export: Fix level sequence fbx export. - Fix 3d transform track export so that it does the correct flipping for translation and rotation curves. - Fix setting rich curve tangents and interpolation modes. - Fix camera focal length export. #jira UETOOL-750 Change 3081823 on 2016/08/08 by Dmitriy.Dyomin Fixed: Crash when simulating in editor with a landscape actor selected #jira UE-34367 #coderview Gareth.Martin Change 3081647 on 2016/08/08 by Chad.Taylor OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport #jira UE-34352 Change 3081645 on 2016/08/08 by Zak.Middleton #ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback. #jira UE-30178 Change 3081639 on 2016/08/08 by Tyler.Cole Update build scripts for WEX MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3081616 on 2016/08/08 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements -2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode. -A new ini setting for morpheus bStartInVR has been added, it defaults to true. #jira UEVR-13 #review-3081284 @chad.taylor @nick.whiting Change 3081597 on 2016/08/08 by Tyler.Cole Update build scripts for Ocean MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3081476 on 2016/08/08 by Tyler.Cole Update build script for UE4 Release-4.13 stream Fortnite MCP. #jira NONE-0 Change 3081397 on 2016/08/08 by Josh.Adams - Fixing more linux case issues in UT #jira ue-33478 Change 3081391 on 2016/08/08 by Mitchell.Wilson Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap #jira UE-33843 Change 3081383 on 2016/08/08 by Aaron.McLeran #jira UE-34081 Implementing CL 3076637 into 4.13 #tests run a procedural sound wave object test Change 3081337 on 2016/08/08 by Aaron.McLeran #jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay - OR-26580 - Implementing CL 3071258 to 3.13 #tests ran paragon with change, no crashes Change 3081335 on 2016/08/08 by Max.Preussner WmfMedia: Fixed memory leak in source resolver (UE-34385) #jira UE-34385 Change 3081320 on 2016/08/08 by Max.Preussner WmfMedia: Fixed typo (UE-32421) #jira UE-32421 Change 3081276 on 2016/08/08 by Mitchell.Wilson Resaving asset to resolve MikkTSpace warning. #jira UE-31116 Change 3081269 on 2016/08/08 by Dan.Oconnor Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint #jira UE-34324 Change 3081052 on 2016/08/08 by Dan.Oconnor Making a change to test UE-34324 #jira UE-34324 Change 3081026 on 2016/08/08 by Daniel.Wright Added a heightfield painting example to BlueprintRenderToTarget content example #jira UE-34323 Change 3081025 on 2016/08/08 by Daniel.Wright CreateRenderTarget2D uses a world context object as owner, allows use in a construction script #jira UE-34321 Change 3081023 on 2016/08/08 by Aaron.McLeran #jira UE-34325 Implementing 3080958 in 4.13 - When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash - Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds. #tests ran repro case described in bug several times without crashing (was 100% repro) Change 3081020 on 2016/08/08 by Dan.Oconnor Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties #jira UE-26310 Change 3081010 on 2016/08/08 by Dan.Oconnor Fix for losing root transform when recycling objects #jira UE-28398 Change 3080972 on 2016/08/08 by Mark.Satterthwaite Duplicate CL #3080684: Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination. #jira UE-21857 Change 3080971 on 2016/08/08 by Mark.Satterthwaite Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared. #jira UE-34355 Change 3080923 on 2016/08/08 by Michael.Trepka When archiving on for Mac delete the dest icon if it exists before trying to call File.Move #jira UE-33304 Change 3080919 on 2016/08/08 by samuel.proctor Revised assets for Blueprint Debugging tests #jira UE-29618 Change 3080878 on 2016/08/08 by Ben.Marsh Fix sample build timeouts due to generating DDC using installed engine builds taking too long. * New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead. * Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead. Change 3080849 on 2016/08/08 by Marc.Audy Always stop matinee sounds when jumping around, not just if the sound changed. #jira UE-31447 Change 3080843 on 2016/08/08 by Ben.Marsh BuildGraph: Fix compile error due to duplicated variable name. Change 3080840 on 2016/08/08 by Max.Chen Fbx: Fix rich curve export being exported at the incorrect times when baked. #jira UETOOL-750 Change 3080824 on 2016/08/08 by Max.Chen Sequencer: Revert fix root component structure for level sequence actor. #jira UE-34354 Change 3080819 on 2016/08/08 by Chad.Taylor Merging Move and Vive haptic implementation from Dev-VR to Release-4.13 #jira UE-27886 Change 3080818 on 2016/08/08 by Jurre.deBaare Crash when importing the same Alembic file but as a different Asset Type #fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed) #misc Typo #jira UE-34293 Change 3080817 on 2016/08/08 by Jurre.deBaare Crash when importing an Alembic file with Materials if it already exists #fix Only create materials if they don't already exist #jira UE-34300 Change 3080814 on 2016/08/08 by Jurre.deBaare Crash when importing Alembic files as Skeletal Mesh #fix Set the NumVertices variable that was re-added :) #misc removed dead code #jira UE-34288 Change 3080813 on 2016/08/08 by Jurre.deBaare [CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices() #fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs) #jira UE-34294 Change 3080797 on 2016/08/08 by Dmitriy.Dyomin Fix: Crash opening levels with landscape in them via the command console in standalone game #jira UE-34348 Change 3080784 on 2016/08/08 by Jamie.Dale We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering) #jira UE-34298 Change 3080734 on 2016/08/08 by Matthew.Griffin Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent Change 3080685 on 2016/08/08 by Peter.Sauerbrei fix for crash on tvOS and iOS when launching a project #jira UE-34005 Change 3080683 on 2016/08/08 by Matthew.Griffin Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built Change 3080681 on 2016/08/08 by Matthew.Griffin Corrected path separators for Mac DDC location, which was preventing it from being included in installed build Change 3080675 on 2016/08/08 by Robert.Manuszewski Fixing CIS on Clang platforms #jira UE-34025 Change 3080674 on 2016/08/08 by Ben.Woodhouse Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507 #jira UE-32651 Change 3080594 on 2016/08/08 by Keith.Judge Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed. #jira UE-31607 Change 3080573 on 2016/08/08 by Martin.Wilson Fix Root Motion from Everything blending incorrectly when using layered blend per bone #Jira UE-17815 Change 3080517 on 2016/08/08 by James.Golding PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran) #jira UE-34299, UE-34279 Change 3080512 on 2016/08/08 by Benn.Gallagher Fix for dangling sub-instance pointers when reinstancing on AnimBP compile #jira UE-34137 Change 3080510 on 2016/08/08 by Max.Preussner WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421) #jira UE-32421 Change 3080509 on 2016/08/08 by Robert.Manuszewski Added more detailed message when TArray's BulkSerialize fails. #jira UE-34025 Change 3080506 on 2016/08/08 by Allan.Bentham Do not set render target if there are no modulated shadows. #jira UE-33252 Change 3080498 on 2016/08/08 by Keith.Judge Fix D3D12.x link error. #jira UE-34322 Change 3080493 on 2016/08/08 by Matthew.Griffin Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run. #jira UE-34073 Change 3080490 on 2016/08/08 by Maciej.Mroz #jira UE-28625 Direction of GetOverlapInfos parameter doesn't match Redone cl# 3080484 Change 3080462 on 2016/08/08 by Allan.Bentham Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required. Fix initialisation errors introduced in CL 3070035. #jira UE-34099 Change 3080242 on 2016/08/07 by Max.Chen Sequencer: Fix to allow deleting spawnables from the viewport #jira UE-28523 Change 3080241 on 2016/08/07 by Dmitriy.Dyomin Fixed: StartCameraFade not fading camera when MobileHDR is off #jira UE-34143 Change 3079990 on 2016/08/06 by andrew.porter Changing defaults on some settings on M_Details for test case. #jira UE-29618 Change 3079989 on 2016/08/06 by andrew.porter Setting two sided off on M_Details material #jira UE-29618 Change 3079986 on 2016/08/06 by phillip.patterson Updated QA-Foliage for test case #jira UE-29618 Change 3079984 on 2016/08/06 by andrew.porter Adding test content for using sprites in UMG #jira UE-29618 Change 3079879 on 2016/08/05 by Dmitry.Rekman Remove HITCHHUNTER logspam from release UE (UE-30959). #tests Compiled the UE4Editor. #jira UE-30959 Change 3079815 on 2016/08/05 by Tyler.Cole Set dependencies for Orion MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3079808 on 2016/08/05 by Daniel.Wright BlueprintRenderToTarget content example map with interactable fluid surface #jira UE-34323 Change 3079746 on 2016/08/05 by Daniel.Wright Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly New blueprint function CreateRenderTarget2D #jira UE-34321 Change 3079569 on 2016/08/05 by Mitchell.Wilson Updating template tutorials after assets were moved to new folders #jira UE-34139 Change 3079546 on 2016/08/05 by Ian.Shadden #UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6 #jira UE-34316 Change 3079542 on 2016/08/05 by Mark.Satterthwaite Duplicate CL #3079503: Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised. #jira UE-33856 Change 3079472 on 2016/08/05 by Peter.Sauerbrei fix for remote server name being empty stopping a build for a BP project in binary fix for several error messages from platform requirements not stopping a build #jira UE-34213 Change 3079453 on 2016/08/05 by Benjamin.Hyder Updating QA_Materials to include Material Details example #jira UE-29618 Change 3079389 on 2016/08/05 by Gareth.Martin Missing file from CL 3079376: Tessellate Landscape only in highest landscape LOD Fix incorrect UV coordinates when tessellation is enabled #jira UE-14253 #jira UE-20405 Change 3079384 on 2016/08/05 by Michael.Trepka PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE) #jira UE-29358 Change 3079376 on 2016/08/05 by Gareth.Martin Tessellate Landscape only in highest landscape LOD Fix incorrect UV coordinates when tessellation is enabled #jira UE-14253 #jira UE-20405 Change 3079365 on 2016/08/05 by Peter.Sauerbrei fix for executable name mismatch in plist vs actual executable when project has an underscore in the name #jira UE-34192 Change 3079361 on 2016/08/05 by Ryan.Vance #jira UE-34297 Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :) Change 3079349 on 2016/08/05 by Mason.Seay Deleting unneeded assets #jira UE-29618 Change 3079306 on 2016/08/05 by Peter.Sauerbrei IPP is now built as a 64-bit executable #jira UE-26393 Change 3079303 on 2016/08/05 by Peter.Sauerbrei PR2018 - disable user input request from ssh courtesy of Teivaz #jira UE-26393 Change 3079276 on 2016/08/05 by mason.seay Extended Line Trace For Convenient #jira UE-29618 Change 3079274 on 2016/08/05 by Alex.Delesky #jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons. Change 3079273 on 2016/08/05 by Max.Chen Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks. #jira UE-34301 Change 3079254 on 2016/08/05 by Ori.Cohen Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping. #JIRA UE-34224 Change 3079242 on 2016/08/05 by Nick.Darnell Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving. #jira UE-34304 Change 3079129 on 2016/08/05 by Jurre.deBaare #jira UE-34278 #fix Changed reimport path to be the same as geometry cache / skeletal mesh Unable to reimport Alembic static meshes #jira UE-34292 #fix Handle cancelled situation during reimport ui interaction Cancelling the reimport of an Alembic file seems to confirm the action #jira UE-34288 #fix Possible fix, flush rendering commands before importing Crash when importing Alembic files as Skeletal Mesh #jira UE-34282 #fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled "Failed to Import" message when clicking Cancel on the Alembic Import Message Change 3079127 on 2016/08/05 by Marc.Audy Properly clean up all worlds when ending PIE while a seamless transition is active #jira UE-33863 Change 3079107 on 2016/08/05 by Mike.Beach Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact). #jira UE-30548 Change 3079093 on 2016/08/05 by Jurre.deBaare Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white #fix Hide the environment and sky when showing vertex colours #jira UE-34251 Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off #fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings #jira UE-34206 Change 3079090 on 2016/08/05 by Jurre.deBaare Bad performance when changing (slider) values for the advanced preview scene #fix Could not repro but added some more check if update needed checks #jira UE-33496 Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting #fix Add the rotational delta for the sky to the directional light rotation #jira UE-34108 Change 3079088 on 2016/08/05 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work #fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing #jira UE-34127 Change 3079040 on 2016/08/05 by Max.Preussner MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290) Also made class properties blueprint read-writable #jira UE-34290 Change 3078958 on 2016/08/05 by Marc.Audy Don't ever reregister child actor components Don't destroy child actors when hiding a level #jira UE-31038 Change 3078954 on 2016/08/05 by ryan.brucks #jira ue-00001 Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL Change 3078952 on 2016/08/05 by Phillip.Kavan [UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser. change summary: - modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop. #jira UE-34085, UE-34169 Change 3078912 on 2016/08/05 by Andrew.Rodham Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified #jira UE-33875 Change 3078900 on 2016/08/05 by Lauren.Ridge Fix for small Vive HMD movements entering VR mode #jira UE-33970 Change 3078880 on 2016/08/05 by Jack.Porter Cannot set GenerateOverlapEvents flag on Landscape #jira UE-9055 Change 3078879 on 2016/08/05 by Lee.Clark PS4 - Fix corrupted debuffer decals (CMask wasn't getting decoded correctly) #jira UE-34273 Change 3078871 on 2016/08/05 by Steve.Robb Fix for changes to UObject*s in property boxes. #jira UE-29596 Change 3078857 on 2016/08/05 by Max.Chen Sequencer: Set Fixed frame interval playback to false by default. #jira UE-34272 Change 3078850 on 2016/08/05 by mason.seay Updated map to test physics mesh, added comments to level BP #jira UE-29618 Change 3078795 on 2016/08/05 by Andrew.Rodham Sequencer: Fixed spawnables not responding to blueprint reinstance events This ultimately left spawnable bindings broken, and an unreachable object in the world #jira UE-31635 Change 3078786 on 2016/08/05 by Robert.Manuszewski Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array. #jira UE-33872 Change 3078782 on 2016/08/05 by Andrew.Rodham Sequencer: Fixes to "Create Camera Here" functionality Fixed crash when undoing the "Create Camera Here" operation. Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly) Fixed issues when the cursor was outside of the play range #jira UE-33127 Change 3078737 on 2016/08/05 by Andrew.Rodham Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety #jira UE-34256 Change 3078722 on 2016/08/05 by Ben.Woodhouse Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481) #jira UE-34269 Change 3078620 on 2016/08/05 by Dmitriy.Dyomin Fixed: SunTemple geometry has rendering artifacts on low end devices [Android_Low] devices will use 'Low' material quality level #jira UE-22455 Change 3078584 on 2016/08/05 by James.Golding Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging) #jira UE-33675 Change 3078565 on 2016/08/05 by Jack.Porter Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer. #jira UE-33842 Change 3078564 on 2016/08/05 by James.Golding Fix display name for bSupportUVFromHitResults to fix missingspace #jira UE-34248 Change 3078542 on 2016/08/05 by Yannick.Lange VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked. #jira UE-32839 Change 3078541 on 2016/08/05 by Yannick.Lange VR Editor : Fix linux compile error from VREditorAvatarActor #jira UE-34215 Change 3078396 on 2016/08/04 by Max.Chen Sequencer: Invalidate playback context when map changes. #jira UE-34256 Change 3078291 on 2016/08/04 by Jeff.Campeau RHI compress/decompress return success/failure Failure falls back to software method D3D12 for Xbox One still needs implementation #jira UE-31363 Change 3078131 on 2016/08/04 by Chris.Babcock Deal with missing Android movie framerate by defaulting to 30 if not available #jira UE-34208 #ue4 #android Change 3078084 on 2016/08/04 by John.Billon Disabled AMD hacks Cvars that aren't needed anymore. #Jira UE-30772 Change 3078083 on 2016/08/04 by John.Billon Consolidated ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets. Added a couple of more ensures when allocating render targets. Added log message when changing feature levels. #Jira UE-32536 #Jira UE-32204 Change 3078039 on 2016/08/04 by Josh.Adams - Fixed a case issue with Linux #jira UE-33478 Change 3078029 on 2016/08/04 by Ryan.Vance #jira UE-30989 We need to disable the hmd mask when down sampling to ensure valid input data for blur passes. Change 3078027 on 2016/08/04 by Lina.Halper Fix sequencer morphtarget displaying issue #code review:Max.Chen #jira: UE-28459 Change 3078012 on 2016/08/04 by mason.seay map and asset updates for testing UV hit detection #jira UE-29618 Change 3078009 on 2016/08/04 by Jamie.Dale Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading This prevents it being incorrectly set by other operations, such as counting memory used by font data. #jira UE-34252 Change 3078006 on 2016/08/04 by Mark.Satterthwaite Duplicate CL #3064008 & CL #3077412: Fix "iOS Metal-based build crashes at launch with sub-levels": - Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything. - To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects. - Fix validation error of texture reallocation on loading template projects under Metal. #jira UE-30847 Change 3078002 on 2016/08/04 by John.Billon Fixed LowLightMapQuality warning triggering with wrong conditions. #Jira UE-33237 Change 3078001 on 2016/08/04 by John.Billon Fixed a crash due to particle threading issues in packaged game. #Jira UE-32147 Change 3077989 on 2016/08/04 by Rolando.Caloca UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts. #jira UE-34218 Change 3077940 on 2016/08/04 by Jeff.Campeau Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir) Include copies of the VS2015 runtime and UCRT Change -applocaldir parameter to -applocaldirectory Stage to engine and project binaries paths (for crash reporter, etc.) #jira UE-33903 Change 3077936 on 2016/08/04 by Daniel.Wright DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject #jira UE-34183 Change 3077927 on 2016/08/04 by Lina.Halper Fix issue with morphtarget not working due to invalid guid #jira: UE-34077 Change 3077919 on 2016/08/04 by Daniel.Wright Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them #jira UE-34245 Change 3077877 on 2016/08/04 by Ori.Cohen Fix physical animation undo/redo not affecting linked bodies and constraints #JIRA UE-33987 Change 3077823 on 2016/08/04 by Ori.Cohen Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt) #JIRA UE-33985 Change 3077814 on 2016/08/04 by Uriel.Doyon Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all" #jira UE-34120 #review-3077812 Change 3077781 on 2016/08/04 by Max.Chen Sequencer: Fix crash in rotation key struct #jira UE-34155 Change 3077771 on 2016/08/04 by Lina.Halper Added const and removed auto #jira: UE-33023 Change 3077702 on 2016/08/04 by Daniel.Wright Copy - Planar reflection show flags can now be edited #jira UE-34229 Change 3077585 on 2016/08/04 by Ori.Cohen Fix spam when moving simulated skeletal mesh in the editor. #JIRA UE-34164 Change 3077532 on 2016/08/04 by Tom.Looman Fixed error in description of VR Template. #jira ue-33950 Change 3077517 on 2016/08/04 by Tom.Looman Fixed parsing error for FP_VirtualRealityBP #jira UE-34059 Change 3077493 on 2016/08/04 by Tom.Looman Updated Template description to remove GearVR reference and include more clear message on the two available maps. #jira UE-33950 Change 3077492 on 2016/08/04 by Tom.Looman Improvements to VR Template Fixed teleportation issue on both locomotion types (JIRA) Rebuilt navmesh for motioncontrollermap Added new WIP startermap to clarify the difference between the multiple levels. Added more comments and did some cleanup in BPs. #jira UE-33962 Change 3077491 on 2016/08/04 by Jurre.deBaare Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance #fix Pass in complete path to save material to instead of just the name #jira UE-34211 Change 3077481 on 2016/08/04 by Tom.Looman Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config) #jira ue-34143 Change 3077463 on 2016/08/04 by Ben.Woodhouse Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off. #jira UE-32843 Change 3077432 on 2016/08/04 by Steve.Robb Removal of Fortnite-specific setting which disables hot reload. #jira UE-33261 Change 3077380 on 2016/08/04 by Keith.Judge Fix for green reflection environment in some maps. - Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present() - Fixed a validation error when locking cube map faces which was causing them not to be updated. - Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error). - Added a GPU/CPU sync at the same point the PS4 code does. #jira UE-32086 Change 3077336 on 2016/08/04 by Mitchell.Wilson removed r.Streaming.PoolSize from DefaultEngine.ini Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning. #jira UE-30941 Change 3077275 on 2016/08/04 by Phillip.Kavan [UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop. #jira UE-29903 Change 3077119 on 2016/08/04 by Marc.Audy Use TickType All when in PIE #jira UE-18982 Change 3077108 on 2016/08/04 by Jon.Nabozny Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null. This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing. #jira UE-34032 Change 3077073 on 2016/08/04 by Jurre.deBaare bBlendOverlappingNormals does not seem to have an impact for Alembic importing #fix this wasn't being used in the normal calculation anymore so redundant #jira UE-34204 Change 3077059 on 2016/08/04 by Robert.Manuszewski Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split). #jira UE-34200 Change 3077024 on 2016/08/04 by Thomas.Sarkanen Added GetResourceSize to UDataAsset Data assets now correctly report their size. #jira UE-28851 - Fix mem reporting of DataTables Change 3077001 on 2016/08/04 by Andrew.Rodham Sequencer: Fixed sequencer adding spawnables into recorded worlds twice The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world. Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded. #jira UE-31422 Change 3076995 on 2016/08/04 by Matthew.Griffin Fixed Shadow Variable warning Change 3076974 on 2016/08/04 by Matthew.Griffin Added Node to build CrashReportClient for Linux that can be used by internal game targets Change 3076820 on 2016/08/04 by Max.Chen Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist). #jira UE-34199 Change 3076665 on 2016/08/03 by Dan.Oconnor Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false #jira UE-18982 Change 3076569 on 2016/08/03 by Chad.Taylor SteamVR GetOrthoProjection implementation to fix broken console rendering in VR #jira UE-21424 Change 3076556 on 2016/08/03 by Aaron.McLeran #jira UE-34154 PSVR Stereo assets are spatialized as MONO - All audio was routing through A3D lib regardless of if it was mono/stereo etc. - Fix is to only route audio that is mono and spatialized - Fixed some compile errors/shadow variables - Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library Change 3076546 on 2016/08/03 by Aaron.McLeran #jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves Implementing 3069092 in Release-4.13 - Not all active sounds have sound classes, was causing a crash #tests Run game with stat soundcues and not crash Change 3076512 on 2016/08/03 by Ben.Marsh Fix warning about UnrealTournament:true argument. Change 3076492 on 2016/08/03 by Daniel.Wright Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game. Blutilities can be used to do blueprint rendering in the editor. #jira UE-34177 Change 3076491 on 2016/08/03 by Daniel.Wright Marked the Forward Shading project setting as experimental for 4.13 #jira UE-34176 Change 3076490 on 2016/08/03 by Daniel.Wright Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible #jira UE-34175 Change 3076489 on 2016/08/03 by Daniel.Wright Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0 #jira UE-34174 Change 3076485 on 2016/08/03 by Daniel.Wright Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413 #jira UE-34173 Change 3076440 on 2016/08/03 by Ryan.Vance #jira UE-34184 Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk. Adding Oculus 1.6 support. Change 3076399 on 2016/08/03 by Nick.Darnell Slate - The LayoutCache pointer in SWidget is now a WeakPtr. This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels. Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior. #jira UE-34185 Change 3076397 on 2016/08/03 by Rolando.Caloca UE4.13 - hlslcc -Fix for hlsl length(float) #jira UE-32629 Change 3076337 on 2016/08/03 by mason.seay Test assets (and map for ensure bug) #jira UE-29618 Change 3076332 on 2016/08/03 by Peter.Sauerbrei fix for clang build errors #jira UE-34163 Change 3076326 on 2016/08/03 by Ryan.Vance #jira UE-32975 Using the wrong screen position in the base pass pixel shader with ISR. Change 3076309 on 2016/08/03 by Benjamin.Hyder Renaming TEST-LightingFeatures to TM-LightingFeatures #jira UE-29618 Change 3076299 on 2016/08/03 by Chad.Taylor Fix SteamVR lag in late-update fold child renderables. #jira UE-33928 Change 3076214 on 2016/08/03 by Mitchell.Wilson Resaving BluperintOffice level to resolve MikkTSpace warnings. Reimporting SM_GodRay_Plane to resolve cook warning. #jira UE-30064 Change 3076112 on 2016/08/03 by Max.Chen Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions) #jira UE-34167 Change 3076090 on 2016/08/03 by Marc.Audy Fix Mac compile error #jira UE-34163 Change 3076075 on 2016/08/03 by Jeremiah.Waldron Fixing comments documenting attribute in deleteFiles node for UPL #jira UE-34161 Change 3076034 on 2016/08/03 by Mitchell.Wilson Resaving Strategy Game maps to resolve MikkTSpace warnings. Resaving material in strategy game to resolve string asset reference warning. #jira UE-29720 Change 3076003 on 2016/08/03 by Mitchell.Wilson Resaving Elemental Demo levels to resolve MikkTSpace warnings. Resaving multiple materials to resolve String asset reference warnings. #jira UE-29679 Change 3075985 on 2016/08/03 by Jeremiah.Waldron Fixing UPL comments misnaming the deleteFiles node #jira UE-34161 Change 3075977 on 2016/08/03 by Maciej.Mroz #jira UE-30473 Moving child component in child blueprint forces parent to become dirty Duplicated from Dev-Blueprints CL 3075793 Change 3075959 on 2016/08/03 by Marc.Audy Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639) #jira UE-33921 Change 3075891 on 2016/08/03 by Chad.Taylor SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline. #jira UE-34142 Change 3075882 on 2016/08/03 by Dan.Oconnor Manually integrating 3073939 to address UE-19062 #jira UE-19062 Change 3075805 on 2016/08/03 by Marc.Audy Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803 #jira UE-18982 Change 3075803 on 2016/08/03 by Marc.Audy Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked #jira UE-18982 Change 3075761 on 2016/08/03 by Max.Preussner MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152) #jira UE-34152 Change 3075719 on 2016/08/03 by Chad.Taylor Blocker fix for binary editor crash on incorrectly used dll #jira UE-34142 Change 3075709 on 2016/08/03 by Jeremiah.Waldron Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor #android #jira UE-34149 Change 3075695 on 2016/08/03 by Jurre.deBaare Adding missing debug zlib dll #jira UE-123 Change 3075641 on 2016/08/03 by Jurre.deBaare Crash when re-importing alembic cache file several times #fix Always create a new object when importing #jira UE-34130 Change 3075609 on 2016/08/03 by Danny.Bouimad #jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does. Change 3075578 on 2016/08/03 by Mitchell.Wilson Updating attenuation settings for multiple sounds in Strategy Game. #jira UE-25828 Change 3075529 on 2016/08/03 by Trung.Le VREditor: Fxied foliage lasso select without pressing trigger #jira UE-33689 Change 3075502 on 2016/08/03 by Lee.Clark Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates. #jira UE-28549 Change 3075386 on 2016/08/03 by Robert.Manuszewski Fixing bulkdata using source data pointer as an archive instead of raw data when saving #jira UE-34132 Change 3075384 on 2016/08/03 by mason.seay AnimBP for crash bug #jira UE-29618 Change 3075350 on 2016/08/03 by Max.Chen Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections. #jira UE-30506 Change 3075327 on 2016/08/03 by Max.Chen Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport. #jira UE-34093 Change 3075313 on 2016/08/03 by Matthew.Griffin Tidied up hardcoded installed build includes so that they're all in one file with platform checks Added .dll.config files to CsCompile build products if they exist Change 3075133 on 2016/08/03 by Yannick.Lange VREditor : Original submit in Dev-VREditor = 3064489 - Fix crash when starting VREditor and then changing levels #jira UE-33766 Change 3075124 on 2016/08/03 by Thomas.Sarkanen Fixed undo/redo crash when editing anim blueprint defaults Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo. #jira UE-34024 - Crash undoing variable change in Animation Blueprint. Change 3075101 on 2016/08/03 by Matthew.Griffin Adding job to selectively build games in release branch Also adding documentation and localization to overnight build #jira UEB-688 Change 3075061 on 2016/08/03 by Yannick.Lange VR Editor : Original submit in Dev-VREditor = 3062883 - Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552 - Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509 - Fixed crash when enabling VR Editor in editor preferences without a HMD connected - Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553 - Avatar code refactor to its own actor class #jira UETOOL-812 #jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812 Change 3075059 on 2016/08/03 by Allan.Bentham Fall back to standard shadows when capsule shadows are not supported. #jira UE-33344 Change 3075045 on 2016/08/03 by Matthew.Griffin Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step Change 3074693 on 2016/08/02 by Dan.Oconnor Manually integrating 3070569 from Dev-Blueprints #jira UE-34119 Change 3074672 on 2016/08/02 by Dan.Oconnor Manually integrating 3061854 into 4.13 from Dev-Blueprints #jira UE-34119 Change 3074646 on 2016/08/02 by Aaron.McLeran #jira UE-34081 Implementing from Dev-Framework CL 3074325 Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback - Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue). - Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread. - Implementing 3003851 from UT into Dev-Framework. Change 3074630 on 2016/08/02 by Brent.Pease UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16 UE-33200 - A movie isn't played on iOS occasionally. UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows + Give a more friendly error message when UHT fails with an invalid error code. #jira UE-23846 #jira UE-33200 #jira UE-32397 Change 3074590 on 2016/08/02 by Rolando.Caloca UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled). #jira UE-33694 Change 3074588 on 2016/08/02 by Chad.Taylor Update OpenVR SDK to v1.0.2 -Hooked up added aspect ratio and sort priority features to SteamVR stereo layers #jira UE-34115 Change 3074481 on 2016/08/02 by Ori.Cohen Make sure that new physical animation data defaults to 0 #JIRA UE-33678 Change 3074395 on 2016/08/02 by Ori.Cohen Fix duplication of physical animation profiles not duplicating data. Also fix undo redo not working for profiles. Fix editor not passing Duplicate change type #JIRA UE-33987, UE-33985 Change 3074392 on 2016/08/02 by Alex.Delesky #jira UE-32396 - Reverting CL 3074177, since it introduced side-effects. Change 3074364 on 2016/08/02 by phillip.patterson Re-created UMG_Optimization for Test Cases #jira UE-29618 Change 3074346 on 2016/08/02 by Jurre.deBaare Potential DDC warning fix, remove non-existing values #jira UE-123 Change 3074289 on 2016/08/02 by Jeff.Fisher UEVR-13 PSVR: TCR Requirement Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed. -When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue. After reconnection reprojection would be lagged by 12+ seconds. After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag. #jira UEVR-13 #review-3074209 @chad.taylor @nick.whiting Change 3074196 on 2016/08/02 by Martin.Wilson Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints) #jira UE-23453 Change 3074177 on 2016/08/02 by Alex.Delesky #jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint. Change 3074157 on 2016/08/02 by Ben.Marsh Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff. Change 3074132 on 2016/08/02 by Trung.Le VREditor: Fixed brush preview present while in foliage mode and hovering at UI #jira UE-33228 Change 3074131 on 2016/08/02 by Tom.Looman Fix for scalability build warnings in VR Template #jira ue-33325 Change 3074089 on 2016/08/02 by Kevin.Rushin QAGame - Added Foliage to TestMap #jira UE-29618 Change 3074067 on 2016/08/02 by Kevin.Rushin QAGame- Rebuilt Lighting #jira UE-29618 Change 3074063 on 2016/08/02 by Kevin.Rushin QAGame - Fix up VREditor Map to have more asset variation #jira UE-29618 Change 3074057 on 2016/08/02 by Andrew.Porter Deleting - UMG_Optimization #jira UE-29618 Change 3074040 on 2016/08/02 by Michael.Trepka On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized. #jira UE-31194 Change 3074008 on 2016/08/02 by Phillip.Patterson Renamed UMG_Invalidation to UMG_Optimization to better match test #jira UE-29618 Change 3073988 on 2016/08/02 by Mitchell.Wilson Updating starting camera location for Paper2d template to be consistant on both BP and Code version. #jira UE-32723 Change 3073966 on 2016/08/02 by Jurre.deBaare Alembic Cache Importer option for propagating matrix transformation does not work #fix Changed the flag combinations and overhauled the matrix retrieval/caching system #misc typo fix #jira UE-34066 Change 3073953 on 2016/08/02 by Lina.Halper Fixed static warning on null reference #jira: UE-33923 Change 3073951 on 2016/08/02 by Lina.Halper Fix GetRelativeTransform for negative scale #jira: UE-33380 Change 3073896 on 2016/08/02 by Alex.Delesky #jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor. #jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool Change 3073804 on 2016/08/02 by Jamie.Dale Fixed the detail panel trying to apply class customizations to structs This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor). #jira UE-32623 Change 3073803 on 2016/08/02 by Jurre.deBaare Morph target vertex mapping can be wrong with multi material caches #fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly #jira UE-34074 Change 3073788 on 2016/08/02 by Andrew.Rodham Sequencer: Added support for montage based animation CL#3061714 : Sequencer: Fixed anim trails not playing in full, sequencer-driven animation. There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly. CL#3063015 : Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback. CL#3068399 : Sequencer: Changed animation tracks to allow more animation types (such as anim montages) - APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility #jira UE-34046 Change 3073787 on 2016/08/02 by Jurre.deBaare Handle failed Simplygon proxy mesh generation with error message instead of hard checks #fix Added a failed delegate along side the succesful delegate #jira UE-31990 Change 3073786 on 2016/08/02 by Jurre.deBaare Alembic importer crashes when not assets are generated #fix Prevented adding nullptr values to the array (now only contains valid entries) #jira UE-34065 Change 3073777 on 2016/08/02 by Jurre.deBaare User is able to give a Preview Scene Profile the same name as an existing profile #fix check changed profile name and append _duplicatedname if found to be matching an existing profile name #jira UE-34033 Change 3073775 on 2016/08/02 by Mitchell.Wilson Updating VehicleExampleMap for BP and Code templates to have consistant starting locations #jira UE-31281 Change 3073732 on 2016/08/02 by Rolando.Caloca DR - Fix crash when enabling gpu morph targets on non SM5 platforms #jira UE-34011 Change 3073706 on 2016/08/02 by Peter.Sauerbrei fix for no tvOS libraries in binary release for Win64 #jira UE-34076 Change 3073671 on 2016/08/02 by Allan.Bentham High quality mobile reflection captures are now blended in correct (linear) space. #jira UE-33915 Change 3073663 on 2016/08/02 by Peter.Sauerbrei fix for launch on failing for iOS in Binary #jira UE-34014 Change 3073662 on 2016/08/02 by Lee.Clark 4.13 - PS4 - Fix Media Player Audio cutting out #jira UE-33850 Change 3073616 on 2016/08/02 by Mark.Satterthwaite Duplicate CL #3073584 from Dev-Platform: Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture. #jira UE-32323 Change 3073592 on 2016/08/02 by Max.Chen Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state. #jira UE-33993 Change 3073585 on 2016/08/02 by Nick.Darnell Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures. #jira UE-34075 Change 3073575 on 2016/08/02 by Richard.TalbotWatkin Duplicating from Dev-Editor, CL 3057645 Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions. #jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server Change 3073542 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3072169. A couple of changes to the BSP code: * Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode. * Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices. #jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used #jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume Change 3073540 on 2016/08/02 by Matthew.Griffin Added Package Samples script behind a trigger to package samples for QA Removed submitter notifications from Launcher Samples nodes Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs #jira UEB-689 Change 3073511 on 2016/08/02 by Tom.Looman Removed object redirectors to fix build warning in VR Template #jira ue-33325 Change 3073458 on 2016/08/02 by Jurre.deBaare Update default preview scene ini and assets #fix deleted old sky texture and fixed BaseEditor.ini setup #jira UE-34063 Change 3073427 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3068585 Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX. #jira UE-34062 - SplineMesh collision can be generated incorrectly Change 3073421 on 2016/08/02 by James.Golding Resave PSD test assets in QAGame with proper version #jira UE-34061 Change 3073419 on 2016/08/02 by James.Golding Rename OrientationDriver to PoseDriver #jira UE-34015 Change 3073404 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3057895 Mesh paint bugfixes and improvements. Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed. This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list. #jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab #jira UE-32279 - Editor crashes when reselecting a mesh in paint mode #jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75] #jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting Change 3073380 on 2016/08/02 by Richard.TalbotWatkin Fixed build error in unity builds. #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point #jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level) #jira UE-13082 - Users would like a snapping feature for splines #jira UE-13568 - Additional Spline Component Functionality #jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport. Change 3073343 on 2016/08/02 by Matthew.Griffin Whitelisting PS4 and XboxOne plugins for those platforms specifically #jira UE-33866 Change 3073338 on 2016/08/02 by Ben.Marsh When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins. Change 3073319 on 2016/08/02 by Maciej.Mroz #jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860 Manually integrated some fixes from Dev-Blueprints Change 3073311 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor CL 3057868 Spline component improvements, both tools and runtime: - SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value. - The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding. - Added a custom version for SplineComponent and provded serialization fixes. - Added a details customization to SplineComponent to hide the raw FInterpCurve properties. - Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer. - Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending. - Allowed an explicit loop point to be specified for closed splines. - Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal. - Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key. - Fixed the logic which determines whether the UCS has modified the spline curves. - Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS. - Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype. - Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled. #jira UETOOL-766 - Spline tool improvements #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point #jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level) #jira UE-13082 - Users would like a snapping feature for splines #jira UE-13568 - Additional Spline Component Functionality #jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport. #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-33669 - Crash in Dev-Editor Change 3073242 on 2016/08/02 by James.Golding Move physics state create/destroy delegates from BodyInstance to ActorComponent - Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected. - Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate. #jira UE-32768 Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 [CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
{
// not used by Lightmass
return MSM_MAX;
}
virtual FMaterialShadingModelField GetCompiledShadingModels() const override
{
// not used by Lightmass
return MSM_MAX;
}
virtual int32 WorldPosition(EWorldPositionIncludedOffsets WorldPositionIncludedOffsets) override
{
Copying //UE4/Orion-Staging (Orion Main @ CL-2792706 to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2792706 on 2015/12/07 by Terence.Burns Rebuild lightmaps automation changes - Sync and Build binary files for execution - Much improved error handling - Email notification support added. #Note - This should massively simplify the batch script we use to rebuild lightmaps. #rb none #Tests Run the RebuildLightmaps commandlet many times to ensure it runs and errors correctly. Change 2791950 on 2015/12/05 by Matt.Kuhlenschmidt Added settings to toggle on and off display of Ping and FPS values. Server FPS will be disabled before ship #rb none #test pc/ps4 golden path, pie Change 2791827 on 2015/12/05 by Marcus.Wassmer Fix texture memory leak. Fixes automation using too much memory. #rb Brad.Angelcyk #codereview bob.ferreira #test automation runs, editor. Change 2791313 on 2015/12/04 by Martin.Mittring fixed PS4 compiling #rb:Michael.Noland #test:not Change 2791014 on 2015/12/04 by Martin.Mittring nicer cvar help for r.PS4ContinuousSubmits #rb:Olaf.Piesche #code_review:Marcus.Wassmer #test:PC Change 2791011 on 2015/12/04 by Martin.Mittring fixed compile error when disabling ENABLE_TEXTURE_TRACKING #rb:Olaf.Piesche #test:run Paragon on PC Change 2790848 on 2015/12/04 by Martin.Mittring missing changes nicer cvar help, optimized unneccessary referencecounting, removed redundant code #rb:Olaf.Piesche #test:PC Paragon Change 2790840 on 2015/12/04 by Martin.Mittring nicer cvar help, optimized unneccessary referencecounting, removed redundant code #rb:Olaf.Piesche #test:PC Paragon Change 2791585 on 2015/12/04 by Michael.Noland Rendering: Added a more actionable error message to a check() failure for a FStaticLightingMesh that has already been processed when building lighting in a map that contains HLOD #rb None #tests Built lighting in a map that was crashing at this check() and verified that the message indicated the problematic mesh Change 2791244 on 2015/12/04 by Ryan.Brucks Submitting all my Paragon Content before the new Agora Branch. Change 2791240 on 2015/12/04 by Marcus.Wassmer Bump to .061 patch and new pub tools to pass cert #rb non #test compile ps4 Change 2791132 on 2015/12/04 by ryan.brucks RenderToTextureMacros: fixed issue with polygon index being +1 on accident Change 2790747 on 2015/12/04 by Terence.Burns Rebuild Lightmaps Automation Script - Adding the -unattended switch for build machines. #rb None #tests Run through the Rebuild Lightmaps UAT script process. Change 2790589 on 2015/12/04 by Bart.Bressler - Invite PS4 friend option for add party member button now works properly, also fixes crash. Fixes OR-10359. #rb sam.zamani #tests invited ps4 player using Invite PS4 Friend option, confirmed that player joined mcp party and ps4 session Change 2790418 on 2015/12/04 by James.Golding Roll back HLOD lightmap UV change, Oz reporting issues when building lighting, need more investigation #rb none #tests none Change 2790333 on 2015/12/04 by James.Golding Add fallback to FMeshUtilities::PropagatePaintedColorsToRawMesh when mesh has been reduced in engine and WedgeMap is missing #rb martin.wilson #codereview jurre.debaare #tests Built HLOD meshes in the editor Change 2790292 on 2015/12/04 by Olaf.Piesche Free the new particle array at the beginning of the tick for each instance; that way, even if we're not rendering the array will be cleared and we don't keep injecting new particles that never get killed until rendering resumes #rb marcus.wassmer #tests Editor, PIE Change 2790003 on 2015/12/04 by James.Golding Fix possible crash in ALODActor::RemoveSubActor #rb keith.judge #codereview jurre.debaare #tests Generated HLOD proxy in editor Change 2789998 on 2015/12/04 by James.Golding
2015-12-08 09:25:02 -05:00
#if WITH_EDITOR
return Compiler->MaterialBakingWorldPosition();
#else
return Compiler->WorldPosition(WorldPositionIncludedOffsets);
Copying //UE4/Orion-Staging (Orion Main @ CL-2792706 to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2792706 on 2015/12/07 by Terence.Burns Rebuild lightmaps automation changes - Sync and Build binary files for execution - Much improved error handling - Email notification support added. #Note - This should massively simplify the batch script we use to rebuild lightmaps. #rb none #Tests Run the RebuildLightmaps commandlet many times to ensure it runs and errors correctly. Change 2791950 on 2015/12/05 by Matt.Kuhlenschmidt Added settings to toggle on and off display of Ping and FPS values. Server FPS will be disabled before ship #rb none #test pc/ps4 golden path, pie Change 2791827 on 2015/12/05 by Marcus.Wassmer Fix texture memory leak. Fixes automation using too much memory. #rb Brad.Angelcyk #codereview bob.ferreira #test automation runs, editor. Change 2791313 on 2015/12/04 by Martin.Mittring fixed PS4 compiling #rb:Michael.Noland #test:not Change 2791014 on 2015/12/04 by Martin.Mittring nicer cvar help for r.PS4ContinuousSubmits #rb:Olaf.Piesche #code_review:Marcus.Wassmer #test:PC Change 2791011 on 2015/12/04 by Martin.Mittring fixed compile error when disabling ENABLE_TEXTURE_TRACKING #rb:Olaf.Piesche #test:run Paragon on PC Change 2790848 on 2015/12/04 by Martin.Mittring missing changes nicer cvar help, optimized unneccessary referencecounting, removed redundant code #rb:Olaf.Piesche #test:PC Paragon Change 2790840 on 2015/12/04 by Martin.Mittring nicer cvar help, optimized unneccessary referencecounting, removed redundant code #rb:Olaf.Piesche #test:PC Paragon Change 2791585 on 2015/12/04 by Michael.Noland Rendering: Added a more actionable error message to a check() failure for a FStaticLightingMesh that has already been processed when building lighting in a map that contains HLOD #rb None #tests Built lighting in a map that was crashing at this check() and verified that the message indicated the problematic mesh Change 2791244 on 2015/12/04 by Ryan.Brucks Submitting all my Paragon Content before the new Agora Branch. Change 2791240 on 2015/12/04 by Marcus.Wassmer Bump to .061 patch and new pub tools to pass cert #rb non #test compile ps4 Change 2791132 on 2015/12/04 by ryan.brucks RenderToTextureMacros: fixed issue with polygon index being +1 on accident Change 2790747 on 2015/12/04 by Terence.Burns Rebuild Lightmaps Automation Script - Adding the -unattended switch for build machines. #rb None #tests Run through the Rebuild Lightmaps UAT script process. Change 2790589 on 2015/12/04 by Bart.Bressler - Invite PS4 friend option for add party member button now works properly, also fixes crash. Fixes OR-10359. #rb sam.zamani #tests invited ps4 player using Invite PS4 Friend option, confirmed that player joined mcp party and ps4 session Change 2790418 on 2015/12/04 by James.Golding Roll back HLOD lightmap UV change, Oz reporting issues when building lighting, need more investigation #rb none #tests none Change 2790333 on 2015/12/04 by James.Golding Add fallback to FMeshUtilities::PropagatePaintedColorsToRawMesh when mesh has been reduced in engine and WedgeMap is missing #rb martin.wilson #codereview jurre.debaare #tests Built HLOD meshes in the editor Change 2790292 on 2015/12/04 by Olaf.Piesche Free the new particle array at the beginning of the tick for each instance; that way, even if we're not rendering the array will be cleared and we don't keep injecting new particles that never get killed until rendering resumes #rb marcus.wassmer #tests Editor, PIE Change 2790003 on 2015/12/04 by James.Golding Fix possible crash in ALODActor::RemoveSubActor #rb keith.judge #codereview jurre.debaare #tests Generated HLOD proxy in editor Change 2789998 on 2015/12/04 by James.Golding
2015-12-08 09:25:02 -05:00
#endif
}
virtual int32 ObjectWorldPosition(EPositionOrigin OriginType) override
{
return Compiler->ObjectWorldPosition(OriginType);
}
virtual int32 DistanceCullFade() override
{
return Compiler->Constant(1.0f);
}
virtual int32 ActorWorldPosition(EPositionOrigin OriginType) override
{
return Compiler->ActorWorldPosition(OriginType);
}
virtual int32 ParticleRelativeTime() override
{
return Compiler->Constant(0.0f);
}
virtual int32 ParticleMotionBlurFade() override
{
return Compiler->Constant(1.0f);
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
virtual int32 PixelNormalWS() override
{
// Current returning vertex normal since pixel normal will contain incorrect data (normal calculated from uv data used as vertex positions to render out the material)
return Compiler->VertexNormal();
}
virtual int32 ParticleRandom() override
{
return Compiler->Constant(0.0f);
}
virtual int32 ParticleDirection() override
{
return Compiler->Constant3(0.0f, 0.0f, 0.0f);
}
virtual int32 ParticleSpeed() override
{
return Compiler->Constant(0.0f);
}
virtual int32 ParticleSize() override
{
return Compiler->Constant2(0.0f,0.0f);
}
virtual int32 ParticleSpriteRotation() override
{
return Compiler->Constant2(0.0f, 0.0f);
}
virtual int32 ObjectRadius() override
{
return Compiler->Constant(500);
}
virtual int32 ObjectBounds() override
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
return Compiler->ObjectBounds();
}
virtual int32 PreSkinnedLocalBounds(int32 OutputIndex) override
{
return Compiler->PreSkinnedLocalBounds(OutputIndex);
}
virtual int32 CameraVector() override
{
return Compiler->Constant3(0.0f, 0.0f, 1.0f);
}
virtual int32 ReflectionAboutCustomWorldNormal(int32 CustomWorldNormal, int32 bNormalizeCustomWorldNormal) override
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
return Compiler->ReflectionAboutCustomWorldNormal(CustomWorldNormal, bNormalizeCustomWorldNormal);
}
virtual int32 VertexColor() override
{
return Compiler->VertexColor();
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
virtual int32 PreSkinnedPosition() override
{
return Compiler->PreSkinnedPosition();
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
virtual int32 PreSkinnedNormal() override
{
return Compiler->PreSkinnedNormal();
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3304653) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3288774 on 2017/02/06 by Ben.Salem Added in min/max/avg values to table. Allow us to also set which stat groups we use explicitly to massively cut down on plugin overhead. #tests Several tests passes taken on ShooterGame. Change 3289887 on 2017/02/07 by David.Hill Eye Adaptation: Fix basic mode. The last step of the basic eye adaptation needs to know the correct down-sampled viewport size #jira: UE-29491 Change 3290281 on 2017/02/07 by Chris.Bunner Account for LogToLin approximation value offseting. Change 3290282 on 2017/02/07 by Chris.Bunner Fixed missing 2000 nit branch in tonemapper. Change 3290331 on 2017/02/07 by Chris.Bunner Minor optimization for BlendMaterialAttributes node compilation. Change 3291140 on 2017/02/07 by Daniel.Wright Fixed distance field temporal filter using Point filtering * Fixed the manual bilinear filter in the high quality reprojection path, still doesn't solve the streaking artifacts though Change 3292060 on 2017/02/08 by Rolando.Caloca DR - Some enums for max/num bits on RHI definitions Change 3292213 on 2017/02/08 by Benjamin.Hyder Updating TM-DistanceFields map in QAGame Change 3292291 on 2017/02/08 by Benjamin.Hyder small tweaks to TM-DistanceFields Change 3292399 on 2017/02/08 by Chris.Bunner Minor fix to HDR format type check. Change 3293560 on 2017/02/08 by Rolando.Caloca DR - vk - Events Change 3293562 on 2017/02/08 by Rolando.Caloca DR - vk - Disambiguate class name Change 3295346 on 2017/02/09 by Rolando.Caloca DR - Duplicate fix from 3295320 Change 3296930 on 2017/02/10 by Chris.Bunner Search keywords for pre-skinned position/normal nodes. Change 3297162 on 2017/02/10 by Daniel.Wright Distance field temporal filter stores a confidence value, which is used to track leaking of occlusion during the upsample, and flush those leaked values through the history faster. Reduces DFAO ghosting when the camera is moving. Change 3297345 on 2017/02/10 by Daniel.Wright Added 'r.CompressMeshDistanceFields' to rendering project settings, defaults to off to prevent hitches when streaming in levels Change 3297371 on 2017/02/10 by Chris.Bunner Custom vertex interpolator in/out node with auto-packing - Function support. Unified UV/CVI interpolator arrays for mixed custom UV support. Change 3298013 on 2017/02/10 by Daniel.Wright Ray Traced Distance Field shadowing is overlapped with the shadow depth pass, controlled by r.DFShadowAsyncCompute. * Didn't save any GPU time on PS4, so currently disabled until further investigation. * This change breaks RTDF shadows in splitscreen / stereo Change 3300028 on 2017/02/13 by Ben.Salem Adding GPU/Render/Game thread timers by default. Remove pointless flavor whitelisting on the plugin. Add sample usage in ShooterGame.ini config. #tests Ran half a dozen perf passes, and preflighted my changes in EC Change 3301571 on 2017/02/14 by Joe.Graf Deleted this plugin since it is no longer needed as an example Change 3301882 on 2017/02/14 by Daniel.Wright Fixed DistanceFieldAOConfidenceHistoryRT not getting released on RT Change 3304283 on 2017/02/15 by Daniel.Wright Variable shadowing fix Change 3304653 on 2017/02/15 by Ben.Salem Fix thread safety issues in Performance Monitor - deal with floating point bug in determining when to record frames. #tests Preflighted changes several times, ran several runs on Showdown [CL 3307957 by Marcus Wassmer in Main branch]
2017-02-16 17:52:21 -05:00
virtual int32 VertexInterpolator(uint32 InterpolatorIndex) override
{
return Compiler->VertexInterpolator(InterpolatorIndex);
}
virtual int32 LightVector() override
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
return Compiler->LightVector();
}
virtual int32 ReflectionVector() override
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
return Compiler->ReflectionVector();
}
virtual int32 AtmosphericFogColor(int32 WorldPosition, EPositionOrigin PositionOrigin) override
{
return INDEX_NONE;
}
virtual int32 PrecomputedAOMask() override
{
return Compiler->PrecomputedAOMask();
}
Copying //UE4/Orion-Staging (Orion Main @ CL-2792706 to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2792706 on 2015/12/07 by Terence.Burns Rebuild lightmaps automation changes - Sync and Build binary files for execution - Much improved error handling - Email notification support added. #Note - This should massively simplify the batch script we use to rebuild lightmaps. #rb none #Tests Run the RebuildLightmaps commandlet many times to ensure it runs and errors correctly. Change 2791950 on 2015/12/05 by Matt.Kuhlenschmidt Added settings to toggle on and off display of Ping and FPS values. Server FPS will be disabled before ship #rb none #test pc/ps4 golden path, pie Change 2791827 on 2015/12/05 by Marcus.Wassmer Fix texture memory leak. Fixes automation using too much memory. #rb Brad.Angelcyk #codereview bob.ferreira #test automation runs, editor. Change 2791313 on 2015/12/04 by Martin.Mittring fixed PS4 compiling #rb:Michael.Noland #test:not Change 2791014 on 2015/12/04 by Martin.Mittring nicer cvar help for r.PS4ContinuousSubmits #rb:Olaf.Piesche #code_review:Marcus.Wassmer #test:PC Change 2791011 on 2015/12/04 by Martin.Mittring fixed compile error when disabling ENABLE_TEXTURE_TRACKING #rb:Olaf.Piesche #test:run Paragon on PC Change 2790848 on 2015/12/04 by Martin.Mittring missing changes nicer cvar help, optimized unneccessary referencecounting, removed redundant code #rb:Olaf.Piesche #test:PC Paragon Change 2790840 on 2015/12/04 by Martin.Mittring nicer cvar help, optimized unneccessary referencecounting, removed redundant code #rb:Olaf.Piesche #test:PC Paragon Change 2791585 on 2015/12/04 by Michael.Noland Rendering: Added a more actionable error message to a check() failure for a FStaticLightingMesh that has already been processed when building lighting in a map that contains HLOD #rb None #tests Built lighting in a map that was crashing at this check() and verified that the message indicated the problematic mesh Change 2791244 on 2015/12/04 by Ryan.Brucks Submitting all my Paragon Content before the new Agora Branch. Change 2791240 on 2015/12/04 by Marcus.Wassmer Bump to .061 patch and new pub tools to pass cert #rb non #test compile ps4 Change 2791132 on 2015/12/04 by ryan.brucks RenderToTextureMacros: fixed issue with polygon index being +1 on accident Change 2790747 on 2015/12/04 by Terence.Burns Rebuild Lightmaps Automation Script - Adding the -unattended switch for build machines. #rb None #tests Run through the Rebuild Lightmaps UAT script process. Change 2790589 on 2015/12/04 by Bart.Bressler - Invite PS4 friend option for add party member button now works properly, also fixes crash. Fixes OR-10359. #rb sam.zamani #tests invited ps4 player using Invite PS4 Friend option, confirmed that player joined mcp party and ps4 session Change 2790418 on 2015/12/04 by James.Golding Roll back HLOD lightmap UV change, Oz reporting issues when building lighting, need more investigation #rb none #tests none Change 2790333 on 2015/12/04 by James.Golding Add fallback to FMeshUtilities::PropagatePaintedColorsToRawMesh when mesh has been reduced in engine and WedgeMap is missing #rb martin.wilson #codereview jurre.debaare #tests Built HLOD meshes in the editor Change 2790292 on 2015/12/04 by Olaf.Piesche Free the new particle array at the beginning of the tick for each instance; that way, even if we're not rendering the array will be cleared and we don't keep injecting new particles that never get killed until rendering resumes #rb marcus.wassmer #tests Editor, PIE Change 2790003 on 2015/12/04 by James.Golding Fix possible crash in ALODActor::RemoveSubActor #rb keith.judge #codereview jurre.debaare #tests Generated HLOD proxy in editor Change 2789998 on 2015/12/04 by James.Golding
2015-12-08 09:25:02 -05:00
#if WITH_EDITOR
virtual int32 MaterialBakingWorldPosition() override
{
return Compiler->MaterialBakingWorldPosition();
}
#endif
virtual int32 AccessCollectionParameter(UMaterialParameterCollection* ParameterCollection, int32 ParameterIndex, int32 ComponentIndex) override
{
if (!ParameterCollection || ParameterIndex == -1)
{
return INDEX_NONE;
}
// Collect names of all parameters
TArray<FName> ParameterNames;
ParameterCollection->GetParameterNames(ParameterNames, /*bVectorParameters=*/ false);
int32 NumScalarParameters = ParameterNames.Num();
ParameterCollection->GetParameterNames(ParameterNames, /*bVectorParameters=*/ true);
// Find a parameter corresponding to ParameterIndex/ComponentIndex pair
int32 Index;
for (Index = 0; Index < ParameterNames.Num(); Index++)
{
FGuid ParameterId = ParameterCollection->GetParameterId(ParameterNames[Index]);
int32 CheckParameterIndex, CheckComponentIndex;
ParameterCollection->GetParameterIndex(ParameterId, CheckParameterIndex, CheckComponentIndex);
if (CheckParameterIndex == ParameterIndex && CheckComponentIndex == ComponentIndex)
{
// Found
break;
}
}
if (Index >= ParameterNames.Num())
{
// Not found, should not happen
return INDEX_NONE;
}
// Create code for parameter
if (Index < NumScalarParameters)
{
const FCollectionScalarParameter* ScalarParameter = ParameterCollection->GetScalarParameterByName(ParameterNames[Index]);
check(ScalarParameter);
return Constant(ScalarParameter->DefaultValue);
}
else
{
const FCollectionVectorParameter* VectorParameter = ParameterCollection->GetVectorParameterByName(ParameterNames[Index]);
check(VectorParameter);
const FLinearColor& Color = VectorParameter->DefaultValue;
return Constant4(Color.R, Color.G, Color.B, Color.A);
}
}
virtual EMaterialCompilerType GetCompilerType() const override { return EMaterialCompilerType::MaterialProxy; }
};
class FExportMaterialProxy : public FMaterial, public FMaterialRenderProxy
{
public:
FExportMaterialProxy()
: FMaterial()
, FMaterialRenderProxy(TEXT("FExportMaterialProxy"))
{
SetQualityLevelProperties(GMaxRHIFeatureLevel);
}
FExportMaterialProxy(UMaterialInterface* InMaterialInterface, EMaterialProperty InPropertyToCompile)
: FMaterial()
, FMaterialRenderProxy(GetPathNameSafe(InMaterialInterface->GetMaterial()))
, MaterialInterface(InMaterialInterface)
, PropertyToCompile(InPropertyToCompile)
{
SetQualityLevelProperties(GMaxRHIFeatureLevel);
Material = InMaterialInterface->GetMaterial();
ReferencedTextures = InMaterialInterface->GetReferencedTextures();
FPlatformMisc::CreateGuid(Id);
FMaterialResource* Resource = InMaterialInterface->GetMaterialResource(GMaxRHIFeatureLevel);
FMaterialShaderMapId ResourceId;
Resource->GetShaderMapId(GMaxRHIShaderPlatform, nullptr, ResourceId);
{
TArray<FShaderType*> ShaderTypes;
TArray<FVertexFactoryType*> VFTypes;
TArray<const FShaderPipelineType*> ShaderPipelineTypes;
GetDependentShaderAndVFTypes(GMaxRHIShaderPlatform, ResourceId.LayoutParams, ShaderTypes, ShaderPipelineTypes, VFTypes);
// Overwrite the shader map Id's dependencies with ones that came from the FMaterial actually being compiled (this)
// This is necessary as we change FMaterial attributes like GetShadingModels(), which factor into the ShouldCache functions that determine dependent shader types
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 4358666) #lockdown Nick.Penwarden ============================ MAJOR FEATURES & CHANGES ============================ Change 4073167 by Krzysztof.Narkowicz Added subsurface profile for eye shading model. #jira none Change 4073422 by Krzysztof.Narkowicz Added dual specular for subsurface profile shading model. #jira none Change 4075278 by Krzysztof.Narkowicz Fixed forward reflection/refraction rendering issues, which caused ShaderModels.Material.Refraction to fail. #jira none Change 4084231 by Krzysztof.Narkowicz Dual specular - replace lobe spread with two separate roughness multipliers. Default material roughness is now replaced by an average lobe roughness in order to support non dual specular features. #jira none Change 4092798 by Matt.Collins Some HDR refactoring. Previously the DisplayOutput and ColorGamut were only set in GameUserSettings. I added a Sink that checks the HDR enable. If it's toggled we apply the correct DisplayOutput and ColorGamut for the current platform (this way we get good settings even if you toggle via the console). These settings are still exposed via the console and can be set independently if the user wants. Change 4096954 by Chris.Bunner Added ShaderModelID as scene texture option and renamed existing value to ShaderModelColor to better reflect the internal code. Change 4111285 by Brian.Karis Eye shading update. Added Iris normal (disabled). Removed wrap. Fixed contact shadows. Change 4155261 by Krzysztof.Narkowicz Planar reflection prefilter - use scene viewport size instead of reflection target size in order to keep filter size constant in screen space. This makes planar reflection filter more stable in case of dynamic resolution. #jira none Change 4167644 by Krzysztof.Narkowicz Global shader map is now stored in multiple DDC entries (one per shader filename) instead of keeping everything in a single one. This allows to skip recompilation of unchanged shader files. Change 4183727 by Yuriy.ODonnell Implemented auto-conversion from deferred to DBuffer decals in forward shading mode (when GBuffer is not available). Added support for specular and metallic channels for DBuffer decals, based on work by Chris Bunner. This requires DBufferC to be expanded from 2 to 4 channels, leading to slight increase in DBuffer bandwidth and memory requirements. Appearance of DBuffer decals is affected by this change, as specular and metallic channel values previously hard-coded in DBufferDecalShared.ush. Decals were forced to be non-metallic and have specular of 4% (0.5 numeric value). Now the authored decal material values will be used, which matches GBuffer decals. Added support for DBuffer decals with emissive component. Most decal types can now be automatically converted, with the exception of stain decals. Those are currently approximated as regular translucent decals. Change 4197684 by laz.matech Added a PostProcess Volume test to the map to test that Cinematic Depth of View can be achieved through PPVs as well. Changed the BP_DepthOfFeildPOV asset - I exposed Focus Method so that it can be disabled for the PPV test. Added a second Hair Model head to the InFocusHair test so that it tests in and out of focus hair models (changed the name of the test to FocusHair). #jira none Change 4225614 by Rolando.Caloca DR - Enable depth collision particles on Vulkan mobile Change 4235489 by Uriel.Doyon Removed r.DefaultFeature.PointLightUnits and r.DefaultFeature.SpotLightUnits and replaced them by a single r.DefaultFeature.LightUnits which also controls the units of newly placed rect lights. #jira UE-59525 Change 4260154 by Mark.Satterthwaite Parallelize the creation of Metal archives and libraries when they are broken up into smaller sub-libraries, this should reduce apparent cook time by going wide across threads on the host of the cooker. Change 4270594 by Brian.Karis Fix for textured rect light L pointing away from plane due to approximate diffuse integration. Change 4273361 by Daniel.Wright Particle Cutouts with 8 verts now always use stochastic approach. Circle textures with > 234 edges in the convex hull were overflowing the uint64 calculation of the total number of combinations, causing an infinite loop. Change 4309174 by Mark.Satterthwaite Graph device utilization from the driver monitor stats - really helps see how well the GPU is being used. Change 4310121 by Matt.Collins Optmizing RemoveUniformBuffersFromSource. Brings it from ~20% to ~1.5% in my testing. #jira none Change 4312960 by Daniel.Wright Fix from Stephen Hill for incorrect light grid culling near the near plane Change 4314169 by Richard.Wallis FShaderCache and associated public structures are now marked as deprecated. All FShaderCache code hooks removed from MetalRHI, OpenGLDrv and engine Launch/Shutdown logic. #jira none Change 4320760 by Arne.Schober DR - Remove SV_Coverage from basepass interpolants when running with Masked in early Depth with ForwardShading as otherwise earlyZ will be disabled (as the PS has to run). #jira UE-60992 Change 4334607 by Uriel.Doyon Added custom overrides to reset ULightComponent::Intensity to default (in FLightComponentDetails). Now settings a light Intesity to default resets the brightness to the archetype brightness. This handles correctly cases where the intensity units differs between the two objects. Also changed FLocalLightComponentDetails so that changing intensity units kepts the same brightness (by recomputing the Intensity). #jira UE-61401 Change 4336188 by Rolando.Caloca DR - Added -ReduceThreadUsage so programs can use less threads (for SCW ) Change 4337967 by Rolando.Caloca DR - Remove unused RHISupportsShaderCompression function #rb none [CL 4358751 by Rolando Caloca in Main branch]
2018-09-11 14:44:10 -04:00
ResourceId.SetShaderDependencies(ShaderTypes, ShaderPipelineTypes, VFTypes, GMaxRHIShaderPlatform);
}
// Override with a special usage so we won't re-use the shader map used by the material for rendering
switch (InPropertyToCompile)
{
case MP_BaseColor: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportBaseColor; break;
case MP_Specular: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportSpecular; break;
case MP_Normal: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportNormal; break;
case MP_Tangent: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportTangent; break;
case MP_Metallic: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportMetallic; break;
case MP_Roughness: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportRoughness; break;
case MP_Anisotropy: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportAnisotropy; break;
case MP_AmbientOcclusion: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportAO; break;
case MP_EmissiveColor: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportEmissive; break;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
case MP_Opacity: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportOpacity; break;
Merging from //UE4/Fortnite-Staging up to CL#3673800 based on CL#3664064 from //Fortnite/Main #rb none #lockdown Nick.Penwarden ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS AND/OR RESTRICTED FOLDERS. YOU MUST REVIEW THESE MANUALLY AND APPEND THEM TO THE DESCRIPTIONS FOR THE APPROPRIATE PLATFORMS. ================================================================================================= Change 3662267 by Nick.Darnell Engine - Fixing a bug in GetAccurateRealTime, it wasn't subtracting GStartTime, which if you don't prevents accurate platform time when you try to store it in a float. #jira nojira Change 3662176 by Ben.Marsh Disable image integrity report generation if a debugger is attached, and in editor builds. #jira FORT-55656 Change 3656958 by Luke.Thatcher [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 (D3D12.SyncInterval, D3D11.SyncInterval, r.PS4FlipRate, RHI.SyncIntervalOgl) into one: rhi.SyncInterval - 1 == 60Hz - 2 == 30Hz - 3 == 20Hz [-] Removed large number in XboxOneTime. Adding this arbitrary number prevents us from comparing timestamps from FPlatformTime::Seconds() and various OS callbacks (e.g. flip timings). #jira FORT-50803 Change 3655598 by Lukasz.Furman added filtering for navmesh's low height spans to fix crash on layer partitioning % of span reductions depends on presence of stair or roof building in navmesh tile, changed failsafes in layer code to ignore entire tile if heightfield is too complex to partition instead of reallocating memory #jira FORT-35375 Change 3648972 by Keith.Judge Add analytics to help diagnose default parameter collection buffer issue. +++ REMOVE ONCE CORE ISSUE IS SOLVED +++ #jira FORT-54690 Change 3648756 by Bart.Hawthorne Integrate 3645298 from //UE4/Dev-Networking Deprecate GetNetworkObjectInfo in favor of separate FindNetworkObjectInfo and FindOrCreateNetworkObjectInfo methods. #jira none Change 3643090 by Josh.Markiewicz #UE4 - proper handling of "pending connection lost" - triggered only if a connection is lost and there no "owning actor" to deal with the connection loss -- added Rejoin and CleanedUp states to connection to make sure that the pending connection lost delegate only fires at the appropriate time - delegate returns the unique id of the player if known (still possible to be unknown if connection lost after NMT_Hello) - changed debug output on timeout if the net connection was already in the process of being destroyed -- occurs when game hitches during the pending destroy 2 second wait -- ReceivedAcks should have been called to clean things up quietly in those 2 seconds but blocking the game thread will cause the cleanup to look like a timeout - added userid to UNetConnection::Describe - bad split screen player handling of unique id -- splitscreen uniqueid was overwriting the primary player id -- only store the id on the child connection - added some clarifying comments #review-3642816 @ryan.gerleve, @bob.tellez, @sam.zamani, @bart.hawthorne, @dave.ratti #jira FORT-26776 Change 3639043 by Alex.Thurman Fix CommonTreeView SetSelection to correctly update list navigation, and behave similarly to CommonListView's SetSelectedItem. #JIRA FORT-45841 Change 3632275 by Seth.Weedin #JIRA FORT-54203 - Add clamps to ActiveSound fade interpolation to prevent unwanted volume spikes. Remove 0.01 start time for single-fire audio cues. Should remove the sudden pops sometimes heard when firing weapons, as well as smooth out fade volume in general. Change 3626944 by Josh.Markiewicz #UE4 - added "updates connection status" flag to ServiceConfigMCP - disable updates on Cloud and Friend services (Fortnite only) - removed overloaded ProcessConnectionStatus function in cloud service #jira FORT-53113 Change 3626226 by Stewart.Lynch LLM Update - Memory reductions, Summary page, enum scopes, refactor and cleanup of tags * Remove all static arrays and hard limits from LLM. Everything is now dynamically allocated using the internal LLM allocators. The overhead when LLM is disabled is now only 48K (was 40MB) * re-wrote LLMMap. Now stores an int32 index rather then pointer in the HashMap array. Also, changed the Values to be arrays for structs instead of structs of arrays. Means that the tag can be stored in a single byte. Changed the size of the allocation size from int64 to int32. All this takes the memory down from around 600MB to 100MB. It was 120 bytes per allocation, now 29 bytes. * changed all LLM scopes over to enums. This has a number of benefits; LLM can be enable in Test, less CPU overhead, stored in a byte (LLM overhead /= 8) * summary page for content creators where all lower-level stats are grouped under one Engine stat * renamed ELLMScopeTag enum to ELLMTag * renamed LLM_SCOPED_TAG_WITH_ENUM macro to LLM_SCOPE * removed Tracker arg from LLM_SCOPE and added LLM_PLATFORM_SCOPE macro * fixed GenericPlatformMallocCrash stat. Although it seems not be be used anymore * fixed BackupOOMMemoryPool stat (now shows in both default and platform pages) * added separate LLM enums for XB1, PS4 and D3D12 (PS4LLM.cpp/h etc.) * lots of changes adding/removing/renaming tags * added LLMArray and FLLMObjectAllocator classes * disabled asset tag tracking by default because it takes up so much memory even when not used * enable LLM in all non-shipping builds. In Test the on screendisplay won't show because it uses the stats system but it till still write out the csv. * all the stat macros have been left as they were and can be enabled on the LLM_STAT_TAGS_ENABLED define. These are needed for the asset tagging. * disabled LLM_TRACK_PEAK_MEMORY because there is a problem with the way it adds the peaks for multiple threads. This needs to be fixed. * added a CVar to control the csv write interval: LLM.LLMWriteInterval * added static arrays for the enum tags setup. Easier to manage and removes need for slow switch statements. * renamed FLLMThreadStateManager to FLLMTracker to make it consistent with the enum * fixed program size stat which was broken recently on PS4. This was due to initialisation order and global platform stats setup #jira NONE-01 Change 3622978 by Lukasz.Furman changed WeaponStatus BT decorator to be event driven, fixes AI trying to check ranged weapon abilities without valid weapon includes copy of CL# 3620700 #jira FORT-45914 #review-3622979 John.Abercrombie Change 3622340 by Josh.Markiewicz #UE4 - playerid netconnection variable setup properly on clients and servers for both beacons and game net drivers - ipconnection prints uniqueid with lowleveldescribe #jira fort-0 Change 3621386 by Tim.Tillotson Add the ability to retry HTTP operations by VERB. This allows us to automatically retry cloud save PUT operations. #JIRA FORT-53717 #review-3621317 @Josh.Markiewicz @Ian.Fox @Carlos.Cuello Change 3620517 by Keith.Judge Xbox One - Revert iOS behaviour for the depth bias back to how it was, and make separate XB1 change use its own define to avoid confusion. #jira FORT-53928 Change 3620248 by Lukasz.Furman changed behavior of UBTTask_MoveTo.bStopOnOverlap flag after recent AcceptanceRadius fix, updated comments to be more detailed #jira nojira Change 3616187 by Bob.Tellez #UE4 Throwing an error (for now) if you attempt to use both the malloc profiler and leak detection at the same time since it causes a deadlock. #JIRA UE-0 Change 3613935 by Peter.Knepley More logging on update launcher launching #jira nojira #robomerge rp rn Change 3613537 by Marcus.Wassmer Safety asserts around the MarkPendingKill feature for rendering classes. #jira FORT-50385 Change 3613399 by Arne.Schober Extended ShowMaterialDrawEvents to enable it only in very specific passes and default enabled Depth for Fortnite on PS4 to track down a crash. #RB Marcus.Wassmer #jira FORT-53610 Change 3610794 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce UMG class memory #jira UE-52043 #ROBOMERGE-SOURCE: CL 3610792 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3610144 by Stewart.Lynch General LLM improvements * added tracking for misc task graph tasks (moves 20MB out of Untagged) * renamed EngineTick to EngineMisc * added tracking for FName * added tracking for GC_ProcessObjectArray potential leak * renamed index & vertex buffers stat to Meshes * added hooks for MemPro to track allocations from a single category. Currently defined out. I haven't added MemPro.cpp/h. * removed AVAILABLE_PHYSICAL stat from LLM csv * csv files now include the date in the filename * fixed potential threading bug when reading stat values to csv * made IsDebugMemoryEnabled() always return false in shipping and if not runnong on a dev-kit (PS4). The reason is that the function is a bit hacky, and should only be used for debug purposes, such as displaying the on screen warning. * added lots more scopes * started changing Stat scopes to enum scopes. Stat scopes will be phased out. * added tracking of FName memory * added llmplatform tracking for XBoxSymbols * added llm tracking for CPU symbol allocations (20MB) * wrote an allocator for XBoxOneStack reading so that it doesn't go through Malloc and get tracked by LLM. * added tracking for GC * fixed tracking for TransientMemoryAllocator * added tracking for networking memory * added more audio memory tracking * added tracking for blueprints * added tracking for static meshes * show on screen warning if debug memory is enabled * added tracking for particles * renamed Phys to PhysX and added more scopes * renamed Slate to UI and added more scopes * much better coverage of networking memory * improved coverage of audio #jira FORT-53420 Change 3610136 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce size of UStaticMeshComponent by 224 bytes (cumulative, 64 bytes exclusive) Reduce size of UPrimitiveComponent by 176 bytes (cumulative, 64 bytes exclusive). Reduce size of USceneComponent by 112 bytes. Reduce size of FLightingChannels from 3 bytes to 1. Reduce size of FBodyInstance by 16 bytes. #jira FORT-52043 #ROBOMERGE-SOURCE: CL 3610134 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607937 by robomerge #ROBOMERGE-AUTHOR: paul.moore #jira FORT-53105 - Fix websocket not providing information when the peer closes the connection. #ROBOMERGE-SOURCE: CL 3607933 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607042 by Bart.Hawthorne Move replay.Loop functionality into the demo net driver and rename it demo.Loop #jira none Change 3605448 by robomerge #ROBOMERGE-AUTHOR: seth.weedin #Athena - Pass owner to ActiveSounds created using PlaySoundAtLocation/PlaySound2D to allow "Limit to Owner" concurrency rules to work. Hook up for weapon sounds. #JIRA FORT-53180 #ROBOMERGE-SOURCE: CL 3605443 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3604787 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Initial support for hotfixing live assets from .ini files - This allows clients and server to patch certain assets in memory whenever .ini file hotfixes are downloaded - Only CurveTables and DataTables are supported for now - The new asset content must be in Json format, the same format the editor uses for importing - Assets that are hotfixed will be synchronously loaded if they're not already in memory. They'll be retained in memory afterwards. - IMPORTANT: Json data must be supplied on a single line, and all double quotes must be escaped! - The changes must go in the Game.ini file and use the following syntax: [AssetHotfix] +CurveTable=("/Game/Folder/MyCurveTable","[{\"Name\":\"Default\"}]") +DataTable=("/Game/Folder2/MyDataTable","[{\"Name\":\"Foo\"}]") #jira FORT-52099 [CODEREVIEW] frank.gigliotti [FYI] peter.knepley,bob.tellez #ROBOMERGE-SOURCE: CL 3604784 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3602067 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Loading time improvements - This shaves off up to 10 seconds of load time on PS4 in Athena Details: - Fixed multiple sub-levels not being able to be enqueued for loading in a single client frame. Athena has ~300 sub-levels, so this ended up wasting up many seconds. - Fixed 3D world being rendered while loading (frees up game thread cycles for throttled streaming) - UWorld::AllowLevelLoadRequests() was not allowing load requests to go through while an async load was in progress and the match had started. It now allows this as long as the world isn't being rendered (loading screen.) - Eliminated extra 2 second delay before loading screen is dismissed (in Athena only) - Note: A side effect of this change is that the progress bar may not update as smoothly on loading screen. We'll look at tuning the throttle settings if it ends up being a problem. [CODEREVIEW] ori.cohen #jira AT-1477 #ROBOMERGE-SOURCE: CL 3602061 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3601951 by Luke.Thatcher [FORTNITE] [PS4] [!] Fix memory stats in the old PS4 memory system - Physical memory stat now includes garlic and onion allocations. CPU OOMs will result in "AvailablePhysical" being close to 0. - Added garlic, onion and defrag stats to the platform memory stats struct. - Added fixed pool sizes to platform memory stats. - Modified the Fortnite heartbeat logging to include extra details of PS4 fixed sized pools. #jira FORT-52910 Change 3600340 by robomerge #ROBOMERGE-AUTHOR: wes.hunt All Fort analytics events now contain a GameState attribute indicating the active GameState ClassName when the event is sent. Added some new context to crashreporter to help identify Athena matches near and long term. * Near Term: GameNameSuffix - set via FCoreDelegates::CrashOverrideParamsChanged * Added bools to the params to indicate WHICH ones are changing * Allows you to set only some values, and clear them out. * Hooked up in FortGameState::PostInitializeComponents. * FortGameState clears it (for returning to main menu). * FortGameStateAthena sets it (for going into an Athena match). * Only does this when it's a true GameMode GameState instance (ie, not PIE) so PIE crashes aren't modified. * Long Term: GameStateName - set via FCoreDelegates::GameStateClassChanged. * This works for ANY crash on ANY game. * Hooked up in GameState::HandleMatchIsWaitingToStart. #jira AT-1457 #jira AT-519 [CODEREVIEW] peter.knepley,josh.markiewicz #ROBOMERGE-SOURCE: CL 3600278 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3597593 by Ben.Zeigler #jira FORT-50722 Fix issues where AssetBundles weren't being correctly updated during cook, which is blocking both Noland and Abercrombie Partial copy of CL #3402335 and #3526538 #robomerge rp, rn Change 3597577 by Luke.Thatcher [FORTNITE] [PS4] [~] Modified the way memory is allocated on Playstation to make more memory available to the CPU. - Previously the amount of texture memory wasn╞t fixed due to the way the defrag memory is allocated on PS4. This meant we had to have a significant amount of slack. - With the new configuration, we have a guaranteed texture memory pool, so the slack can be significantly smaller, meaning we can give more memory to the CPU, which is where most of our memory pressure is. #jira FORT-50825 #jira FORT-49688 #jira FORT-49695 #jira FORT-50054 Change 3596556 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Enable GC clustering for actors and blueprints in Fortnite - This shaves off about 10 ms on GC frames in Athena on PS4 (~52 ms -> 42 ms) - Clustering doesn't work on building actors because they're very dynamic, but general Fort static meshes and blueprints are clustered! - This gets us into the realm of shippability on console for very large UObject counts [FYI] bob.tellez,peter.knepley,michael.noland #jira AT-1440 #ROBOMERGE-SOURCE: CL 3596552 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3593994 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Force largest distance field atlas size in Athena - We now force the largest distance field atlas size before preloading Athena content (512x512x1024 = 256 MB). This helps with load times because it's expensive to re-create this texture on consoles, and typically it gets resized over a dozen times. - Added new CVar "r.DistanceFields.ForceMaxAtlasSize" (defaults to zero) - Important: Currently we never "reset" this atlas texture. This will be a problem when going back to play Campaigns after preloading to play Athena. I will look into this soon! [CODEREVIEW] peter.knepley,marcus.wassmer,michael.noland,daniel.wright #jira AT-1477 #ROBOMERGE-SOURCE: CL 3593992 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592096 by robomerge #ROBOMERGE-AUTHOR: ben.salem Prototype of gauntlet memory soak test. Not fully fiinished, but want changes in tonight's cook so we can experiment on cooked build tomorrow morning. #jira FORT-0 #ROBOMERGE-SOURCE: CL 3592025 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592085 by robomerge #ROBOMERGE-AUTHOR: mike.fricker HLOD: Added support for a fixed distance override via CVar - Use this to force all HLODs to transition at a specific distance, regardless of their TransitionSize/MinDrawDistance/LODDrawDistance - New CVar: r.HLOD.DistanceOverride (defaults to 0) - Fortnite uses 350m for this distance, fornow [CODEREVIEW] jurre.debaare #jira AT-1462 #ROBOMERGE-SOURCE: CL 3591929 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3587391 by Michael.Noland Fortnite: Lots of memory tracking stuff - Added memory logging to game state transitions and overall health tracking for the entire session - Added support for Gauntlet-based tests to Fortnite - Enabled the Gauntlet plugin (and fixed spaces instead of tabs in the .uproject file) - Added code to set gauntlet state based on the current subclass of AFortGameState - Added a base controller and a memory report controller (WIP, ported from equivalents in Paragon) - Updated FortniteClient to use MALLOC_LEAKDETECTION=1, PLATFORM_USES_FIXED_GMalloc_CLASS=0, and AllowASLRInShipping=false in Development builds (may enable them in Test builds in a future CL, to match Paragon) #jira FORT-50567 Change 3583307 by Peter.Knepley Need non-jittered ViewToClip matrix in order to do "after tonemapper" postprocess blendable material that's positioned in view space Modify the AttachScope material function to use "ViewSpaceTransformToClipSpace" instead of going back to world space first. This also means it can utilitize the ViewToClipNoAA matrix. #jira AT-733 Change 3582378 by Luke.Thatcher [FORTNITE] [~] Unify Xbox and PS4 scalability settings and device profiles. - All Xbox and PS4 r. CVars are overriden in their platform's Scalability.ini file. The device profile only selects sg. groups. - Fixed the Neo 4K profile for Fortnite. Previously players with 4K monitors would choose the Neo_4K profile, which looks worse than Neo, but still renders at 1080p. - Console specific settings have to live in the Base/Default .ini's, as the cooker doesn't load the console specific files. This is fixed in UE4 Main. #jira FORT-50206 Change 3580934 by Luke.Thatcher [FORTNITE] [PS4] [+] Support different garlic and onion heap sizes in the old memory system for base and neo. - Neo has 512 MB more direct memory than a base kit. - Increased the garlic heap size by 416 MB on Neo, and CPU heap by 96 MB. #jira FORT-50206 Change 3576664 by Bart.Hawthorne Re-enable Oodle and add Mac implementation. Also includes fixed oodle libraries by MichaelT. #jira FORT-49986 #tests Connected to PC server with editor -game build on Mac in Athena Change 3575671 by Nick.Darnell Athena - The gameplay ability system now supports adding Gameplay Cue's with params. Now using cues instead of gameplay effects in order to notify when the bandaging/shielding begin and end. THe new method should properly show and disappear on time, b/c it's all client side. Added a way in the Athena Context to easily hook gameplay "UI" cues that are rebroadcast from the Athena Pawn. #jira AT-644 Change 3575534 by Peter.Knepley Ability montage replication optimizations #jira AT-955 Change 3573305 by Lukasz.Furman disabled path section update when crowd simulated AI is moving through navlink, fixed AI getting stuck in some corners #jira FORT-49748 Change 3566775 by John.Abercrombie Optimizations from Dev-Athena - Tested with PIE & and 2 Player local server game #ue4-athena - (merge CLs 3345771 and 3363030 from Framework) - Refactored CharacterMovementComponent determination of net send rate when combining moves into a virtual function GetClientNetSendDeltaTime(). Added configurable values to GameNetworkManager under [/Script/Engine.GameNetworkManager]. For Fortnite, set unthrottled (<= 10 player) limit to 60Hz (from 90Hz), and trying throttled at 30Hz (from 45Hz). #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545535 by Zak.Middleton on 2017/07/19 20:15:17. #ue4-athena - (merge CL 3377054 from Framework) - Fix CharacterMovementComponent updated with very high delta time on server when initially joining. Make sure the ServerTimeStamp is initialized to current world time rather than zero to prevent large delta. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545452 by Zak.Middleton on 2017/07/19 18:57:45. #athena - If network smoothing mode is not linear, don't replicate ReplicatedServerLastTransformUpdateTimeStamp. Only AI use linear smoothing in FN. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545559 by Zak.Middleton on 2017/07/19 20:47:18. #ue4-athena - Converted all RPCs on UCharacterMovementComponent to be on ACharacter instead, to avoid the bandwidth overhead of calling RPCs on a component. Existing overrides of _Implementation and _Validate functions should remain unchanged. If for some reason someone overrode the old RPC virtuals, those are now non-virtual on UCharacterMovementComponent but are still virtual on ACharacter. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3557564 by Zak.Middleton on 2017/07/26 20:13:43. #ue4-athena - Throttle character movement server corrections and acks to the client based on time since last adjustment. Cuts down on network traffic for character movement. Added configurable settings to control this. Set times to zero to disable this. - NetworkMinTimeBetweenClientAckGoodMove - NetworkMinTimeBetweenClientAdjustments - NetworkMinTimeBetweenClientAdjustmentsLargeCorrection - NetworkLargeClientCorrectionDistance #ue4-athena - Perf: (EditMerge CL 3492200 from Dev-Framework): Always reset the input array in AActor::GetComponents(), but do so without affecting allocated size. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561669 by Zak.Middleton on 2017/07/28 14:16:19. #ue4-athena - Perf: (EditMerge CL 3468253 from Dev-AnimPhys): Remove the need for calling constructors for physx PxRaycastHit in the dynamic hit result buffer. Saves 30% of the cost of doing small raycasts. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561672 by Zak.Middleton on 2017/07/28 14:17:12. #ue4-athena - Perf: (EditMerge CL 3359553 from Dev-Framework): Optimization in CharacterMovement tick to not extract transform values twice. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561674 by Zak.Middleton on 2017/07/28 14:18:04. #ue4-athena - Perf: (EditMerge CL 3426174 from Dev-Framework): Avoid call to virtual getSimulationFilterData() to only use it when needed in PreFilter if we actually have items in the IgnoreComponents list (which is rare). The sim filter data 'word2' stores the component ID. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561709 by Zak.Middleton on 2017/07/28 14:32:11. #ue4-athena - Perf: (EditMerge CL 3382054 from Dev-Framework): Optimize CharacterMovementComponent::GetPredictionData_Client_Character() and GetPredictionData_Server_Character() to remove virtual calls. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561856 by Zak.Middleton on 2017/07/28 15:11:57. #ue4-athena - Use less bandwidth for CharacterMovement RPCs when the character is not standing on any component (ie during jumps and falling). Added separate "...NoBase()" versions of ServerMove() and ServerMoveDual(). Undid part of 3557564 and restored the CMC functions to be virtual, and removed virtual keyword from matching Character functions, so that overrides are in one consistent place. Also guarantees backwards compat for licensees. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3564858 by Zak.Middleton on 2017/07/31 15:24:39. #jira Fort-1 Change 3562825 by Chris.Gagnon Added CommonCustomNavigation Widget, this widget can be used to capture navigation requests to handle in custom ways. #jira FORT-0 Change 3562098 by Josh.Markiewicz #UE4 Encryption token/ack changes - moved encryption token request/ack to delegates - moved FNetworkNotify to NetworkDelegates.h - moved connection logic out of GameInstance and back into networking code -- GameInstance sends an enum and the network code does the right thing based on that #review-3559694 @ryan.gerleve #tests PC dedicated server connections golden path and forced failures #jira FORT-0 Change 3559354 by Luke.Thatcher [FORTNITE] [PS4] [^] Merging (as edit) support for setting flip rate on PS4 (CLs 3555687 and 3558843) from //Fortnite/Dev-Athena/... to //Fortnite/Main/... - Allowed rates are now 60Hz, 30Hz and 20Hz. - Exposed by r.PS4FlipRate CVar, set to 60Hz by default. Requires r.Vsync 1. #jira FORT-49463 Change 3532644 by Jeff.Campeau Fix mapping current culture to movie audio channels using data table to map languages to track indices. Don't rewind cinematics (they all start from the begining because we load them and play them once). Seeks cause us to have to redecode video frames at a large perf cost. Delay cutscene playback by 0.5 seconds to give us time to build up a buffer of decoded video. (Temporary workaround for audio/video sync). Generic implementation for getting current languages in BP. Fix more issues with calling into media source functionality when using the source reader (potential hangs). #jira FORT-44376,FORT-48209,FORT-48040 #testedon Preflight from last night combined with Bob's changes from today clear all known issues. This change tested on Xbox and PC multiple times each. Change 3527761 by Chris.Gagnon Fixed various issues in the widget switcher, also added Advanced calls that allow the user to specify if activation/deactivation should occur. #jira FORT-47988, FORT-47984 Change 3525390 by Jeff.Campeau Remove media player log spam #jira FORT-47393 #testedon compiled client Change 3518692 by Chris.Gagnon Added CleanOperation Adding which will remove unneeded op combinations from the op queue. Also added the ability to suspend starting operation queue processing to allow complex operations to accumulate and in turn allow the Clean Op adding code to be effective. GameFeedback, and the widget switcer utilize this to avoid unnesacary activations of a screen that is immediately being deactivated. Root issue of the mentioned bug is that activation of the quest screen created a latent navigation du to the deferal of scrolling into view. This is still an issue in general, there isn't much we can do about it. Other than avoid activating a panel that will deactivated that frame as we did with the code changes in this CL. #jira FORT-47395 Change 3514658 by Jeff.Campeau Fixed a media player threading issue where the OnMediaOpened event could be called before the media Init script completed. Moved the event Cinematic used when setting up and playing media after media file load to use a delayed event from the MovieWidget so that it will always happen after the movie widget processing. Fixed an issue that could cause samples to leak in MfMedia plugin and cause ReadSample to lockup. Fixed an issue where a default texture is displayed for movies before the movie starts playing (the player may be active before the first frame of the video is decoded). Default is now all black as it is expected that this texture will be displayed for several frames. #jira FORT-46801 #testedon Xbox through rocket launch cinematic including vintertip for stairs, skill tree nodes, and victory result video Change 3507896 by Ryan.Gerleve Changed the net.UseEncryptionToken to be more useful and renamed it to net.AllowEncryption. This cvar, if 0, will prevent the PacketHandler from adding the configured encryption component, and prevent UPendingNetGame and AOnlineBeaconClient from filling out the EncryptionToken parameter of NMT_Hello - which prevents the extra encryption handshake connection step. #jira FORT-46878 #review-3507897 @josh.markiewicz Change 3503928 by Ryan.Gerleve Add safety checks around some of the encryption functionality. Fixes a server crash seen during load testing. #jira FORT-46772 #review-3503929 bob.tellez #robomerge ReleaseNext [CL 3673993 by Bob Tellez in Main branch]
2017-09-30 03:42:01 -04:00
case MP_OpacityMask: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportOpacity; break;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
case MP_SubsurfaceColor: ResourceId.Usage = EMaterialShaderMapUsage::MaterialExportSubSurfaceColor; break;
default:
ensureMsgf(false, TEXT("ExportMaterial has no usage for property %i. Will likely reuse the normal rendering shader and crash later with a parameter mismatch"), (int32)InPropertyToCompile);
break;
};
CacheShaders(ResourceId, GMaxRHIShaderPlatform);
}
virtual bool IsUsedWithStaticLighting() const { return true; }
/** This override is required otherwise the shaders aren't ready for use when the surface is rendered resulting in a blank image */
virtual bool RequiresSynchronousCompilation() const override { return true; };
/**
* Should the shader for this material with the given platform, shader type and vertex
* factory type combination be compiled
*
* @param Platform The platform currently being compiled for
* @param ShaderType Which shader is being compiled
* @param VertexFactory Which vertex factory is being compiled (can be NULL)
*
* @return true if the shader should be compiled
*/
virtual bool ShouldCache(EShaderPlatform Platform, const FShaderType* ShaderType, const FVertexFactoryType* VertexFactoryType) const override
{
// Always cache - decreases performance but avoids missing shaders during exports.
return true;
}
virtual TArrayView<const TObjectPtr<UObject>> GetReferencedTextures() const override
{
return ReferencedTextures;
}
////////////////
// FMaterialRenderProxy interface.
virtual const FMaterial* GetMaterialNoFallback(ERHIFeatureLevel::Type InFeatureLevel) const override
{
if (GetRenderingThreadShaderMap())
{
return this;
}
return nullptr;
}
virtual const FMaterialRenderProxy* GetFallback(ERHIFeatureLevel::Type InFeatureLevel) const override
{
return UMaterial::GetDefaultMaterial(MD_Surface)->GetRenderProxy();
}
virtual bool GetParameterValue(EMaterialParameterType Type, const FHashedMaterialParameterInfo& ParameterInfo, FMaterialParameterValue& OutValue, const FMaterialRenderContext& Context) const override
{
return MaterialInterface->GetRenderProxy()->GetParameterValue(Type, ParameterInfo, OutValue, Context);
}
// Material properties.
/** Entry point for compiling a specific material property. This must call SetMaterialProperty. */
virtual int32 CompilePropertyAndSetMaterialProperty(EMaterialProperty Property, FMaterialCompiler* Compiler, EShaderFrequency OverrideShaderFrequency, bool bUsePreviousFrameTime) const override
{
// needs to be called in this function!!
Compiler->SetMaterialProperty(Property, OverrideShaderFrequency, bUsePreviousFrameTime);
int32 Ret = CompilePropertyAndSetMaterialPropertyWithoutCast(Property, Compiler);
return Compiler->ForceCast(Ret, FMaterialAttributeDefinitionMap::GetValueType(Property), MFCF_ExactMatch | MFCF_ReplicateValue);
}
/** helper for CompilePropertyAndSetMaterialProperty() */
int32 CompilePropertyAndSetMaterialPropertyWithoutCast(EMaterialProperty Property, FMaterialCompiler* Compiler) const
{
if (Property == MP_EmissiveColor || Property == MP_SubsurfaceColor)
{
const bool bIsOpaqueOrMasked = IsOpaqueOrMaskedBlendMode(*MaterialInterface);
UMaterial* ProxyMaterial = MaterialInterface->GetMaterial();
check(ProxyMaterial);
FExportMaterialCompiler ProxyCompiler(Compiler);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
const uint32 ForceCast_Exact_Replicate = MFCF_ForceCast | MFCF_ExactMatch | MFCF_ReplicateValue;
switch (PropertyToCompile)
{
case MP_EmissiveColor:
// Emissive is ALWAYS returned...
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
return MaterialInterface->CompileProperty(&ProxyCompiler, MP_EmissiveColor, ForceCast_Exact_Replicate);
case MP_BaseColor:
// Only return for Opaque and Masked...
if (bIsOpaqueOrMasked)
{
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3362413) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3281394 on 2017/02/01 by Chad.Garyet one more try on the name here, with the extension this time Change 3286009 on 2017/02/03 by Jon.Nabozny Fix SkelMeshMerge duplicating Skeleton sockets. #jira UE-39690 Change 3288374 on 2017/02/06 by Jon.Nabozny Fix MaterialIndex checks in USkinnedMeshComponent::GetMaterial Change 3288640 on 2017/02/06 by Jon.Nabozny #rn Fix UPhysicsConstraintComponent details to allow modification of MaxForce, Stiffness, and Damping for Linear and Angular constraints. #jira UE-40261 Change 3288978 on 2017/02/06 by Jon.Nabozny Add code to debug for duplicate sockets in UQAMeshMergeComponent::MergeMeshes. Change 3290332 on 2017/02/07 by Marc.Audy Add AnimPhys object version Change 3290753 on 2017/02/07 by Jon.Nabozny Update CoM documentation for CoM offset. #jira UE-40136 Change 3290783 on 2017/02/07 by Jon.Nabozny Update mass dependent wheel properties in UWheeledVehicleMovementComponent when mass is updated. #jira UE-39820 Change 3292286 on 2017/02/08 by Jon.Nabozny Fix OSSNull query filtering. #codereview: John.Pollard, Josh.Markiewicz, JohnHenry.Carawon #jira: UE-37512 Change 3294138 on 2017/02/09 by Thomas.Sarkanen Add more descriptive name for sub-struct members in property tracks Change 3294139 on 2017/02/09 by Thomas.Sarkanen Moving to individual structs for limbs Change 3294140 on 2017/02/09 by Thomas.Sarkanen Updated base human asset to reflect limb changes Updated map to just contain the mannequin for now Updated Sequence to contain some default IK keys Change 3294178 on 2017/02/09 by Thomas.Sarkanen Fix shadow variable warning Change 3294554 on 2017/02/09 by Thomas.Sarkanen Fixed persistent limb drift issues with non-participant bones Still have rotational drift with IK chain nodes (still to fix). Also fixes the addition of initial keys on binding when animating. Also fixes not being able to pick the widget sometimes when picking nodes in the tree. Change 3294826 on 2017/02/09 by Chad.Garyet fixing up busted defaultvalues on physx and precompiled binaries Change 3294827 on 2017/02/09 by Thomas.Sarkanen CIS fixes for non-editor and monolithic builds Change 3296363 on 2017/02/10 by Thomas.Sarkanen Fix bone drifting Re-using local transforms then resetting each update pass was accumulating error (via GetRelativeTransform), causing limbs to drift. To address this, simply set the global transform in the case where we know the local transform wont change. Also optimized the hierarchy API a little & prevented excess work when nothing changes. Change 3296393 on 2017/02/10 by James.Golding Add support for clicking on PoseDriver targets in viewport Change 3296465 on 2017/02/10 by Thomas.Sarkanen Removed component visualizer (no longer used) Change 3296467 on 2017/02/10 by Thomas.Sarkanen Fixed extra keys being made when switching IK/FK mode. Now we only key on user action. Added ability to hide nodes (advanced setting) and manipualtors (on playback) Change 3296554 on 2017/02/10 by Thomas.Sarkanen Fixed up some workflow issues Widget visibility and the ability to move actors around is now corrected by calling the base FEdMode class functions appropriately. Added a focus of the chosen actor so orbiting the actor is easier. There is a hitch when we do this (probably because Sequencer is re-initialized the next frame), so we miss the nice transition. Change 3296621 on 2017/02/10 by Thomas.Sarkanen Added ability to specify manipulator type when adding Not exposed in the 'add' UI yet, just enough to allow me to batch-change the ones we have for now Also tweaked default extents for box manipulators. Change 3296622 on 2017/02/10 by Thomas.Sarkanen Changed FK manipulators to boxes Change 3296740 on 2017/02/10 by James.Golding Added bOnlyDriveSelectedBones option to PoseDriver Change 3296957 on 2017/02/10 by James.Golding Fix AnimNode_PoseHandler using mesh bone index not compact bone index for setting up BoneBlendWeights array Change 3297092 on 2017/02/10 by Jon.Nabozny #rn Fix InstancedStaticMesh not properly creating physics state when Stationary. #JIRA UE-39876 Change 3297160 on 2017/02/10 by Ori.Cohen Temp fix for physx immediate mode crashing when 0 rows are generated. Change 3297203 on 2017/02/10 by Ori.Cohen Temp fix for immediate mode crash when free joints are batched together #JIRA UE-41026 Change 3297326 on 2017/02/10 by Jon.Nabozny PR #2965: Update comments in several classes within demo projects to match style present and provide more detail for new users (Contributed by Markyroson) Changed some of the comment blocks to multiple single line (inside definitions). This is for consistency with our codebase. #JIRA UE-38981 Change 3297618 on 2017/02/10 by Charles.Anderson Arcblade - GDC - Created a new mor polished Phat for this. Probably not gonna use it. - Created a Ragdoll asset. Need to talk to Ori about getting it working better. Change 3297799 on 2017/02/10 by mason.seay Test map for testing audio attenuation Change 3297940 on 2017/02/10 by Jon.Nabozny #rn Fix ConstraintComponentVisualizer with AngularOffset. Needed to apply local transform before world. #JIRA UE-39597 Change 3297947 on 2017/02/10 by Chad.Garyet adding automated test build option Change 3299203 on 2017/02/13 by Thomas.Sarkanen Fixed local coord system issues with rotation (etc). Delta transforms are supplied in the space we specify in GetCustomDrawingCoordSystem(), so we now perform our operations in that space, then convert back when applying to the animation. Fixed up to allow for animating actors with transformed skeletal mesh components. Also added some proximity scaling to manipulators. Change 3299220 on 2017/02/13 by Thomas.Sarkanen Fixed CIS missing include Change 3299343 on 2017/02/13 by Lina.Halper Spine twist/roll check in - control points are disabled #rb: Thomas.Sarkanen Change 3299388 on 2017/02/13 by James.Cobbett Updating QA-Physics map Change 3299518 on 2017/02/13 by Lina.Halper fix build issue #rb: none Change 3299701 on 2017/02/13 by Ori.Cohen Add finer grain physx stat information. Change 3299894 on 2017/02/13 by Ori.Cohen Added LOD support for immediate mode physics Change 3299906 on 2017/02/13 by James.Cobbett Updating QA-Collision map with new test scenarios Change 3299962 on 2017/02/13 by Ori.Cohen Fix shadow warning Change 3300100 on 2017/02/13 by Lina.Halper - renamed Constraint Axes option to FFilterOptionPerAxis : was going to reuse it for something else but didn't have to but left name changed because it makes more sense - enable control point reading part - twist/roll controll is localspace reader - BaseHuman #rb: none #code review:Thomas.Sarkanen Change 3300206 on 2017/02/13 by Ori.Cohen Rename Ragdoll node to RigidBody node Change 3300899 on 2017/02/13 by Alan.Noon Migrating Paragon Origin and Origin Small maps content. Change 3301279 on 2017/02/14 by Jurre.deBaare Mesh paint refactor Change 3301288 on 2017/02/14 by Jurre.deBaare Incremental CIS fixes Change 3301290 on 2017/02/14 by Jurre.deBaare Another CIS fix Change 3301311 on 2017/02/14 by Thomas.Sarkanen Fixed non-editor builds Change 3301313 on 2017/02/14 by Jurre.deBaare More CIS fixes Change 3301315 on 2017/02/14 by Jurre.deBaare Include CIS fix Change 3301333 on 2017/02/14 by Jurre.deBaare Non-Unity CIS fixes Change 3301388 on 2017/02/14 by Benn.Gallagher CIS fix for cloth create panel Change 3301445 on 2017/02/14 by Benn.Gallagher Last few changes over from the mesh paint branch hooked up LOD dropdown box Moved asset selection out of details panel Change 3301527 on 2017/02/14 by mason.seay Deleting unneeded map Change 3301531 on 2017/02/14 by mason.seay Renaming Map to fix naming scheme Change 3301558 on 2017/02/14 by Ori.Cohen Fix physx stats not being counted properly as we were not using static data. Change 3301604 on 2017/02/14 by Ori.Cohen Fix static analysis warning Change 3301615 on 2017/02/14 by Jurre.deBaare All. The. CIS. Fixes Change 3301630 on 2017/02/14 by mason.seay Updating Map for testing Change 3301697 on 2017/02/14 by mason.seay Final change to map Change 3301734 on 2017/02/14 by Jurre.deBaare - Crash CTRL-Z when having cloth painter and paint mode open - Fill action not being undo-able - Import vertex colors should default to to-instance - Paint mode buttons in level painter are now toggle buttons (clarifies UI for user) Change 3301763 on 2017/02/14 by Jurre.deBaare - Fix for asset without engine version - Fix for crash due to missing skeletal mesh permutation in mesh paint view modes Change 3302421 on 2017/02/14 by Lina.Halper Fixed issue where spline gets incorrect position when it has many control points. #rb: Thomas.Sarkanen Change 3302667 on 2017/02/14 by Lina.Halper - added spine control points to work - FK/IK switch isn't working great yet. Don't try - disabled all twist/roll handling since control point itself can twist also and they were conflicting each other - added option to add fk nodes, change parnets - fixed issue with drawing skeleton drawing, when parents weren't added yet. - Added neck/head/body control #code review: Thomas.Sarkanen #rb: none Change 3303200 on 2017/02/14 by Alan.Noon Collision shapes for Immediate Mode Ragdolls Change 3303201 on 2017/02/14 by Alan.Noon Adding Origin, Full Map Change 3303477 on 2017/02/15 by James.Golding Add Get and SetComponentForAxis to FVector and FRotator Change 3303478 on 2017/02/15 by James.Golding Add support for multiple source bones to PoseDriver Change 3303480 on 2017/02/15 by James.Golding Added per-scene frame number, handles cases like motion blur caching. Refactored GPUSkinCache to have an explicit frame advance function, called after all viewports have rendered in game/editor, PostRenderAllViewportClients. (Original author Chris.Bunner) Change 3303513 on 2017/02/15 by Jurre.deBaare CIS: Linux file name case fixes and incorrect pragma once Change 3303576 on 2017/02/15 by Thomas.Sarkanen Sub-sequence sections can now override how they instance their template Added UMovieSceneSubSection::GenerateTemplateForSubSequence. This just performs the original call to SubSequenceStore.GetCompiledTemplate in the dcefault case. Allowed non-const access to FMovieSceneEvaluationTemplate::GetTracks so they can be potentially modified once instanced. Added access for FMovieSceneEvaluationTrack::ChildTemplates. Change 3303578 on 2017/02/15 by Thomas.Sarkanen Rich curves can now be transformed post-copy correctly Using GetKeyIterator rather than aquiring the iterator directly makes sure we have valid key handles, which we dont if we have just copied the curve. Change 3303579 on 2017/02/15 by Thomas.Sarkanen Added GetLinkNode to complement SetLinkNode in FAnimNode_Base Change 3303580 on 2017/02/15 by Thomas.Sarkanen Made the logic around when sub-tracks can be primed for recording more specific Prevents rig control sub tracks form being able to be primed. Change 3303581 on 2017/02/15 by Thomas.Sarkanen Allowing alpha on rig tracks to work Alpha curve is now pushed down to tracks on template compilation along with bone masks & additive flag. Sequencer anim instance updated to use new flags. Structure altered to accomodate layered blending for masked body parts (should probably push this to the regulat sequence instance too). Moved anim node to local space (now it is just derived form FAnimNode_Base). Also fixed opening/binding order issues - Now you should be able to open a sequence, bind to an actor and create a new rig control in a sequence in any order. Change 3303582 on 2017/02/15 by Thomas.Sarkanen Fixed UE4Game CIS - Moved AddConstraint() to non-editor-only Also fixed crash in property chain iteration (for non-existent array properties) Change 3303594 on 2017/02/15 by Jurre.deBaare Fix for crash on deleting painted actors Change 3303636 on 2017/02/15 by Lina.Halper -remove temp code to add constraints. - they serialize, so once you add them you don't have to add these anymore. This will move to editor menu soon. #rb: none Change 3303648 on 2017/02/15 by Martin.Wilson Fix reimport crashes if the animation uses additive transform tracks. #jira UE-41929 #jira UE-41921 Change 3303652 on 2017/02/15 by Benn.Gallagher Added merged Ice mesh with new simulation mesh to match mesh from APEX version. Change 3303660 on 2017/02/15 by Benn.Gallagher map update for clothing demo Change 3303662 on 2017/02/15 by Benn.Gallagher State machine update for Ice anim Change 3303676 on 2017/02/15 by mason.seay Adjusted sound actor location Change 3303689 on 2017/02/15 by Benn.Gallagher Updated Ice mesh to have clothing present on the back part of the dress Change 3303691 on 2017/02/15 by Jurre.deBaare CIS fixes for pose driver details Change 3303704 on 2017/02/15 by Lina.Halper Add FK limb links - enabled temp code to add constraints. It's not serialized from BP editor, so this has to be added everytime. Will fix this in the futre check-ins #rb:none Change 3303716 on 2017/02/15 by Thomas.Sarkanen Updated manipulators to always draw in front of the mesh Added material & enabled content for the plugin. Change 3303730 on 2017/02/15 by thomas.sarkanen Resaving manipulator material with correct engine version Change 3303754 on 2017/02/15 by Thomas.Sarkanen Fix manipulators popping to max size when manipulating Change 3303835 on 2017/02/15 by Thomas.Sarkanen Fix hitch by not displaying spawned objects if we dont have a sequence focused. Change 3303843 on 2017/02/15 by Lina.Halper Added normalize rotation on inputs/outputs #code review: Thomas.Sarkanen #rb: none Change 3303916 on 2017/02/15 by Jurre.deBaare CIS: Linux incorrect pragma once Change 3304084 on 2017/02/15 by James.Golding Update pose driver test after addition of multi-bone input Change 3304188 on 2017/02/15 by James.Golding Add custom remap curve option per-target in PoseDriver Change 3304189 on 2017/02/15 by James.Golding Fix CIS for ControlManipulator.cpp Change 3304210 on 2017/02/15 by Alan.Noon Added hidden collision objects for stairs area. Added brighter lighting on plinth area. Hooked up minion placement randomization. Added 100 minions to minion level for ragdol Change 3304327 on 2017/02/15 by Alan.Noon Created new Persistent levels for each Anim Tech demo, which loads in Origin_Small_P Change 3304337 on 2017/02/15 by Alan.Noon renamed minion demo level for GDC Change 3304508 on 2017/02/15 by Lina.Halper - You can see constraints in the tree view (full edit mode) - YOu can add or update constraints (using update constraints button) - You can delete constraints - Cleaned up constraints interface #rb: none #code review: Thomas.Sarkanen Change 3304537 on 2017/02/15 by chris.evans !N Initial PSD test [chrise] Change 3304551 on 2017/02/15 by James.Golding Fix missing 'break's from SetComponentForAxis in FVector and FRotator Change 3304570 on 2017/02/15 by Chris.Evans !N Source assets for psd test #RB none Change 3304964 on 2017/02/15 by Lina.Halper fix build issue #code review: James.Golding #rb: none Change 3304998 on 2017/02/15 by Chris.Evans !B Checking in correct FBX #RB none Change 3305314 on 2017/02/15 by chris.evans !N Adding materials driven !N Adding 'simulation' animation which simulates the driven result Change 3305355 on 2017/02/15 by chris.evans !N Initial test shoulder pose Change 3305357 on 2017/02/15 by chris.evans !N Initial Mambo shoulder ROM Change 3305446 on 2017/02/15 by Lina.Halper fixed CIS error #rb: none #code review: Thomas.Sarkanen Change 3305768 on 2017/02/16 by Jurre.deBaare CIS: Clang compile errors Change 3305857 on 2017/02/16 by thomas.sarkanen Removed particle systems from top plinth as they interfere with selection and obscure demo somewhat. Change 3305907 on 2017/02/16 by Thomas.Sarkanen Fix hitches on selection of multiple keys Prevented multiple seleciton callbacks being called for each key (we now just edit the selection then broadcast later). Dont force the details panel to refresh if nothing has changed. Make sure we make a list of unique object IDs when processing the selection delegate, as we get an object ID per track. Change 3305910 on 2017/02/16 by Thomas.Sarkanen Allow multiple instances ot the same parameterized subsequence to exist and function correctly Subsequences in the store are now keyed off an optionally specified 'other' object. In the case of parameterized subsequences, this object is the section. Editor only right now - cooked builds are still to come Change 3305911 on 2017/02/16 by Thomas.Sarkanen Fix NaNs from uninitialized poses Change 3305922 on 2017/02/16 by Thomas.Sarkanen BuiltData for Origin_Small_P Change 3305927 on 2017/02/16 by Thomas.Sarkanen Moved ControlRig->ControlRigDemo in preparation for keeping all assets in one folder Added some test assets Change 3305928 on 2017/02/16 by Thomas.Sarkanen Dont select actors when we bind to them Selection can sometimes look bad and obscure the character. Change 3306118 on 2017/02/16 by Thomas.Sarkanen CIS fix Change 3306230 on 2017/02/16 by Jurre.deBaare CIS fix for linking errors on specific platforms #test compile PS4 OrionGame Change 3306378 on 2017/02/16 by Martin.Wilson First pass Live Link system (Initially from //Tasks/UE4/Dev-Causeway) - Live Link Maya plugin build files (builds a .mll file that can be loaded into Maya) - Live Link Interface (editor module with interface files) - Live Link Message Bus Framework (editor module with files needed for building message bus based live link plugins) - Live Link (experiemental plugin that contains editor part of live link system) Change 3306388 on 2017/02/16 by Lina.Halper - build issue fix - also tweaked display name to display only node name in editing mode #rb: none Change 3306455 on 2017/02/16 by Jon.Nabozny #rn Perf improvements to FAnimNode_RigidBody. Cache bounds to prevent unnecessary overlap updates. Move overlaps off game thread. Change 3306591 on 2017/02/16 by Martin.Wilson Updates to live link - Copyright changes (some were still 2016) - Rename BlankMayaPlugin to LiveLinkMayaPlugin Change 3306907 on 2017/02/16 by Jon.Nabozny MinionDemo Content Perf Pass. Change 3306914 on 2017/02/16 by Thomas.Sarkanen Back out changelist 3305857 and 3305922 Reverts particle system changes to Origin_Small_P Change 3306942 on 2017/02/16 by Martin.Wilson Live link demo content -Feng mao mesh that matches maya scene - LiveLinkGDC Map - Beginning of camera control sequencer Change 3307154 on 2017/02/16 by Alan.Noon Merged in new content to fix badly collapsed BP Static meshes deleted ragdoll minions for new posing. Stopped animation on spawn pad materials Change 3307382 on 2017/02/16 by Martin.Wilson Fix CIS (Add virtual destructor to ILiveLinkSource) Change 3307497 on 2017/02/16 by chris.evans !N Moving mats Change 3307541 on 2017/02/16 by Chris.Evans !B Rebuilding test assets with new skeleton Change 3307873 on 2017/02/16 by Chris.Evans !N Mambo updates Change 3307875 on 2017/02/16 by Chris.Evans !R Update to blueprint Change 3308030 on 2017/02/16 by Alan.Noon Changed lighting of Origin_Small_P based on feedback. Placed new objects were previous were exhibiting bad lightmaps. Change 3308246 on 2017/02/16 by Alan.Noon Consolidated new lighting content from sublevels into Origin_Small_P. Hooked up Physics asset to ArcBlade Skeletal mesh Change 3308470 on 2017/02/16 by Lina.Halper - make sure all are hooked up properly to pelvis and spine_03 - no multiple pelvis anymore. Using one to tweak all of them. all limbs are connected through constraints - make sure end effector rotation is modifying IK's last chain rotation - had to hack for saving offset for IK/FK switch mode but it works fine - fixed lots of constraint issue with deleting node, parent constraints. Added new spine after that fix. #rb:none #code review: Thomas.Sarkanen Change 3308764 on 2017/02/17 by Jurre.deBaare Fix for non-unity Orion game build Change 3308774 on 2017/02/17 by Thomas.Sarkanen Added multi-selection of manipulators Allowed BoxSelect, FrustumSelect and SelectNone to be overriden by the edit mode. Our edit mode doesnt have a sub-tool, it handles everything itself. Also fixed manipulators drawing in front of widget Changed manipualtors to be world-relative rather than screen relative scaled. Tweaked proximity to be stateful so we only highlight the closest node Also fixed slow FPS when dragging. Change 3308802 on 2017/02/17 by James.Golding Fix 'apply custom curve' for pose driver targets being on by default Change 3308824 on 2017/02/17 by Lina.Halper Fix build issue #code review:Thomas.Sarkanen #rb: none Change 3308851 on 2017/02/17 by James.Golding Add new control manipulator picking UI Change 3308863 on 2017/02/17 by Martin.Wilson Enable Live Link plugin in AnimTechDemo Change 3308880 on 2017/02/17 by Thomas.Sarkanen Getting instanced subsequences working in cooked builds Change 3309009 on 2017/02/17 by Benn.Gallagher Mask support and UI, not hooked up to painter yet Added clothing tools experimental flag and hooked up Change 3309016 on 2017/02/17 by Martin.Wilson Clean up engine provided output devices and supply a Maya one, stops Maya hanging on shutdown Change 3309108 on 2017/02/17 by Jurre.deBaare CIS fix: missing definition of FWeakObjectPtr (strangely not part of CoreMinimal) Change 3309134 on 2017/02/17 by Jurre.deBaare Crash in texure painting mode #fix Required some extra checks for new setup (can only paint while having one mesh selected) Issue with vertex paint propagating to lower LOD levels #fix There was no setup to propagate colors from source static mesh data so added the path #misc Re-added flow painting and removed flow-strength property #misc Added detail customization for texture paint UV channel Change 3309256 on 2017/02/17 by Benn.Gallagher CIS fix Change 3309393 on 2017/02/17 by James.Golding Set color for kinematic controls Change 3309410 on 2017/02/17 by Ori.Cohen PR #3221: Kinematic body interpolation in substepping causes invalid raycasting/sweeping/overlapping (Contributed by PhoenixBlack) Change 3309469 on 2017/02/17 by Benn.Gallagher Added ContentExamples cloth assets Added camera transitions and controls Cleanup logic Move characters and materials onto upper plinth Hid actor mesh from game view. Change 3309625 on 2017/02/17 by mason.seay Resaving assets to remove warnings Change 3309802 on 2017/02/17 by Alan.Noon Modified Origin_Small_P lighting. Set up ArcBlade for presentation Change 3309985 on 2017/02/17 by Thomas.Sarkanen Fixed crash adding multiple rigs to sequence If a hierarchy is empty, dont attempt to access a non-existent node #jira UE-42103 Change 3310209 on 2017/02/17 by Lina.Halper - Fix limbs detaching issues - added set translation to override translation - moved joint targets away from the limbs - Spine FK is on by default - spnie IK/FK switch should work better. It can still pop depending on your control point can handle or not. #rb: none Change 3310389 on 2017/02/17 by Chris.Evans !N Mambo multi-joint pose demo Change 3310911 on 2017/02/18 by Lina.Halper Ice/Mambo mapping fix with BaseHuman Change 3311138 on 2017/02/19 by James.Golding - Allow multi-select in control picker - Clicking on background clears selection - Add 'Select All' button - Darken controls that are disabled (is in different kinematic mode) - Use selection color from control instead of outline - Center and fit picker to details panel width - Remove entire Nodes section of edit mode panel (not just tree) - Fix rig properties not scrolling - Place picker in expandable area, collapsed when no rig selected Change 3311147 on 2017/02/19 by Thomas.Sarkanen Fix spine keying Add the ablity for array elements to be keyed directly. The spine properties are FTransforms in an array and previously it ignored them because of assumptions about allowed structures. This should probably be refactored to a more generic 'traverse up my property chain looking for Interp properties' at some point in the future. Change 3311150 on 2017/02/19 by Thomas.Sarkanen Synchronizing sequencer selection Now enter key works for keying selected tracks Added new way to select sequencer tracks externally via property paths. Change 3311152 on 2017/02/19 by Thomas.Sarkanen Missed files Change 3311153 on 2017/02/19 by Thomas.Sarkanen CIS fixes Change 3311154 on 2017/02/19 by Thomas.Sarkanen File I missed (CIS fix) Change 3311156 on 2017/02/19 by James.Golding Change 'ControlRig Edit Mode' icon Change 3311176 on 2017/02/19 by Lina.Halper Fix build issue #rb:none #code review: Thomas.Sarkanen, Jurre.DeBarre, James.Golding p.s. not sure who's code, so just adding everybody I can think of Change 3311261 on 2017/02/19 by Lina.Halper - Fixed an issue when you don't have parent in the rig - get all component space, and convert to local #rb:none #code review: Thomas.Sarkanen Change 3311282 on 2017/02/19 by Lina.Halper Fixed issue where pivot location is incorrect when mapping to other meshes #rb: none #code review:Thomas.Sarkanen Change 3311491 on 2017/02/20 by Thomas.Sarkanen CIS fix Change 3311497 on 2017/02/20 by Jurre.deBaare Game editor compile error #fix WITH_EDITORONLY_DATA instead of WITH_EDITOR ifdef around UPROPERTY Change 3311507 on 2017/02/20 by Jurre.deBaare Cloth paint progress - Different approach / refactored out paint ray retrieval - Added key input callback to IMeshPainter and derived classes - Added toggle for showing invisible vertices - Added gradient paint tool - Details customization for brush/gradient tool settings - Some cleaning Change 3311527 on 2017/02/20 by Jurre.deBaare CIS header guard warning Change 3311530 on 2017/02/20 by Jurre.deBaare CIS dereferencing possible nullptr warning Change 3311533 on 2017/02/20 by Jurre.deBaare CIS dereferencing warning (better fix) Change 3311543 on 2017/02/20 by James.Golding Add buttons for switching IK/FK mode of limb/spine to picker Put picker and details panel in a scroll box Fix spine manipulators not being hidden when disabled Change 3311649 on 2017/02/20 by James.Golding R key now toggles manipulator visibility Change 3311707 on 2017/02/20 by Lina.Halper Added Clavicle FK controls #code review: Danny.Bouimad Change 3311764 on 2017/02/20 by Martin.Wilson Update cameras for Live link demo map and turn on recompute tangents on Feng Mao Change 3311858 on 2017/02/20 by Chris.Evans !R Updated with pose values Change 3312043 on 2017/02/20 by Jon.Nabozny Change SkelMeshMerge logic to fix duplicates (again) and fix crash. #jira UE-39690, UE-42146 Change 3312046 on 2017/02/20 by Thomas.Sarkanen Fix crash drag/dropping skeletal mesh #jira UE-42139 - Crash when adding SK_Mannequin to a Level Sequence in QAGame Change 3312052 on 2017/02/20 by James.Golding Change manipulator colors to red for right, blue for left, white for middle Change IK/FK switch buttons to yellow/purple Move picker buttons to take up less horizontal space Move IK/FK switch button positions out of C++ Change 3312137 on 2017/02/20 by Ben.Marsh Fix settings for using precompiled binaries in Dev-AnimPhys. Change 3312517 on 2017/02/20 by Alan.Noon Created new persistent level for Chris E's demo. Placed a few minions for CharlesA to test improved ragdoll asset. Tuned lighting in Origin_Small_P and fixed light leaks. Change 3312570 on 2017/02/20 by Charles.Anderson More work on Arcblade Ragdoll for GDC Change 3312594 on 2017/02/20 by Alan.Noon MultipleJointPoseDriving_GDC_P_pose_test_level Change 3312637 on 2017/02/20 by Alan.Noon Reconciling offline content Change 3312902 on 2017/02/20 by Charles.Anderson Minions for GDC Change 3313206 on 2017/02/20 by Ori.Cohen Added trimesh support for immediate mode. Change 3313247 on 2017/02/20 by Chris.Evans !N updated with both demo assets in one map Change 3313447 on 2017/02/20 by Ori.Cohen Fix immediate mode collision not working with convex transforms being baked in Change 3313472 on 2017/02/20 by Ori.Cohen Fix crash caused by missing switch case break Change 3313518 on 2017/02/20 by Lina.Halper IK knee issue/Twist issue #code review: Thomas.Sarkanen, James.Golding #rb: none Change 3313547 on 2017/02/20 by Lina.Halper Fixed Body-Ctrl to work with every node. Change 3313617 on 2017/02/20 by Lina.Halper - Fix for limbs delaying when moving BodyCtrl - Fix for additive issue for control rig anim node #rb: none #code review: Thomas.Sarkanen Change 3313618 on 2017/02/20 by Lina.Halper remove unnecessary calc #rb:none Change 3313625 on 2017/02/20 by Lina.Halper Fixed body ctrl move keys - all IK keys also have to be in local space (but they're local to body_ctrl) Change 3313633 on 2017/02/20 by Alan.Noon Quick laying out of Minions for stress testing. Iterated on Environment collision.Built lighting Change 3313655 on 2017/02/20 by Lina.Halper - Fixed so that you can tweak pelvis and move body also - Fixed mambo mapping Change 3313897 on 2017/02/21 by James.Golding Make all FK manipulators smaller (3 instead of 4.5) Change 3313898 on 2017/02/21 by James.Golding Integrate CL 3311876 to Dev-AnimPhys (original author Rolando.Caloca) DR - Expose skin cache cvar r.SkinCache.AccumulationBufferSizeInKB Change 3313902 on 2017/02/21 by James.Golding Draw lines from IK target to mid-joint Change 3313906 on 2017/02/21 by Thomas.Sarkanen Fix undo/redo/save t-pose and crashes Binding now only does what it needs to do an no more (i.e. force a reig evaluation and re-select the rig we are looking at). Object spawner now does not root its objects. Rather it hangs them off of a 'holder' object so that they can exist safely in the transaciton buffer. Change 3313938 on 2017/02/21 by Benn.Gallagher Migrated clothing assets Change 3313982 on 2017/02/21 by James.Golding Fix static analysis in ClothPainter.cpp Change 3313985 on 2017/02/21 by Benn.Gallagher Fixed crash when attempting to create clothing with degenerate triangles. Now a log error and toast warn the user of conincident tri points. #jira UE-41935 #rnx Change 3314052 on 2017/02/21 by James.Golding Fix CIS in ControlRigEditModeSettings.cpp Change 3314100 on 2017/02/21 by Lina.Halper IK fix for retargeting - using rig transform and remapping doesn't work. I'll have to use mesh space for IK at least. It still does blend in rig space, though with FK. #rb: none Change 3314160 on 2017/02/21 by Thomas.Sarkanen Added optional node trajectories Added trajectory cache which uses similar mechanisms to the thumbnail cache to build trajectories for nodes. Builds trajectories and their meshes incrementally when relevant things change Change 3314167 on 2017/02/21 by James.Golding Fix undo when pushing IK/FK toggle buttons Change 3314168 on 2017/02/21 by Benn.Gallagher Disabled skin cache on tech demo project Change 3314290 on 2017/02/21 by Lina.Halper - Cleaned up code a bit - Fixed thigh to rotate to target and fixed a bug that caused jittering #rb: none Change 3314418 on 2017/02/21 by Thomas.Sarkanen Fix CIS issue Change 3314428 on 2017/02/21 by Thomas.Sarkanen Fixup anim node to be of correct editor-time type Caused crash when placed in an anim BP Change 3314574 on 2017/02/21 by Thomas.Sarkanen Fixed crash on shutdown #jira UE-42214 Change 3314705 on 2017/02/21 by Alan.Noon Iterating on map collision. Made minion weapon joint unbreakable Change 3314722 on 2017/02/21 by Alan.Noon Moved minions back into Minion demo Persistent level. Change 3314778 on 2017/02/21 by Lina.Halper added neck/ball_r/l control #code review: Daniel.Bouimad Change 3314908 on 2017/02/21 by Ori.Cohen Temp fix for cloth bounds issue. Change 3314920 on 2017/02/21 by Alan.Noon Placing minions. Iterating collision Change 3314970 on 2017/02/21 by Lina.Halper added bone picker for toes, neck Change 3315006 on 2017/02/21 by Benn.Gallagher Fixed clothing bounds issue with empty simulations. Change 3315017 on 2017/02/21 by Lina.Halper fix crash on null proxy #rb: Benn.Gallagher Change 3315054 on 2017/02/21 by Alan.Noon Placing minions Change 3315671 on 2017/02/21 by Chris.Evans !B Fixed default material !N Added physics subgraph for Mambo !N Added third 'gameplay' complex example Change 3315693 on 2017/02/21 by chris.evans !N Enabling tangent recompute on Mambo face and arm pits. Change 3315838 on 2017/02/21 by Alan.Noon New Orbital Laser Pawn. New ragdoll sublevels for minion demo (400 minions) Change 3316206 on 2017/02/22 by Thomas.Sarkanen Fix shadowed variables Change 3316207 on 2017/02/22 by Thomas.Sarkanen Manipulators are now transparent Change 3316258 on 2017/02/22 by Jurre.deBaare - Fix for changing levels while force painting to a specific LOD - Brush depth not same as in main Change 3316259 on 2017/02/22 by Jurre.deBaare Fix for paint verts being rendered outside of painting area #misc want to change underlying behaviour for the brush representation but this'll patch it up for now Change 3316260 on 2017/02/22 by Jurre.deBaare Changed default paint brush settings Change 3316267 on 2017/02/22 by Jurre.deBaare Added channel paint flags to texture painting settings #misc might want to create base class for common paint settings Change 3316268 on 2017/02/22 by Jurre.deBaare Fix for issue with viewport color mode not being reset when exiting mesh paint mode #jira UE-42221 Change 3316278 on 2017/02/22 by James.Golding Fix crash when pose asset contains a bone that is not in the mesh Change 3316304 on 2017/02/22 by Thomas.Sarkanen Prevent sequencer from reselecting tracks when keys are selected Also fixed crash concurrently modifying an itterating TSet when removing selection nodes. Also made manipualtors not grow and shrink when transacting. Also tweaked sequencer selection to not allow movement of infinite areas - this allows us to start drag-selecting over these tracks rather than trying to move a seciton that cannot be moved. #jira UE-42164 Change 3316325 on 2017/02/22 by James.Golding Hook up Mambo physics as 'Pose Process AnimBP' Change 3316384 on 2017/02/22 by James.Golding Slow down mambo anim playback rate Change 3316385 on 2017/02/22 by Jurre.deBaare CIS: Deprecation warning fix Change 3316424 on 2017/02/22 by Lina.Halper #fix : control rig mapping fix for Mambo #lockdown: James.Golding Change 3316525 on 2017/02/22 by Lina.Halper - Fixed so that the mapping happening with retarget base pose, not ref pose - Added refresh mapping option for all nodes to refresh bone transform - in case you change retarget base pose - WIP of fingers, don't think we'll make it to demo, but it is still wip going in. #lockdown: James.Golding #rb: none #code review: Thomas.Sarkanen, James.Golding Change 3316684 on 2017/02/22 by Lina.Halper fix shadow warning #rb: none #lockdown: james.golding Change 3316748 on 2017/02/22 by Thomas.Sarkanen Fix t-pose bindings in various demo workflow situations Fix a crash when clearing actor Fix t-pose when opening a new sequence over an old one Fix t-pose on save Note: Added a couple of 'nuke it from orbit' re-binds to the actor because some code paths were not correctly setting up all of our data. Particularily we were always setting up the anim instance. We should revisit this after GDC. #jira UE-42136 Change 3316895 on 2017/02/22 by Jurre.deBaare Incorrect simulation verts getting painted #fix added an early rejection test #misc fixed sqrd vs non-sqrd check #misc level painting already did this in other specific code Change 3316917 on 2017/02/22 by thomas.sarkanen Disabling threaded update on Mambo's post process anim BP We dont support running the main BP non-threaded and the post process threaded right now. Change 3316933 on 2017/02/22 by Thomas.Sarkanen Fixed linux shadow variable warning Change 3317104 on 2017/02/22 by Chris.Evans !N Initial animation with face Change 3317483 on 2017/02/22 by Alan.Noon Added controls to resize the Orbital Laser Impulse in the minion demo Change 3317592 on 2017/02/22 by Alan.Noon Tweaking Parameters on orbital Laser Pawn Change 3317608 on 2017/02/22 by Lina.Halper Sorry - missed this files from previous check-in It should have gone with CL 3316525 #rb:none #code review:Thomas.Sarkanen, James.Golding #lockdown: James.Golding Change 3317762 on 2017/02/22 by Lina.Halper - allow dependency array to be added by IK effectors - but this isn't actual bug in this case - the bug was property was overriding the value, so we'll have to make sure to update property from code change (bForceUpdatePropertyInTheNextTick) #rb:none #code review: Thomas.Sarkanen, James.Golding #lockdown: James.Golding Change 3317807 on 2017/02/22 by Martin.Wilson Update for Live link code -Rename Maya Source to Message Bus Source -Fix typo in ReceiveClient function name Change 3318031 on 2017/02/22 by Alan.Noon 100 more minions in a sublevel. Tuned new pawn. Added sound, particle effects to impulse Change 3318217 on 2017/02/22 by Jon.Nabozny Re-enable Dynamic Shadows for minions. Also enable Single Sample Shadow for perf reasons. Change 3318365 on 2017/02/22 by Alan.Noon Created new shadow capsule asset for minion. Disabled DOF. Change 3318421 on 2017/02/22 by Alan.Noon Adding more minion anims for variety Change 3318435 on 2017/02/22 by Alan.Noon Tweak to minion anim BP: minions pick and idle and stay with it. Change 3318860 on 2017/02/23 by James.Golding Force update nodes and manipulators when changing IK/FK mode Better fix for UE-42257 Change 3318869 on 2017/02/23 by James.Golding Key limb manipulators when switching IK/FK mode Change 3318870 on 2017/02/23 by James.Golding Fix head button picker location Change 3318875 on 2017/02/23 by James.Golding Add 'T' key shortcut for toggling trajectory drawing Change 3318907 on 2017/02/23 by Benn.Gallagher Added rail for clothing sheet examples Change 3318909 on 2017/02/23 by Thomas.Sarkanen Fix trajectories jittering as they generate The rig needs ticking twice because of what looks like some stateful assumptions that were recently made. Basically to get the rig to a state it needs ticking more than once. This also means that we need to tick sequencer twice to make sure the rig state gets pushed to the anim instance too. This may be to do with the latent IK/FK switching, and needs to be investigated. For now, I'm leaving it like this but its not ideal because it makes the trajectory generation twice as expensive. Change 3318929 on 2017/02/23 by James.Golding Make PoseDriver Details not assume there is always a posedrivernode (fix potential crash during demo) Change 3318930 on 2017/02/23 by James.Golding Resave pose_test_level with camera in better default position Change 3318969 on 2017/02/23 by thomas.sarkanen Added demo map with mannequin and mambo Change 3318975 on 2017/02/23 by thomas.sarkanen Improved embededed test sequence Kept blends away from initial binding because of t-pose issues Change 3318979 on 2017/02/23 by thomas.sarkanen Added sequence showing retargeting to multiple skeletons Change 3318983 on 2017/02/23 by thomas.sarkanen Improved retargeting sequence so that loop points dont pop animation Change 3318991 on 2017/02/23 by Thomas.Sarkanen Prevent division by zero in trajectory generation Newly created sequences dont have a frame interval set up. Change 3319013 on 2017/02/23 by Lina.Halper Fixed twist issue #lockdown: James.Golding #rb: none Change 3319017 on 2017/02/23 by Lina.Halper Checked in wrong line - disabling optimization #rb:none #lockdown:James.Golding Change 3319034 on 2017/02/23 by Lina.Halper sorry about that - for some reason p4 reverted the merged changes, and removing function that was merged #rb: none #lockdown: James.Golding Change 3319056 on 2017/02/23 by Lina.Halper Back out changelist 3319013 #lockdown:James.Golding Change 3319090 on 2017/02/23 by Thomas.Sarkanen Added bookmarks to level, fixed up animation sequeces to be used in demo Cleaned up unused assets from demo folder Change 3319209 on 2017/02/23 by Chris.Evans !R Lighting rebuilt !N cameras added, camera switching functionality Change 3319219 on 2017/02/23 by Chris.Evans !R Disabling physics on the snake head on left shoulder Change 3319268 on 2017/02/23 by Chris.Evans !R Says it's dirty, could have sworn checked in latest, tested and works fine, sync'd to last rev can't see what changed. Change 3319290 on 2017/02/23 by James.Golding Default bShowManipulatorsDuringPlayback to on Change 3319291 on 2017/02/23 by James.Golding Add GDC2017 shared collection Change 3319867 on 2017/02/23 by Alan.Noon Moved Audio to a level and removed from sublevel list. Deleted particles. Change 3320056 on 2017/02/23 by Alan.Noon Built lighting in Clothing_GDC_P Change 3320067 on 2017/02/23 by Ori.Cohen Fix rigid body tooltip having the same loctext key as the node name causing bad node name (matters for live demo) Change 3320085 on 2017/02/23 by Alan.Noon Changed Origin_Small_P in ControlRigDemoMap to "Always Loaded" Change 3320098 on 2017/02/23 by Martin.Wilson Final updates for Live Link GDC Demo -Add maya scene for demo -Add binary for maya plugin + installation instructions -Update actor location from based on latest maya scene and fix cameras in sequencer -Updates on live link system for demo that I have been running with locally. Should be safe. Change 3320579 on 2017/02/23 by Alan.Noon Bound Spacebar to GoRagdoll in ArcBlade map. Built lighting. Killed printing to screen/log in MinionBP. Change 3321144 on 2017/02/24 by Chris.Evans !B Lighting was bad in PIE, forced -1.5 exposure bias on all cameras Change 3321317 on 2017/02/24 by James.Golding PIE on pose_test_level jumps to first placed camera Change 3321956 on 2017/02/24 by Alan.Noon Adding missing minion anims. And Stuff. Change 3324190 on 2017/02/27 by Lina.Halper Removed ensure from EvaluateAnimation - this is invalid because of worker thread but I'll have more conversation over this change. #rb: none #code review: Laurent.Delayen, Martin.Wilson #jira: UE-41731 Change 3324309 on 2017/02/27 by Lina.Halper fixed issue with skeleton bone not displaying for curve picker #jira: UE-41909 #rb: Marc.Audy Change 3324342 on 2017/02/27 by mason.seay First round of assets for testing root motion with framerate Change 3324562 on 2017/02/27 by Lina.Halper Fix build error #rb: none Change 3325010 on 2017/02/28 by mason.seay Finished map Change 3325124 on 2017/02/28 by mason.seay Updated test to use trigger instead of delay Change 3325205 on 2017/02/28 by mason.seay Deleting old map Change 3325207 on 2017/02/28 by mason.seay Deleting old map Change 3325752 on 2017/02/28 by Lina.Halper Back out changelist 3319056 - adding upper twist back again #rb: none Change 3325759 on 2017/02/28 by James.Cobbett Moving Weld automated tests to EngineTest project Change 3326039 on 2017/02/28 by Lina.Halper Fix spine issues This is almost like content change as this contains lots of rigging changes from code. So I'm just checking with no review. #jira: UE-42260, UE-42268 #rb: none Change 3326246 on 2017/02/28 by mason.seay Test map and assets for overlap functional tests Change 3327926 on 2017/03/01 by Lina.Halper - disabled pelvis animation on WaveAnimationGDC - added pelvis controls so that you can animate without worring about gmibal lock. #code review: danny.bouimad Change 3327971 on 2017/03/01 by Lina.Halper Moved BaseHuman to ControlRig/Content folder - checking in redirector for the people who have local contents that want to keep #code review: Thomas.Sarkanen Change 3329196 on 2017/03/02 by James.Cobbett Deleting from QAGame. These maps and assets were migrated over to EngineTest in CL 3325759 and CL 3325802. Change 3329263 on 2017/03/02 by mason.seay Temp submission as I reorganize other content Change 3329321 on 2017/03/02 by mason.seay Reorganizing content Change 3329493 on 2017/03/02 by James.Cobbett Moving/renaming automated tests Change 3332044 on 2017/03/03 by mason.seay Procedural Mesh Functional Tests Change 3332049 on 2017/03/03 by Mason.Seay Screenshot comparisons for Procedural Mesh Tests Change 3333080 on 2017/03/06 by Lina.Halper Fix crash on not sorted OutBoneTransforms from Hand IK Retargeting node #jira: UE-42460 Change 3333826 on 2017/03/06 by Lina.Halper Renamed nodes - - adding rename feature for HumanRig #rb: none Change 3333847 on 2017/03/06 by Lina.Halper Fixed build error Change 3333865 on 2017/03/06 by Lina.Halper Fixed build error on shadow warning Change 3333957 on 2017/03/06 by Lina.Halper Fixed issue where limb length wasn't applied correctly on human rig #jira: UE-42307 Change 3335109 on 2017/03/07 by Thomas.Sarkanen Prevent us from rebuilding node tree in 'view' mode This means that a rare crash cant occur any more #jira UE-42568 - Editor crashes when using the eye dropper to switch actor skeleton after deleting sequence Change 3335110 on 2017/03/07 by Jurre.deBaare Editor crashes on importing Alembic file #fix ensure that we generate objects with a valid object name (used to be able to include invalid characters such as periods) #jira UE-40189 Change 3335117 on 2017/03/07 by Jurre.deBaare Crash when opening cloth painter with Paint mode open and selecting different actor #fix ensure that we only initialize static adapter factory data once, now that we have multiple painters #jira UE-42573 Change 3335119 on 2017/03/07 by Jurre.deBaare In Persona, the lighting rig rotation changes when switching between profiles #fix don't know how I wrote this code before, but made it so it makes sense now #jira UE-40877 Change 3335120 on 2017/03/07 by Jurre.deBaare Auto-Exposure Overriding Preview Scene Profile Settings #fix also update showflags when passed property is Name_none, on opening static mesh editor make sure we pick last set profile instead of default 0, and make sure we push propertyt change when changing profiles #misc made same changes for animation editors #jira UE-39217 Change 3335121 on 2017/03/07 by Jurre.deBaare Points not marked as invalid in Aim Offset graph when in invalid positions #fix ensure that samples which have a valid grid point when checking their animation ptr #misc whitespace fixes #jira UE-40715 Change 3335122 on 2017/03/07 by Jurre.deBaare Cannot right-click a blend point if the green preview point is in the way #fix changed condition slightly, now do gather highlighted index so it can be used in rightclick instead of not setting it while hovering the preview pin point #jira UE-39060 Change 3335123 on 2017/03/07 by Jurre.deBaare It's not clear which Grid Stretch mode in blend space is currently on #jira UE-39080 #fix added color change on grid stretch type state Change 3335124 on 2017/03/07 by Jurre.deBaare Not clear that material baking is only supported for single lod merge actors #fix extended tooltip to include requirement for material merging #jira UE-39621 Change 3335125 on 2017/03/07 by Jurre.deBaare #fix Alembic import fix (indexed UVs) copy-pasta error Change 3335126 on 2017/03/07 by Jurre.deBaare Accessor and Modifier for StartTimeOffset in GeometryCacheComponent.h #jira UE-37080 #feature Added bp exposed get/set-er #misc Corrected some comments Change 3335127 on 2017/03/07 by Jurre.deBaare Blend space interpolation settings do not update until the user reopens the asset #fix made reintializing of interpolation filter editor only to start with, and update the filter when necessary (this way multiple players, e.g. thumbnail renderer and persona) both give the expected result, before only one of them would be reinitialized see comment on flag in header #jira UE-40950 Change 3335129 on 2017/03/07 by Jurre.deBaare Store imported mesh names for Alembic files (makes reimporting easier) #jira UE-39034 Change 3335161 on 2017/03/07 by Jurre.deBaare CIS fix: Partial back out changelist 3335129 Change 3335426 on 2017/03/07 by Jurre.deBaare Crash fix for importing random maya shapes through Alembic #fix add safety checks for writing material indices #jira UE-40189 Change 3335427 on 2017/03/07 by Jurre.deBaare Editor hard locks when adding Profile in Preview Scene Settings #fix previous change created an infinite loop while adding a new profile, now calling OnAssetViewerSettingsChanged directly and from a different spot #jira UE-42609 Change 3335448 on 2017/03/07 by Thomas.Sarkanen Fixed binding (and re-binding) of rig that was broken by main integration Templates are no longer always regenerated, so re-binding doesnt work if we rely on template regeneration Moved runtime and compile-time binding into the template (rather than the track). Removed hacky 'static stack' of binding IDs. This is no longer needed now we have a way to propgate per-instance template data at compile time. Change 3336018 on 2017/03/07 by Ori.Cohen Make sure InstantiatePhysicsAsset does not create uninitialized bodies and constraints when it is given a physics asset with inappropriate bone names. Fixes crash in rigid body node when re-targetting. #JIRA UE-42090 Change 3336508 on 2017/03/07 by Ori.Cohen PR #3325: Allow Physics Notification Dispatching with Engine API (Contributed by 0lento) #JIRA UE-42533 Change 3336524 on 2017/03/07 by Ori.Cohen Added compiler error when component space sim and world collision is used. #JIRA UE-41402 Change 3336700 on 2017/03/07 by Ben.Marsh Fix stream name for bulding PhysX. Change 3336949 on 2017/03/08 by James.Golding In BindToSkeletalMesh, make sure skel mesh resources are init'd before calling Register on SkelMeshComp #jira UE-42377 Change 3337008 on 2017/03/08 by Lina.Halper - Fix for lagging update - Removed unnecessary update from trajectory cache #rb: Thomas.Sarkanen Change 3337190 on 2017/03/08 by James.Golding Remove defunct PhysX 3.3 libs Change 3337562 on 2017/03/08 by Ori.Cohen Touch engine to force re-link of latest PhysX libs. Fixes crash when free joints are used with immediate mode. #JIRA UE-41026, UE-42628 Change 3337779 on 2017/03/08 by Ori.Cohen Added skeletal mesh component override for sync vs async scene. #JIRA UE-39829 Change 3337859 on 2017/03/08 by Ori.Cohen Fix CIS Change 3338593 on 2017/03/08 by Ori.Cohen Remove physx get geometry macro and replace with calls to .any which should be faster. #JIRA UE-40503 Change 3338614 on 2017/03/08 by Ori.Cohen Fix warning about missing EditAnywhere #JIRA UE-41361 Change 3338677 on 2017/03/08 by Ori.Cohen Fix new generated physics assets not properly setting user settings to default profile. #JIRA UE-41135 Change 3338683 on 2017/03/08 by Ori.Cohen PR #3225: UPhysicsConstraintComponent works as expected when target is an UChildActorComponent (Contributed by PhoenixBlack) #JIRA UE-3225 Change 3338694 on 2017/03/08 by Ori.Cohen Added a getter to physical animation component (PR #3163) #JIRA UE-41047 Change 3339131 on 2017/03/09 by James.Golding Merging Engine changes from //UE4/Private-GDC17-FaceRig - Set default CurveSourceBindingName on AudioCurveSourceComponent to 'Default' (to match node default) - Add CurveSyncOffset option to AudioCurveSourceComponent - Add 'Copy Curves To SoundWave' option to Anim Editor - Bind possible curve sources by iterating over component properties, rather than owned components - Add ref-pose override option to SkinnedMeshComponent - Major fixes for per-instance skin-weights (was not using per-section map) - Improve warnings for per-instance skin weight problems Change 3339223 on 2017/03/09 by Thomas.Sarkanen Exposed preview scene settings in the existing settings tab rather than in a hidden menu in the viewport Tab is now shown by default Added default preview scene collection so you dont end up having to create assets all the time just to preview meshes (although this is still possible). #jira UE-39365 - Make Preview scene setup more discoverable Change 3339270 on 2017/03/09 by Lina.Halper Added create animation blueprint back since now we have a separate editor. #jira: UE-39457 #rb: Martin.Wilson Change 3339318 on 2017/03/09 by Danny.Bouimad TM-TangentNormals, Test map for checking tangent recalculation with and without skin cache. Change 3339431 on 2017/03/09 by James.Golding Make UDestructibleComponent::SpawnFractureEffectsFromDamageEvent virtual (UDN request: https://udn.unrealengine.com/questions/335389/custom-destructible-fracture-effects.html) Change 3339809 on 2017/03/09 by James.Golding Add support for 'UCP' prefix for importing capsule collision on static meshes via FBX #jira UE-5262 Change 3339955 on 2017/03/09 by Ori.Cohen Allow kinematic leaf bodies in immediate mode Change 3339995 on 2017/03/09 by mason.seay Collision functional tests Change 3340085 on 2017/03/09 by Ori.Cohen Change default contact-gen method to PCM. This is the default in PhysX 3.4 #JIRA UE-40365 Change 3340562 on 2017/03/09 by Ori.Cohen Added physx simulation shader override. #JIRA UE-35304 Change 3341155 on 2017/03/10 by Ori.Cohen Fix CIS warnings Change 3341295 on 2017/03/10 by Martin.Wilson Cache compact pose bone index on FBoneReference and remove manual caching in Paragon #jira UE-42302 Change 3341943 on 2017/03/10 by mason.seay Cleaned up logic for map blueprints. Worked around delays Change 3342029 on 2017/03/10 by mason.seay Cleaned up blueprint logic to remove dependency on delays Change 3342063 on 2017/03/10 by mason.seay Disabling tests Change 3342071 on 2017/03/10 by mason.seay Updated map to use assertions Change 3342884 on 2017/03/13 by James.Golding Expose 'trace by profile' functions to BP Refactor duplicated code in KismetSystemLibrary collision functions #jira UE-32912 Change 3342886 on 2017/03/13 by James.Golding Moving sprite from PhysicsThruster actor to PhysicsThrusterComponent (like light and audio, for example) #jira UE-6015 Change 3342921 on 2017/03/13 by Benn.Gallagher Added some checking to anim dynamics pre update to avoid crashes when world isn't available #jira UE-42729 Change 3342970 on 2017/03/13 by James.Golding Fix incorrect display names for some ..ByProfile trace funcs Change 3342972 on 2017/03/13 by James.Golding PR #3060: Added virtual keyword to DestructibleComponent ApplyDamage, ApplyDamageRadius (Contributed by looterz) Change 3343032 on 2017/03/13 by Josh.Stoddard Enable stabilization in PhysX by default - set PxSceneFlag::eENABLE_STABILIZATION by default - removed USE_ADAPTIVE_FORCES_FOR_ASYNC_SCENE because eADAPTED_FORCES is incompatible with eENABLE_STABILIZATION - added FBodyInstance parameter StabilizationThresholdMultiplier to control PxRigidDynamic stabilization threshold #jira UE-6612 #rb ori.cohen Change 3343073 on 2017/03/13 by Martin.Wilson Properly initialize single bone controller bone references #jira UE-42776 Change 3343074 on 2017/03/13 by Martin.Wilson Clear raw curve data during cooking #jira UE-37897 Change 3343317 on 2017/03/13 by Jurre.deBaare Crash after clearing the animation from a sample point in a 1D Blendspace #jira UE-42672 #misc made sure that we do not deem empty blend spaces as additive Change 3343498 on 2017/03/13 by Lina.Halper Fix on odin cook crash - fallout from CL 3336018 #rb:Marc.Audy #code review:Ori.Cohen Change 3343548 on 2017/03/13 by Lina.Halper Fix crash on ocean - #rb: none #code review: Ori.Cohen Change 3344764 on 2017/03/14 by Thomas.Sarkanen Fixed crash right-clicking empty space in the asset shortcut dropdown #jira UE-42782 - Crash right-clicking in anim blueprint asset picker #jira UE-42799 - GitHub 3366 : Asset selection null check before Opening Editor Change 3344776 on 2017/03/14 by James.Golding Really fix names for BP-expose 'ByProfile' traces Change 3344780 on 2017/03/14 by James.Golding PR #3359: UE4.15 Morpheme integration changes (Contributed by NaturalMotionTechnology) #jira UE-42771 Change 3344781 on 2017/03/14 by James.Golding PR #3346: Expose URadialForceComponent for inheritance (Contributed by projectgheist) #jira UE-42610 Change 3344782 on 2017/03/14 by James.Golding Fix procmesh->staticmesh conversion if only a single triangle #jira UE-42310 Change 3344783 on 2017/03/14 by James.Golding PR #3234: Fix the incorrect UIMin value for InitialAverageFrameRate physics setting. (Contributed by 0lento) #jira UE-41832 Change 3344785 on 2017/03/14 by James.Golding PR #3196: Improved Constraint warning message (Contributed by projectgheist) Change 3344790 on 2017/03/14 by James.Golding PR #3362: Fix NULL pointer dereference when debugging null animation sequence. (Contributed by ill) Change 3344891 on 2017/03/14 by Jurre.deBaare Incorporate back list of animations into blendspace editor #feature added labels toggle to blend space grid #feature can now override animations when drop on sample #jira UE-39368 Change 3344921 on 2017/03/14 by Jurre.deBaare Expose Opacity and Opacity Mask options on material flattening #feature added support for baking out opacity and opacity masks #jira UE-39563 Change 3344963 on 2017/03/14 by Jurre.deBaare Need Simplygon to create LODs on animated pose, vs skeletal mesh pose #feature added ability to specify an animation sequence from which frame 0 will be baked into the LOD mesh #jira UE-38909 Change 3345060 on 2017/03/14 by Jurre.deBaare CIS fix: missing include Change 3345929 on 2017/03/14 by Jon.Nabozny Fix Grux skeletal mesh to properly point at Grux Phys Asset (instead of Steel's). #jira UE-42772 Change 3346970 on 2017/03/15 by Jurre.deBaare #feature Support importing vertex colours from Alembic files #jira UE-39032 Change 3346976 on 2017/03/15 by Jurre.deBaare Missing files from CL 3344921 Change 3346983 on 2017/03/15 by Jurre.deBaare Static mesh editor crashes when opening #fix default value for additional settings Change 3347019 on 2017/03/15 by James.Cobbett Tidying up blueprint comments Change 3347128 on 2017/03/15 by mason.seay Updated descriptions on tests Change 3347146 on 2017/03/15 by mason.seay Updated descriptions on tests Change 3347178 on 2017/03/15 by Martin.Wilson PR #3358: Actually compress CompressedCurveData during anim compression (Contributed by stefanzimecki) Change 3347257 on 2017/03/15 by Thomas.Sarkanen Fixed crash when canceling saving a new preview mesh collection Change 3347314 on 2017/03/15 by mason.seay Narrowed collision volumes by half Change 3347386 on 2017/03/15 by mason.seay Updated descriptions Change 3347388 on 2017/03/15 by mason.seay Forgot to disable tests :P Change 3347397 on 2017/03/15 by James.Cobbett Tidying up blueprint comments for WeldingScreenshots.umap automated test Change 3347433 on 2017/03/15 by Thomas.Sarkanen Fix IK/FK switch on first frame (clobbering FK data) Added a 'first frame' flag to limbs etc. Change 3347436 on 2017/03/15 by Thomas.Sarkanen Control rig sequences can now be exported to anim sequences Control rig sequences can now be exported from sequencer and exported, re-exported, imported and re-imported from the content browser. Added converter function that performs similar logic to the animation recorder. Fixed binding template in cooked builds. Exposed anim sequence factory via UNREALED_API to allow for me to derive from it (I force the skeleton to a known value) #jira UE-42608 - Add "export to anim sequence" to control rig sequences Change 3347475 on 2017/03/15 by Lina.Halper #LookAt node refactor - you can use LookAtLocation based on joint or socket (jira UE-8972) - improved visualizer (jira UE-2737) - clamp was there but now you can visuzlie it - GetOnScreenDebugInfo changed parameter - added runtime node - possibly we could query runtime node only but right now GetOnScrrenDebugInfo belongs to AnimGraphNode - deprecated previous GetOnScreenDebugInfo - Added AnimPhys Object version GUID #rb:Thomas.Sarkanen Change 3347512 on 2017/03/15 by Thomas.Sarkanen Filter anim sequences to the correct skeleton when exporting Feeback from code review of CL 3347436. Change 3347543 on 2017/03/15 by Thomas.Sarkanen Fix shadow variable warnings Change 3347556 on 2017/03/15 by Jurre.deBaare Unable to select bones in the animation editor viewport #fix issues came from hit proxies being turned on and always being hit instead of the bone physic shapes #feature added toggle button to skeletal mesh editor to enable mesh section selection #jira UE-42893 Change 3347559 on 2017/03/15 by James.Golding By default, re-use anim editor with correct Skeleton when double clicking anim asset Add menu option to force a new edtor to open #jira UE-42912 Change 3347749 on 2017/03/15 by Lina.Halper Fix build issue. #rb: none Change 3347926 on 2017/03/15 by James.Cobbett Adding new test to Welding.umap for children welding when attached to ragdoll Change 3347938 on 2017/03/15 by Lina.Halper Fix build error #rb: none Change 3347939 on 2017/03/15 by Mason.Seay General cleanup of bp logic in maps and blueprint actors Added scenarios to test actor descriptions Fixed an error in blueprints (I think I failed to submit changes before) Change 3348074 on 2017/03/15 by Lina.Halper build error fix #rb: none #code review: martin.wilson Change 3348154 on 2017/03/15 by Lina.Halper last fix, hopefully #rb: none #code review: MArtin.wilson Change 3349160 on 2017/03/16 by Thomas.Sarkanen Adding 'set preview mesh' to toolbar #jira UE-42910 - Add 'preview mesh' button to toolbar Change 3349175 on 2017/03/16 by Jurre.deBaare Notification on reimported animations that might be bad #fix added two warning messages for different sequence length and missing curve in reimported file (hidden behind editor user setting -> bAnimationReimportWarnings) #jira UE-34522 Change 3349197 on 2017/03/16 by Martin.Wilson Add ability to choose slot to preview to montage editor #jira UE-38910 Change 3349216 on 2017/03/16 by James.Cobbett Additional Welding tests: static meshes attached to ragdolls and simulated children detaching and retaining welded children Change 3349217 on 2017/03/16 by James.Cobbett Disabling new Welding tests pending review Change 3349314 on 2017/03/16 by Benn.Gallagher Fixed clothing not running in PS4 packaged builds #jira UE-42857 Change 3349504 on 2017/03/16 by James.Fox Enabling RootMotion automation tests. Approved: UEENGQA-12277 Change 3349611 on 2017/03/16 by Lina.Halper retargeting pose options change - now reset, import pose, use current pose #rb: Martin.Wilson #jira: UE-19768 Change 3349738 on 2017/03/16 by Martin.Wilson Remove force inline from virtual compression functions. #jira UE-33070 Change 3349787 on 2017/03/16 by James.Golding Fix xbox one compile (FControlRigBindingTemplate::ObjectBinding was not all wrapped in WITH_EDITORONLY_DATA) Change 3349827 on 2017/03/16 by Josh.Stoddard - Expose PhysX stabilization as project setting, disabled by default - remove obsolete USE_SPECIAL_FRICTION_MODEL_FOR_ASYNC_SCENE #jira UE-42868 Change 3349932 on 2017/03/16 by James.Golding Possible fix for cooking crash - ContentBrowser module not necessarily being loaded Change 3350011 on 2017/03/16 by Jon.Nabozny Created AddForceAtLocationLocal function to allow component space forces. #jira UE-38115 Change 3350134 on 2017/03/16 by Josh.Stoddard Fix memory leak from GPhysXSDK->createShape() #jira UE-42733 #rb ori.cohen Change 3351166 on 2017/03/16 by Lina.Halper Fixed build issue #code review:Jon.Nabozny Change 3351451 on 2017/03/17 by Benn.Gallagher Fixed clothing reimports not working correctly and possibly leading to editor crash #jira UE-42953 Change 3351564 on 2017/03/17 by Benn.Gallagher Xbox NvCloth fix, module rules incorrectly set up and were not actually compiling NvCloth into the binary #jira UE-42224 Change 3351594 on 2017/03/17 by mason.seay Updated BP logic to use Set Actor Location (speeds up tests) Gave actors distinct names Reworded descriptions Change 3351629 on 2017/03/17 by Jon.Nabozny Add methods to determine the WeldParent and WeldChildren of a given component. #jira UE-40733 Change 3351639 on 2017/03/17 by Jon.Nabozny Fix StopMovementImmediately for WheeledVehicleMovementComponent. #jira UE-40078 Change 3351649 on 2017/03/17 by Jon.Nabozny Update comment on AddForceAtLocationLocal to be explicit that both Force vector and Location are in Body space. Change 3351663 on 2017/03/17 by Thomas.Sarkanen Anim notify blueprints now start with a 'received notify' event node (ghosted) #jira UE-27386 - A new anim notify blueprints should start with a Received Notify override Change 3351696 on 2017/03/17 by Thomas.Sarkanen Refactored EvaluateBoneTransforms to prevent usage of skeletal mesh component Deprecated EvaluateBoneTransforms in favor of new EvaluateSkeletalControl_AnyThread. Added various useful transforms to the proxy as these were the most used data from the skeletal mesh component. Some instances still require access to skeletal mesh to access the world for debug rendering. I'm leaving these alone for the moment as they should be addressed for 4.17 with the fixes for multi-threaded debug rendering. Commented & re-formatted ConvertCSTransformToBoneSpace and ConvertBoneSpaceTransformToCS. Deprecated signatures that take a skeletal mesh component. Commented FAnimNode_Base interface. #jira UE-35238 - FAnimNode_SkeletalControlBase::EvaluateBoneTransforms takes in SkeletalMeshComponent which is not safe Change 3351698 on 2017/03/17 by James.Golding Add GetMaterialFromFaceIndex to MeshComponent, implement for StaticMeshComponent and ModelComponent #jira UE-42802 Change 3351701 on 2017/03/17 by James.Golding Change from Ctrl to Shift for 'open new editor' when double-clicking anim assets Change 3351703 on 2017/03/17 by James.Golding Change Box and Sphyl elements to use Rotator instead of Quat, to make them easier to edit via details panel #jira UE-39664 Change 3351704 on 2017/03/17 by James.Golding Fix scrubbing curves that aren't selected #jira UE-39574 Change 3351805 on 2017/03/17 by Thomas.Sarkanen Prevent crash when trying to implement a function in a child anim blueprint The assumption that the ubergraph was the zeroth entry in the array didnt hold for child anim BPs with overriden functions. Now we just search for the ubergraph and check it if we find it. #jira UE-42996 - Editor Crashes when creating a function in Child Anim Blueprint Change 3352000 on 2017/03/17 by James.Cobbett Adding VehicleAdvBP assets for use in upcoming Welding tests Change 3352067 on 2017/03/17 by Lina.Halper Removed AnimGraph from GraphEditor module - Created node factory, pin factory, pin connection policy factory - Moved all anim related files out of GraphEditor #code review: Michael.Noland #jira: UE-37976 #rb: Michael.Noland Change 3352178 on 2017/03/17 by Lina.Halper Moved to AnimationBlueprintEditor as these are just graph visual nodes #code review:Michael.Noland Change 3352753 on 2017/03/17 by James.Fox Checking in some naming convention changes for Overlap automation test. Change 3353371 on 2017/03/19 by Lina.Halper Fix build error #code review: Bob.Tellez Change 3353644 on 2017/03/20 by Jurre.deBaare Animation thumbnails vanishing #fix ensure that we draw the mesh regardless of whether or not we have dynamic render data #jira UE-42974 Change 3353654 on 2017/03/20 by James.Golding Move SGraphNodeK2Default and SGraphNodeK2Event to Public as well, as they are used by Fortnite Update includes in SFortGrtaphNodeK2ExecuteEvent and HandleEvent to only include parent class header Change 3353684 on 2017/03/20 by Jurre.deBaare Separate asset viewer profiles for local / shared - Split out profiles in local/shared UProperty - Modifications to ini writing :( - Extra checks for default ini writing - Add checkout/make writable for default editor ini file Change 3353803 on 2017/03/20 by Jurre.deBaare CIS fixes Change 3353830 on 2017/03/20 by Martin.Wilson Fix additives breaking when pose link not connected to anything #jira ue-39174 Change 3353847 on 2017/03/20 by Martin.Wilson Add property to blend space player nodes to specify whether the blend space current time is reset when the blend space changes #jira UE-40446 Change 3353950 on 2017/03/20 by Ori.Cohen Undo the null entries for invalid body/bodysetup pairs. Instead we check if the body and constraints are valid in the rigid body node. #JIRA UE-42090 Change 3353956 on 2017/03/20 by Ori.Cohen Back out changelist 3343498 (this was needed for the null entries on bodies array which has been fixed) Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 Change 3354031 on 2017/03/20 by Benn.Gallagher Speculative fix for clothing crashes using Mambo. It was possible that the skeletal mesh component could have triggered deletion or creation of simulation state objects while the simulation was in flight on another thread, added tracking and waiting for outstanding tasks. #jira UE-42975 Change 3354151 on 2017/03/20 by Lina.Halper Make sure nullptr tick function still works - this is prerequisite for the play and export option #rb:Ori.Cohen Change 3354229 on 2017/03/20 by James.Golding Add 'default camera' options for skel meshes #jira UE-42762 Change 3354342 on 2017/03/20 by Martin.Wilson Strip out identity raw tracks when baking additives. #jira UE-40508 Change 3354388 on 2017/03/20 by Martin.Wilson Fix false anim blueprint compile errors with aim offset pins #jira UE-38196 Change 3354494 on 2017/03/20 by Martin.Wilson Serialize compressed anim data when counting memory #jira UE-39691 Change 3354515 on 2017/03/20 by Josh.Stoddard Expose PxSceneFlag::eENABLE_ENHANCED_DETERMINISM #jira UE-41484 #rb ori.cohen Change 3355932 on 2017/03/21 by Thomas.Sarkanen Back out changelist 3354003 Reinstating merge from Main: Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) Change 3355954 on 2017/03/21 by Thomas.Sarkanen Fixed up CIS issues post merge from Main Change 3355974 on 2017/03/21 by James.Golding Fix Mac CIS warning (constructor order of FAnimNode_BlendSpacePlayer) Change 3355981 on 2017/03/21 by Jurre.deBaare Whitelisted circular dependencies between meshpaintmode and VR editor modules Change 3355986 on 2017/03/21 by Jurre.deBaare Linux CIS file, non-capital M Change 3356072 on 2017/03/21 by James.Golding Fix UStaticMeshComponent::GetMaterialFromCollisionFaceIndex to not depend on editor-only data #jira UE-43117 Change 3356073 on 2017/03/21 by James.Golding Implement GetMaterialFromCollisionFaceIndex for ProceduralMeshComponent Change 3356300 on 2017/03/21 by Ori.Cohen Allow kinematic bodies with simulated parents using the full scene solver Change 3356362 on 2017/03/21 by Lina.Halper - Support create animation from Play - Support export animation from Play - this allows retargeting, post graph, or anything you see in engine will be baked to the animation #rb: Thomas.Sarkanen #jira: UE-19746 Change 3356482 on 2017/03/21 by Martin.Wilson Fix crash when opening a new montage #UE-43132 Change 3356709 on 2017/03/21 by James.Golding Check for NaN when converting rotator->quat (very large inputs can result in nan's, need to handle to avoid hitting asserts elsewhere) Add clamps when editing rotation of collision shapes, to avoid massive rotation entries #jira UE-39664 Change 3356968 on 2017/03/21 by Ori.Cohen Fix physics asset bounds to be as small as 1cm. This introduces flicker, but passing to rendering to fix that on their end. Change 3357092 on 2017/03/21 by Josh.Stoddard Don't update kinematic target if the body isn't moving #jira UE-42784 #rb ori.cohen Change 3357194 on 2017/03/21 by Lina.Halper Fix on vehicle anim instance look at node issue #rb: Ori.Cohen #jira: UE-43116 Change 3357298 on 2017/03/21 by Ori.Cohen Fix invalid warning when dragging actors into the world. This is invalid because we manually disable collision on actors when this happens, and the warning is only needed for actual runtime. #JIRA UE-42211 Change 3357494 on 2017/03/21 by Jon.Nabozny Fix FPropertyEditorInlineClassFilter filtering classes incorrectly. #jira UE-43098 Change 3357892 on 2017/03/21 by Lina.Halper fix build error #rb: none Change 3358078 on 2017/03/22 by James.Golding Fix CIS - AnimNode_FootPlacement in Platformer game after SkelControl refactor (from CL 3351696) Change 3358080 on 2017/03/22 by Jurre.deBaare Updating Alembic importer thirdparty dependencies for Windows and Mac Change 3358081 on 2017/03/22 by James.Golding Add comment to help people fix up code after moving many properties in ContraintInstance to ProfileInstance member Change 3358092 on 2017/03/22 by James.Golding Fix undo for saving/clearing default cam on mesh (also marks mesh dirty) Change 3358093 on 2017/03/22 by James.Golding Panning in orbit mode now takes in account camera speed #jira UE-43082 Change 3358106 on 2017/03/22 by Thomas.Sarkanen Fix fallout from Main integration Change 3358454 on 2017/03/22 by Ori.Cohen Temporarily disable phat immediate mode previewing to break the dependency on immediate physics plugin. Will be turned back on in later refactor #JIRA UE-41711 Change 3358886 on 2017/03/22 by Ori.Cohen Fix AutoWeld not being disabled in blueprint editor when the object is simulated #JIRA UE-40193 Change 3358950 on 2017/03/22 by Lina.Halper reverted code asking about asset name when create asset #rb: none Change 3359034 on 2017/03/22 by Lina.Halper #fix fall out from previous revert - because now export also shows the window. we don't want export to FBX to show name dialog - it will use asset name as base #rb: none #code review:Thomas.Sarkanen Change 3359165 on 2017/03/22 by Ori.Cohen Fix welded capsules not using the right rotation #JIRA UE-41546 Change 3359232 on 2017/03/22 by Ori.Cohen Bump DDC key for new bvh34. Change 3359233 on 2017/03/22 by mason.seay Added a couple more scenarios and updated names. Needs more organization Change 3359293 on 2017/03/22 by tim.gautier Submitting MeshPaint test content for QAGame. Change 3359389 on 2017/03/22 by Ori.Cohen Back out changelist 3356589 Change 3359402 on 2017/03/22 by Jon.Nabozny Move GetWeldParent and GetWeldChildren to EngineTest. Change 3359978 on 2017/03/23 by Jurre.deBaare Mesh Paint brush disappears when painting in VR #fix removed conditional clause for painting the interactors #jira UE-43150 Change 3359980 on 2017/03/23 by Jurre.deBaare Mesh Paint hotkeys to modify brush size are inconsistent with other Paint modes #fix reverted to old behavior, paint mode overriding catching key input to viewport #jira UE-43158 Change 3360052 on 2017/03/23 by James.Golding Back out changelist 3359165, as it was made after smoke testing. Will re-submit after copy to main. Change 3360121 on 2017/03/23 by James.Golding Fix perf regression from testing for NaN's in FRotator::Quaternion in shipping builds Change 3360177 on 2017/03/23 by Jurre.deBaare Related to previous brush size check in, early out when the painter has handled the input, that way the rest of the editor can't take the brackets [] input anymore Change 3360358 on 2017/03/23 by mason.seay Updated naming and organization of actors in Outliner Change 3362050 on 2017/03/23 by Lina.Halper Back out changelist 3343074 #rb:none #code review: Martin.Wilson, James.Golding [CL 3362661 by Thomas Sarkanen in Main branch]
2017-03-24 09:53:37 -04:00
return MaterialInterface->CompileProperty(&ProxyCompiler, MP_BaseColor, ForceCast_Exact_Replicate);
}
break;
case MP_Specular:
case MP_Roughness:
case MP_Anisotropy:
case MP_Metallic:
case MP_AmbientOcclusion:
case MP_SubsurfaceColor:
// Only return for Opaque and Masked...
if (bIsOpaqueOrMasked)
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
return MaterialInterface->CompileProperty(&ProxyCompiler, PropertyToCompile, ForceCast_Exact_Replicate);
}
break;
case MP_Normal:
case MP_Tangent:
// Only return for Opaque and Masked...
if (bIsOpaqueOrMasked)
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
return Compiler->Add(
Compiler->Mul(MaterialInterface->CompileProperty(&ProxyCompiler, PropertyToCompile, ForceCast_Exact_Replicate), Compiler->Constant(0.5f)), // [-1,1] * 0.5
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
Compiler->Constant(0.5f)); // [-0.5,0.5] + 0.5
}
break;
case MP_ShadingModel:
return MaterialInterface->CompileProperty(&ProxyCompiler, MP_ShadingModel);
case MP_SurfaceThickness:
return MaterialInterface->CompileProperty(&ProxyCompiler, MP_SurfaceThickness);
case MP_FrontMaterial:
return MaterialInterface->CompileProperty(&ProxyCompiler, MP_FrontMaterial);
default:
return Compiler->Constant(1.0f);
}
return Compiler->Constant(0.0f);
}
else if (Property == MP_WorldPositionOffset || Property == MP_Displacement)
{
//This property MUST return 0 as a default or during the process of rendering textures out for lightmass to use, pixels will be off by 1.
return Compiler->Constant(0.0f);
}
else if (Property >= MP_CustomizedUVs0 && Property <= MP_CustomizedUVs7)
{
// Pass through customized UVs
return MaterialInterface->CompileProperty(Compiler, Property);
}
else if (Property == MP_ShadingModel)
{
return MaterialInterface->CompileProperty(Compiler, MP_ShadingModel);
}
else if (Property == MP_SurfaceThickness)
{
return MaterialInterface->CompileProperty(Compiler, MP_SurfaceThickness);
}
else if (Property == MP_FrontMaterial)
{
return MaterialInterface->CompileProperty(Compiler, MP_FrontMaterial);
}
else
{
return Compiler->Constant(1.0f);
}
}
virtual FString GetMaterialUsageDescription() const override
{
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3362413) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3281394 on 2017/02/01 by Chad.Garyet one more try on the name here, with the extension this time Change 3286009 on 2017/02/03 by Jon.Nabozny Fix SkelMeshMerge duplicating Skeleton sockets. #jira UE-39690 Change 3288374 on 2017/02/06 by Jon.Nabozny Fix MaterialIndex checks in USkinnedMeshComponent::GetMaterial Change 3288640 on 2017/02/06 by Jon.Nabozny #rn Fix UPhysicsConstraintComponent details to allow modification of MaxForce, Stiffness, and Damping for Linear and Angular constraints. #jira UE-40261 Change 3288978 on 2017/02/06 by Jon.Nabozny Add code to debug for duplicate sockets in UQAMeshMergeComponent::MergeMeshes. Change 3290332 on 2017/02/07 by Marc.Audy Add AnimPhys object version Change 3290753 on 2017/02/07 by Jon.Nabozny Update CoM documentation for CoM offset. #jira UE-40136 Change 3290783 on 2017/02/07 by Jon.Nabozny Update mass dependent wheel properties in UWheeledVehicleMovementComponent when mass is updated. #jira UE-39820 Change 3292286 on 2017/02/08 by Jon.Nabozny Fix OSSNull query filtering. #codereview: John.Pollard, Josh.Markiewicz, JohnHenry.Carawon #jira: UE-37512 Change 3294138 on 2017/02/09 by Thomas.Sarkanen Add more descriptive name for sub-struct members in property tracks Change 3294139 on 2017/02/09 by Thomas.Sarkanen Moving to individual structs for limbs Change 3294140 on 2017/02/09 by Thomas.Sarkanen Updated base human asset to reflect limb changes Updated map to just contain the mannequin for now Updated Sequence to contain some default IK keys Change 3294178 on 2017/02/09 by Thomas.Sarkanen Fix shadow variable warning Change 3294554 on 2017/02/09 by Thomas.Sarkanen Fixed persistent limb drift issues with non-participant bones Still have rotational drift with IK chain nodes (still to fix). Also fixes the addition of initial keys on binding when animating. Also fixes not being able to pick the widget sometimes when picking nodes in the tree. Change 3294826 on 2017/02/09 by Chad.Garyet fixing up busted defaultvalues on physx and precompiled binaries Change 3294827 on 2017/02/09 by Thomas.Sarkanen CIS fixes for non-editor and monolithic builds Change 3296363 on 2017/02/10 by Thomas.Sarkanen Fix bone drifting Re-using local transforms then resetting each update pass was accumulating error (via GetRelativeTransform), causing limbs to drift. To address this, simply set the global transform in the case where we know the local transform wont change. Also optimized the hierarchy API a little & prevented excess work when nothing changes. Change 3296393 on 2017/02/10 by James.Golding Add support for clicking on PoseDriver targets in viewport Change 3296465 on 2017/02/10 by Thomas.Sarkanen Removed component visualizer (no longer used) Change 3296467 on 2017/02/10 by Thomas.Sarkanen Fixed extra keys being made when switching IK/FK mode. Now we only key on user action. Added ability to hide nodes (advanced setting) and manipualtors (on playback) Change 3296554 on 2017/02/10 by Thomas.Sarkanen Fixed up some workflow issues Widget visibility and the ability to move actors around is now corrected by calling the base FEdMode class functions appropriately. Added a focus of the chosen actor so orbiting the actor is easier. There is a hitch when we do this (probably because Sequencer is re-initialized the next frame), so we miss the nice transition. Change 3296621 on 2017/02/10 by Thomas.Sarkanen Added ability to specify manipulator type when adding Not exposed in the 'add' UI yet, just enough to allow me to batch-change the ones we have for now Also tweaked default extents for box manipulators. Change 3296622 on 2017/02/10 by Thomas.Sarkanen Changed FK manipulators to boxes Change 3296740 on 2017/02/10 by James.Golding Added bOnlyDriveSelectedBones option to PoseDriver Change 3296957 on 2017/02/10 by James.Golding Fix AnimNode_PoseHandler using mesh bone index not compact bone index for setting up BoneBlendWeights array Change 3297092 on 2017/02/10 by Jon.Nabozny #rn Fix InstancedStaticMesh not properly creating physics state when Stationary. #JIRA UE-39876 Change 3297160 on 2017/02/10 by Ori.Cohen Temp fix for physx immediate mode crashing when 0 rows are generated. Change 3297203 on 2017/02/10 by Ori.Cohen Temp fix for immediate mode crash when free joints are batched together #JIRA UE-41026 Change 3297326 on 2017/02/10 by Jon.Nabozny PR #2965: Update comments in several classes within demo projects to match style present and provide more detail for new users (Contributed by Markyroson) Changed some of the comment blocks to multiple single line (inside definitions). This is for consistency with our codebase. #JIRA UE-38981 Change 3297618 on 2017/02/10 by Charles.Anderson Arcblade - GDC - Created a new mor polished Phat for this. Probably not gonna use it. - Created a Ragdoll asset. Need to talk to Ori about getting it working better. Change 3297799 on 2017/02/10 by mason.seay Test map for testing audio attenuation Change 3297940 on 2017/02/10 by Jon.Nabozny #rn Fix ConstraintComponentVisualizer with AngularOffset. Needed to apply local transform before world. #JIRA UE-39597 Change 3297947 on 2017/02/10 by Chad.Garyet adding automated test build option Change 3299203 on 2017/02/13 by Thomas.Sarkanen Fixed local coord system issues with rotation (etc). Delta transforms are supplied in the space we specify in GetCustomDrawingCoordSystem(), so we now perform our operations in that space, then convert back when applying to the animation. Fixed up to allow for animating actors with transformed skeletal mesh components. Also added some proximity scaling to manipulators. Change 3299220 on 2017/02/13 by Thomas.Sarkanen Fixed CIS missing include Change 3299343 on 2017/02/13 by Lina.Halper Spine twist/roll check in - control points are disabled #rb: Thomas.Sarkanen Change 3299388 on 2017/02/13 by James.Cobbett Updating QA-Physics map Change 3299518 on 2017/02/13 by Lina.Halper fix build issue #rb: none Change 3299701 on 2017/02/13 by Ori.Cohen Add finer grain physx stat information. Change 3299894 on 2017/02/13 by Ori.Cohen Added LOD support for immediate mode physics Change 3299906 on 2017/02/13 by James.Cobbett Updating QA-Collision map with new test scenarios Change 3299962 on 2017/02/13 by Ori.Cohen Fix shadow warning Change 3300100 on 2017/02/13 by Lina.Halper - renamed Constraint Axes option to FFilterOptionPerAxis : was going to reuse it for something else but didn't have to but left name changed because it makes more sense - enable control point reading part - twist/roll controll is localspace reader - BaseHuman #rb: none #code review:Thomas.Sarkanen Change 3300206 on 2017/02/13 by Ori.Cohen Rename Ragdoll node to RigidBody node Change 3300899 on 2017/02/13 by Alan.Noon Migrating Paragon Origin and Origin Small maps content. Change 3301279 on 2017/02/14 by Jurre.deBaare Mesh paint refactor Change 3301288 on 2017/02/14 by Jurre.deBaare Incremental CIS fixes Change 3301290 on 2017/02/14 by Jurre.deBaare Another CIS fix Change 3301311 on 2017/02/14 by Thomas.Sarkanen Fixed non-editor builds Change 3301313 on 2017/02/14 by Jurre.deBaare More CIS fixes Change 3301315 on 2017/02/14 by Jurre.deBaare Include CIS fix Change 3301333 on 2017/02/14 by Jurre.deBaare Non-Unity CIS fixes Change 3301388 on 2017/02/14 by Benn.Gallagher CIS fix for cloth create panel Change 3301445 on 2017/02/14 by Benn.Gallagher Last few changes over from the mesh paint branch hooked up LOD dropdown box Moved asset selection out of details panel Change 3301527 on 2017/02/14 by mason.seay Deleting unneeded map Change 3301531 on 2017/02/14 by mason.seay Renaming Map to fix naming scheme Change 3301558 on 2017/02/14 by Ori.Cohen Fix physx stats not being counted properly as we were not using static data. Change 3301604 on 2017/02/14 by Ori.Cohen Fix static analysis warning Change 3301615 on 2017/02/14 by Jurre.deBaare All. The. CIS. Fixes Change 3301630 on 2017/02/14 by mason.seay Updating Map for testing Change 3301697 on 2017/02/14 by mason.seay Final change to map Change 3301734 on 2017/02/14 by Jurre.deBaare - Crash CTRL-Z when having cloth painter and paint mode open - Fill action not being undo-able - Import vertex colors should default to to-instance - Paint mode buttons in level painter are now toggle buttons (clarifies UI for user) Change 3301763 on 2017/02/14 by Jurre.deBaare - Fix for asset without engine version - Fix for crash due to missing skeletal mesh permutation in mesh paint view modes Change 3302421 on 2017/02/14 by Lina.Halper Fixed issue where spline gets incorrect position when it has many control points. #rb: Thomas.Sarkanen Change 3302667 on 2017/02/14 by Lina.Halper - added spine control points to work - FK/IK switch isn't working great yet. Don't try - disabled all twist/roll handling since control point itself can twist also and they were conflicting each other - added option to add fk nodes, change parnets - fixed issue with drawing skeleton drawing, when parents weren't added yet. - Added neck/head/body control #code review: Thomas.Sarkanen #rb: none Change 3303200 on 2017/02/14 by Alan.Noon Collision shapes for Immediate Mode Ragdolls Change 3303201 on 2017/02/14 by Alan.Noon Adding Origin, Full Map Change 3303477 on 2017/02/15 by James.Golding Add Get and SetComponentForAxis to FVector and FRotator Change 3303478 on 2017/02/15 by James.Golding Add support for multiple source bones to PoseDriver Change 3303480 on 2017/02/15 by James.Golding Added per-scene frame number, handles cases like motion blur caching. Refactored GPUSkinCache to have an explicit frame advance function, called after all viewports have rendered in game/editor, PostRenderAllViewportClients. (Original author Chris.Bunner) Change 3303513 on 2017/02/15 by Jurre.deBaare CIS: Linux file name case fixes and incorrect pragma once Change 3303576 on 2017/02/15 by Thomas.Sarkanen Sub-sequence sections can now override how they instance their template Added UMovieSceneSubSection::GenerateTemplateForSubSequence. This just performs the original call to SubSequenceStore.GetCompiledTemplate in the dcefault case. Allowed non-const access to FMovieSceneEvaluationTemplate::GetTracks so they can be potentially modified once instanced. Added access for FMovieSceneEvaluationTrack::ChildTemplates. Change 3303578 on 2017/02/15 by Thomas.Sarkanen Rich curves can now be transformed post-copy correctly Using GetKeyIterator rather than aquiring the iterator directly makes sure we have valid key handles, which we dont if we have just copied the curve. Change 3303579 on 2017/02/15 by Thomas.Sarkanen Added GetLinkNode to complement SetLinkNode in FAnimNode_Base Change 3303580 on 2017/02/15 by Thomas.Sarkanen Made the logic around when sub-tracks can be primed for recording more specific Prevents rig control sub tracks form being able to be primed. Change 3303581 on 2017/02/15 by Thomas.Sarkanen Allowing alpha on rig tracks to work Alpha curve is now pushed down to tracks on template compilation along with bone masks & additive flag. Sequencer anim instance updated to use new flags. Structure altered to accomodate layered blending for masked body parts (should probably push this to the regulat sequence instance too). Moved anim node to local space (now it is just derived form FAnimNode_Base). Also fixed opening/binding order issues - Now you should be able to open a sequence, bind to an actor and create a new rig control in a sequence in any order. Change 3303582 on 2017/02/15 by Thomas.Sarkanen Fixed UE4Game CIS - Moved AddConstraint() to non-editor-only Also fixed crash in property chain iteration (for non-existent array properties) Change 3303594 on 2017/02/15 by Jurre.deBaare Fix for crash on deleting painted actors Change 3303636 on 2017/02/15 by Lina.Halper -remove temp code to add constraints. - they serialize, so once you add them you don't have to add these anymore. This will move to editor menu soon. #rb: none Change 3303648 on 2017/02/15 by Martin.Wilson Fix reimport crashes if the animation uses additive transform tracks. #jira UE-41929 #jira UE-41921 Change 3303652 on 2017/02/15 by Benn.Gallagher Added merged Ice mesh with new simulation mesh to match mesh from APEX version. Change 3303660 on 2017/02/15 by Benn.Gallagher map update for clothing demo Change 3303662 on 2017/02/15 by Benn.Gallagher State machine update for Ice anim Change 3303676 on 2017/02/15 by mason.seay Adjusted sound actor location Change 3303689 on 2017/02/15 by Benn.Gallagher Updated Ice mesh to have clothing present on the back part of the dress Change 3303691 on 2017/02/15 by Jurre.deBaare CIS fixes for pose driver details Change 3303704 on 2017/02/15 by Lina.Halper Add FK limb links - enabled temp code to add constraints. It's not serialized from BP editor, so this has to be added everytime. Will fix this in the futre check-ins #rb:none Change 3303716 on 2017/02/15 by Thomas.Sarkanen Updated manipulators to always draw in front of the mesh Added material & enabled content for the plugin. Change 3303730 on 2017/02/15 by thomas.sarkanen Resaving manipulator material with correct engine version Change 3303754 on 2017/02/15 by Thomas.Sarkanen Fix manipulators popping to max size when manipulating Change 3303835 on 2017/02/15 by Thomas.Sarkanen Fix hitch by not displaying spawned objects if we dont have a sequence focused. Change 3303843 on 2017/02/15 by Lina.Halper Added normalize rotation on inputs/outputs #code review: Thomas.Sarkanen #rb: none Change 3303916 on 2017/02/15 by Jurre.deBaare CIS: Linux incorrect pragma once Change 3304084 on 2017/02/15 by James.Golding Update pose driver test after addition of multi-bone input Change 3304188 on 2017/02/15 by James.Golding Add custom remap curve option per-target in PoseDriver Change 3304189 on 2017/02/15 by James.Golding Fix CIS for ControlManipulator.cpp Change 3304210 on 2017/02/15 by Alan.Noon Added hidden collision objects for stairs area. Added brighter lighting on plinth area. Hooked up minion placement randomization. Added 100 minions to minion level for ragdol Change 3304327 on 2017/02/15 by Alan.Noon Created new Persistent levels for each Anim Tech demo, which loads in Origin_Small_P Change 3304337 on 2017/02/15 by Alan.Noon renamed minion demo level for GDC Change 3304508 on 2017/02/15 by Lina.Halper - You can see constraints in the tree view (full edit mode) - YOu can add or update constraints (using update constraints button) - You can delete constraints - Cleaned up constraints interface #rb: none #code review: Thomas.Sarkanen Change 3304537 on 2017/02/15 by chris.evans !N Initial PSD test [chrise] Change 3304551 on 2017/02/15 by James.Golding Fix missing 'break's from SetComponentForAxis in FVector and FRotator Change 3304570 on 2017/02/15 by Chris.Evans !N Source assets for psd test #RB none Change 3304964 on 2017/02/15 by Lina.Halper fix build issue #code review: James.Golding #rb: none Change 3304998 on 2017/02/15 by Chris.Evans !B Checking in correct FBX #RB none Change 3305314 on 2017/02/15 by chris.evans !N Adding materials driven !N Adding 'simulation' animation which simulates the driven result Change 3305355 on 2017/02/15 by chris.evans !N Initial test shoulder pose Change 3305357 on 2017/02/15 by chris.evans !N Initial Mambo shoulder ROM Change 3305446 on 2017/02/15 by Lina.Halper fixed CIS error #rb: none #code review: Thomas.Sarkanen Change 3305768 on 2017/02/16 by Jurre.deBaare CIS: Clang compile errors Change 3305857 on 2017/02/16 by thomas.sarkanen Removed particle systems from top plinth as they interfere with selection and obscure demo somewhat. Change 3305907 on 2017/02/16 by Thomas.Sarkanen Fix hitches on selection of multiple keys Prevented multiple seleciton callbacks being called for each key (we now just edit the selection then broadcast later). Dont force the details panel to refresh if nothing has changed. Make sure we make a list of unique object IDs when processing the selection delegate, as we get an object ID per track. Change 3305910 on 2017/02/16 by Thomas.Sarkanen Allow multiple instances ot the same parameterized subsequence to exist and function correctly Subsequences in the store are now keyed off an optionally specified 'other' object. In the case of parameterized subsequences, this object is the section. Editor only right now - cooked builds are still to come Change 3305911 on 2017/02/16 by Thomas.Sarkanen Fix NaNs from uninitialized poses Change 3305922 on 2017/02/16 by Thomas.Sarkanen BuiltData for Origin_Small_P Change 3305927 on 2017/02/16 by Thomas.Sarkanen Moved ControlRig->ControlRigDemo in preparation for keeping all assets in one folder Added some test assets Change 3305928 on 2017/02/16 by Thomas.Sarkanen Dont select actors when we bind to them Selection can sometimes look bad and obscure the character. Change 3306118 on 2017/02/16 by Thomas.Sarkanen CIS fix Change 3306230 on 2017/02/16 by Jurre.deBaare CIS fix for linking errors on specific platforms #test compile PS4 OrionGame Change 3306378 on 2017/02/16 by Martin.Wilson First pass Live Link system (Initially from //Tasks/UE4/Dev-Causeway) - Live Link Maya plugin build files (builds a .mll file that can be loaded into Maya) - Live Link Interface (editor module with interface files) - Live Link Message Bus Framework (editor module with files needed for building message bus based live link plugins) - Live Link (experiemental plugin that contains editor part of live link system) Change 3306388 on 2017/02/16 by Lina.Halper - build issue fix - also tweaked display name to display only node name in editing mode #rb: none Change 3306455 on 2017/02/16 by Jon.Nabozny #rn Perf improvements to FAnimNode_RigidBody. Cache bounds to prevent unnecessary overlap updates. Move overlaps off game thread. Change 3306591 on 2017/02/16 by Martin.Wilson Updates to live link - Copyright changes (some were still 2016) - Rename BlankMayaPlugin to LiveLinkMayaPlugin Change 3306907 on 2017/02/16 by Jon.Nabozny MinionDemo Content Perf Pass. Change 3306914 on 2017/02/16 by Thomas.Sarkanen Back out changelist 3305857 and 3305922 Reverts particle system changes to Origin_Small_P Change 3306942 on 2017/02/16 by Martin.Wilson Live link demo content -Feng mao mesh that matches maya scene - LiveLinkGDC Map - Beginning of camera control sequencer Change 3307154 on 2017/02/16 by Alan.Noon Merged in new content to fix badly collapsed BP Static meshes deleted ragdoll minions for new posing. Stopped animation on spawn pad materials Change 3307382 on 2017/02/16 by Martin.Wilson Fix CIS (Add virtual destructor to ILiveLinkSource) Change 3307497 on 2017/02/16 by chris.evans !N Moving mats Change 3307541 on 2017/02/16 by Chris.Evans !B Rebuilding test assets with new skeleton Change 3307873 on 2017/02/16 by Chris.Evans !N Mambo updates Change 3307875 on 2017/02/16 by Chris.Evans !R Update to blueprint Change 3308030 on 2017/02/16 by Alan.Noon Changed lighting of Origin_Small_P based on feedback. Placed new objects were previous were exhibiting bad lightmaps. Change 3308246 on 2017/02/16 by Alan.Noon Consolidated new lighting content from sublevels into Origin_Small_P. Hooked up Physics asset to ArcBlade Skeletal mesh Change 3308470 on 2017/02/16 by Lina.Halper - make sure all are hooked up properly to pelvis and spine_03 - no multiple pelvis anymore. Using one to tweak all of them. all limbs are connected through constraints - make sure end effector rotation is modifying IK's last chain rotation - had to hack for saving offset for IK/FK switch mode but it works fine - fixed lots of constraint issue with deleting node, parent constraints. Added new spine after that fix. #rb:none #code review: Thomas.Sarkanen Change 3308764 on 2017/02/17 by Jurre.deBaare Fix for non-unity Orion game build Change 3308774 on 2017/02/17 by Thomas.Sarkanen Added multi-selection of manipulators Allowed BoxSelect, FrustumSelect and SelectNone to be overriden by the edit mode. Our edit mode doesnt have a sub-tool, it handles everything itself. Also fixed manipulators drawing in front of widget Changed manipualtors to be world-relative rather than screen relative scaled. Tweaked proximity to be stateful so we only highlight the closest node Also fixed slow FPS when dragging. Change 3308802 on 2017/02/17 by James.Golding Fix 'apply custom curve' for pose driver targets being on by default Change 3308824 on 2017/02/17 by Lina.Halper Fix build issue #code review:Thomas.Sarkanen #rb: none Change 3308851 on 2017/02/17 by James.Golding Add new control manipulator picking UI Change 3308863 on 2017/02/17 by Martin.Wilson Enable Live Link plugin in AnimTechDemo Change 3308880 on 2017/02/17 by Thomas.Sarkanen Getting instanced subsequences working in cooked builds Change 3309009 on 2017/02/17 by Benn.Gallagher Mask support and UI, not hooked up to painter yet Added clothing tools experimental flag and hooked up Change 3309016 on 2017/02/17 by Martin.Wilson Clean up engine provided output devices and supply a Maya one, stops Maya hanging on shutdown Change 3309108 on 2017/02/17 by Jurre.deBaare CIS fix: missing definition of FWeakObjectPtr (strangely not part of CoreMinimal) Change 3309134 on 2017/02/17 by Jurre.deBaare Crash in texure painting mode #fix Required some extra checks for new setup (can only paint while having one mesh selected) Issue with vertex paint propagating to lower LOD levels #fix There was no setup to propagate colors from source static mesh data so added the path #misc Re-added flow painting and removed flow-strength property #misc Added detail customization for texture paint UV channel Change 3309256 on 2017/02/17 by Benn.Gallagher CIS fix Change 3309393 on 2017/02/17 by James.Golding Set color for kinematic controls Change 3309410 on 2017/02/17 by Ori.Cohen PR #3221: Kinematic body interpolation in substepping causes invalid raycasting/sweeping/overlapping (Contributed by PhoenixBlack) Change 3309469 on 2017/02/17 by Benn.Gallagher Added ContentExamples cloth assets Added camera transitions and controls Cleanup logic Move characters and materials onto upper plinth Hid actor mesh from game view. Change 3309625 on 2017/02/17 by mason.seay Resaving assets to remove warnings Change 3309802 on 2017/02/17 by Alan.Noon Modified Origin_Small_P lighting. Set up ArcBlade for presentation Change 3309985 on 2017/02/17 by Thomas.Sarkanen Fixed crash adding multiple rigs to sequence If a hierarchy is empty, dont attempt to access a non-existent node #jira UE-42103 Change 3310209 on 2017/02/17 by Lina.Halper - Fix limbs detaching issues - added set translation to override translation - moved joint targets away from the limbs - Spine FK is on by default - spnie IK/FK switch should work better. It can still pop depending on your control point can handle or not. #rb: none Change 3310389 on 2017/02/17 by Chris.Evans !N Mambo multi-joint pose demo Change 3310911 on 2017/02/18 by Lina.Halper Ice/Mambo mapping fix with BaseHuman Change 3311138 on 2017/02/19 by James.Golding - Allow multi-select in control picker - Clicking on background clears selection - Add 'Select All' button - Darken controls that are disabled (is in different kinematic mode) - Use selection color from control instead of outline - Center and fit picker to details panel width - Remove entire Nodes section of edit mode panel (not just tree) - Fix rig properties not scrolling - Place picker in expandable area, collapsed when no rig selected Change 3311147 on 2017/02/19 by Thomas.Sarkanen Fix spine keying Add the ablity for array elements to be keyed directly. The spine properties are FTransforms in an array and previously it ignored them because of assumptions about allowed structures. This should probably be refactored to a more generic 'traverse up my property chain looking for Interp properties' at some point in the future. Change 3311150 on 2017/02/19 by Thomas.Sarkanen Synchronizing sequencer selection Now enter key works for keying selected tracks Added new way to select sequencer tracks externally via property paths. Change 3311152 on 2017/02/19 by Thomas.Sarkanen Missed files Change 3311153 on 2017/02/19 by Thomas.Sarkanen CIS fixes Change 3311154 on 2017/02/19 by Thomas.Sarkanen File I missed (CIS fix) Change 3311156 on 2017/02/19 by James.Golding Change 'ControlRig Edit Mode' icon Change 3311176 on 2017/02/19 by Lina.Halper Fix build issue #rb:none #code review: Thomas.Sarkanen, Jurre.DeBarre, James.Golding p.s. not sure who's code, so just adding everybody I can think of Change 3311261 on 2017/02/19 by Lina.Halper - Fixed an issue when you don't have parent in the rig - get all component space, and convert to local #rb:none #code review: Thomas.Sarkanen Change 3311282 on 2017/02/19 by Lina.Halper Fixed issue where pivot location is incorrect when mapping to other meshes #rb: none #code review:Thomas.Sarkanen Change 3311491 on 2017/02/20 by Thomas.Sarkanen CIS fix Change 3311497 on 2017/02/20 by Jurre.deBaare Game editor compile error #fix WITH_EDITORONLY_DATA instead of WITH_EDITOR ifdef around UPROPERTY Change 3311507 on 2017/02/20 by Jurre.deBaare Cloth paint progress - Different approach / refactored out paint ray retrieval - Added key input callback to IMeshPainter and derived classes - Added toggle for showing invisible vertices - Added gradient paint tool - Details customization for brush/gradient tool settings - Some cleaning Change 3311527 on 2017/02/20 by Jurre.deBaare CIS header guard warning Change 3311530 on 2017/02/20 by Jurre.deBaare CIS dereferencing possible nullptr warning Change 3311533 on 2017/02/20 by Jurre.deBaare CIS dereferencing warning (better fix) Change 3311543 on 2017/02/20 by James.Golding Add buttons for switching IK/FK mode of limb/spine to picker Put picker and details panel in a scroll box Fix spine manipulators not being hidden when disabled Change 3311649 on 2017/02/20 by James.Golding R key now toggles manipulator visibility Change 3311707 on 2017/02/20 by Lina.Halper Added Clavicle FK controls #code review: Danny.Bouimad Change 3311764 on 2017/02/20 by Martin.Wilson Update cameras for Live link demo map and turn on recompute tangents on Feng Mao Change 3311858 on 2017/02/20 by Chris.Evans !R Updated with pose values Change 3312043 on 2017/02/20 by Jon.Nabozny Change SkelMeshMerge logic to fix duplicates (again) and fix crash. #jira UE-39690, UE-42146 Change 3312046 on 2017/02/20 by Thomas.Sarkanen Fix crash drag/dropping skeletal mesh #jira UE-42139 - Crash when adding SK_Mannequin to a Level Sequence in QAGame Change 3312052 on 2017/02/20 by James.Golding Change manipulator colors to red for right, blue for left, white for middle Change IK/FK switch buttons to yellow/purple Move picker buttons to take up less horizontal space Move IK/FK switch button positions out of C++ Change 3312137 on 2017/02/20 by Ben.Marsh Fix settings for using precompiled binaries in Dev-AnimPhys. Change 3312517 on 2017/02/20 by Alan.Noon Created new persistent level for Chris E's demo. Placed a few minions for CharlesA to test improved ragdoll asset. Tuned lighting in Origin_Small_P and fixed light leaks. Change 3312570 on 2017/02/20 by Charles.Anderson More work on Arcblade Ragdoll for GDC Change 3312594 on 2017/02/20 by Alan.Noon MultipleJointPoseDriving_GDC_P_pose_test_level Change 3312637 on 2017/02/20 by Alan.Noon Reconciling offline content Change 3312902 on 2017/02/20 by Charles.Anderson Minions for GDC Change 3313206 on 2017/02/20 by Ori.Cohen Added trimesh support for immediate mode. Change 3313247 on 2017/02/20 by Chris.Evans !N updated with both demo assets in one map Change 3313447 on 2017/02/20 by Ori.Cohen Fix immediate mode collision not working with convex transforms being baked in Change 3313472 on 2017/02/20 by Ori.Cohen Fix crash caused by missing switch case break Change 3313518 on 2017/02/20 by Lina.Halper IK knee issue/Twist issue #code review: Thomas.Sarkanen, James.Golding #rb: none Change 3313547 on 2017/02/20 by Lina.Halper Fixed Body-Ctrl to work with every node. Change 3313617 on 2017/02/20 by Lina.Halper - Fix for limbs delaying when moving BodyCtrl - Fix for additive issue for control rig anim node #rb: none #code review: Thomas.Sarkanen Change 3313618 on 2017/02/20 by Lina.Halper remove unnecessary calc #rb:none Change 3313625 on 2017/02/20 by Lina.Halper Fixed body ctrl move keys - all IK keys also have to be in local space (but they're local to body_ctrl) Change 3313633 on 2017/02/20 by Alan.Noon Quick laying out of Minions for stress testing. Iterated on Environment collision.Built lighting Change 3313655 on 2017/02/20 by Lina.Halper - Fixed so that you can tweak pelvis and move body also - Fixed mambo mapping Change 3313897 on 2017/02/21 by James.Golding Make all FK manipulators smaller (3 instead of 4.5) Change 3313898 on 2017/02/21 by James.Golding Integrate CL 3311876 to Dev-AnimPhys (original author Rolando.Caloca) DR - Expose skin cache cvar r.SkinCache.AccumulationBufferSizeInKB Change 3313902 on 2017/02/21 by James.Golding Draw lines from IK target to mid-joint Change 3313906 on 2017/02/21 by Thomas.Sarkanen Fix undo/redo/save t-pose and crashes Binding now only does what it needs to do an no more (i.e. force a reig evaluation and re-select the rig we are looking at). Object spawner now does not root its objects. Rather it hangs them off of a 'holder' object so that they can exist safely in the transaciton buffer. Change 3313938 on 2017/02/21 by Benn.Gallagher Migrated clothing assets Change 3313982 on 2017/02/21 by James.Golding Fix static analysis in ClothPainter.cpp Change 3313985 on 2017/02/21 by Benn.Gallagher Fixed crash when attempting to create clothing with degenerate triangles. Now a log error and toast warn the user of conincident tri points. #jira UE-41935 #rnx Change 3314052 on 2017/02/21 by James.Golding Fix CIS in ControlRigEditModeSettings.cpp Change 3314100 on 2017/02/21 by Lina.Halper IK fix for retargeting - using rig transform and remapping doesn't work. I'll have to use mesh space for IK at least. It still does blend in rig space, though with FK. #rb: none Change 3314160 on 2017/02/21 by Thomas.Sarkanen Added optional node trajectories Added trajectory cache which uses similar mechanisms to the thumbnail cache to build trajectories for nodes. Builds trajectories and their meshes incrementally when relevant things change Change 3314167 on 2017/02/21 by James.Golding Fix undo when pushing IK/FK toggle buttons Change 3314168 on 2017/02/21 by Benn.Gallagher Disabled skin cache on tech demo project Change 3314290 on 2017/02/21 by Lina.Halper - Cleaned up code a bit - Fixed thigh to rotate to target and fixed a bug that caused jittering #rb: none Change 3314418 on 2017/02/21 by Thomas.Sarkanen Fix CIS issue Change 3314428 on 2017/02/21 by Thomas.Sarkanen Fixup anim node to be of correct editor-time type Caused crash when placed in an anim BP Change 3314574 on 2017/02/21 by Thomas.Sarkanen Fixed crash on shutdown #jira UE-42214 Change 3314705 on 2017/02/21 by Alan.Noon Iterating on map collision. Made minion weapon joint unbreakable Change 3314722 on 2017/02/21 by Alan.Noon Moved minions back into Minion demo Persistent level. Change 3314778 on 2017/02/21 by Lina.Halper added neck/ball_r/l control #code review: Daniel.Bouimad Change 3314908 on 2017/02/21 by Ori.Cohen Temp fix for cloth bounds issue. Change 3314920 on 2017/02/21 by Alan.Noon Placing minions. Iterating collision Change 3314970 on 2017/02/21 by Lina.Halper added bone picker for toes, neck Change 3315006 on 2017/02/21 by Benn.Gallagher Fixed clothing bounds issue with empty simulations. Change 3315017 on 2017/02/21 by Lina.Halper fix crash on null proxy #rb: Benn.Gallagher Change 3315054 on 2017/02/21 by Alan.Noon Placing minions Change 3315671 on 2017/02/21 by Chris.Evans !B Fixed default material !N Added physics subgraph for Mambo !N Added third 'gameplay' complex example Change 3315693 on 2017/02/21 by chris.evans !N Enabling tangent recompute on Mambo face and arm pits. Change 3315838 on 2017/02/21 by Alan.Noon New Orbital Laser Pawn. New ragdoll sublevels for minion demo (400 minions) Change 3316206 on 2017/02/22 by Thomas.Sarkanen Fix shadowed variables Change 3316207 on 2017/02/22 by Thomas.Sarkanen Manipulators are now transparent Change 3316258 on 2017/02/22 by Jurre.deBaare - Fix for changing levels while force painting to a specific LOD - Brush depth not same as in main Change 3316259 on 2017/02/22 by Jurre.deBaare Fix for paint verts being rendered outside of painting area #misc want to change underlying behaviour for the brush representation but this'll patch it up for now Change 3316260 on 2017/02/22 by Jurre.deBaare Changed default paint brush settings Change 3316267 on 2017/02/22 by Jurre.deBaare Added channel paint flags to texture painting settings #misc might want to create base class for common paint settings Change 3316268 on 2017/02/22 by Jurre.deBaare Fix for issue with viewport color mode not being reset when exiting mesh paint mode #jira UE-42221 Change 3316278 on 2017/02/22 by James.Golding Fix crash when pose asset contains a bone that is not in the mesh Change 3316304 on 2017/02/22 by Thomas.Sarkanen Prevent sequencer from reselecting tracks when keys are selected Also fixed crash concurrently modifying an itterating TSet when removing selection nodes. Also made manipualtors not grow and shrink when transacting. Also tweaked sequencer selection to not allow movement of infinite areas - this allows us to start drag-selecting over these tracks rather than trying to move a seciton that cannot be moved. #jira UE-42164 Change 3316325 on 2017/02/22 by James.Golding Hook up Mambo physics as 'Pose Process AnimBP' Change 3316384 on 2017/02/22 by James.Golding Slow down mambo anim playback rate Change 3316385 on 2017/02/22 by Jurre.deBaare CIS: Deprecation warning fix Change 3316424 on 2017/02/22 by Lina.Halper #fix : control rig mapping fix for Mambo #lockdown: James.Golding Change 3316525 on 2017/02/22 by Lina.Halper - Fixed so that the mapping happening with retarget base pose, not ref pose - Added refresh mapping option for all nodes to refresh bone transform - in case you change retarget base pose - WIP of fingers, don't think we'll make it to demo, but it is still wip going in. #lockdown: James.Golding #rb: none #code review: Thomas.Sarkanen, James.Golding Change 3316684 on 2017/02/22 by Lina.Halper fix shadow warning #rb: none #lockdown: james.golding Change 3316748 on 2017/02/22 by Thomas.Sarkanen Fix t-pose bindings in various demo workflow situations Fix a crash when clearing actor Fix t-pose when opening a new sequence over an old one Fix t-pose on save Note: Added a couple of 'nuke it from orbit' re-binds to the actor because some code paths were not correctly setting up all of our data. Particularily we were always setting up the anim instance. We should revisit this after GDC. #jira UE-42136 Change 3316895 on 2017/02/22 by Jurre.deBaare Incorrect simulation verts getting painted #fix added an early rejection test #misc fixed sqrd vs non-sqrd check #misc level painting already did this in other specific code Change 3316917 on 2017/02/22 by thomas.sarkanen Disabling threaded update on Mambo's post process anim BP We dont support running the main BP non-threaded and the post process threaded right now. Change 3316933 on 2017/02/22 by Thomas.Sarkanen Fixed linux shadow variable warning Change 3317104 on 2017/02/22 by Chris.Evans !N Initial animation with face Change 3317483 on 2017/02/22 by Alan.Noon Added controls to resize the Orbital Laser Impulse in the minion demo Change 3317592 on 2017/02/22 by Alan.Noon Tweaking Parameters on orbital Laser Pawn Change 3317608 on 2017/02/22 by Lina.Halper Sorry - missed this files from previous check-in It should have gone with CL 3316525 #rb:none #code review:Thomas.Sarkanen, James.Golding #lockdown: James.Golding Change 3317762 on 2017/02/22 by Lina.Halper - allow dependency array to be added by IK effectors - but this isn't actual bug in this case - the bug was property was overriding the value, so we'll have to make sure to update property from code change (bForceUpdatePropertyInTheNextTick) #rb:none #code review: Thomas.Sarkanen, James.Golding #lockdown: James.Golding Change 3317807 on 2017/02/22 by Martin.Wilson Update for Live link code -Rename Maya Source to Message Bus Source -Fix typo in ReceiveClient function name Change 3318031 on 2017/02/22 by Alan.Noon 100 more minions in a sublevel. Tuned new pawn. Added sound, particle effects to impulse Change 3318217 on 2017/02/22 by Jon.Nabozny Re-enable Dynamic Shadows for minions. Also enable Single Sample Shadow for perf reasons. Change 3318365 on 2017/02/22 by Alan.Noon Created new shadow capsule asset for minion. Disabled DOF. Change 3318421 on 2017/02/22 by Alan.Noon Adding more minion anims for variety Change 3318435 on 2017/02/22 by Alan.Noon Tweak to minion anim BP: minions pick and idle and stay with it. Change 3318860 on 2017/02/23 by James.Golding Force update nodes and manipulators when changing IK/FK mode Better fix for UE-42257 Change 3318869 on 2017/02/23 by James.Golding Key limb manipulators when switching IK/FK mode Change 3318870 on 2017/02/23 by James.Golding Fix head button picker location Change 3318875 on 2017/02/23 by James.Golding Add 'T' key shortcut for toggling trajectory drawing Change 3318907 on 2017/02/23 by Benn.Gallagher Added rail for clothing sheet examples Change 3318909 on 2017/02/23 by Thomas.Sarkanen Fix trajectories jittering as they generate The rig needs ticking twice because of what looks like some stateful assumptions that were recently made. Basically to get the rig to a state it needs ticking more than once. This also means that we need to tick sequencer twice to make sure the rig state gets pushed to the anim instance too. This may be to do with the latent IK/FK switching, and needs to be investigated. For now, I'm leaving it like this but its not ideal because it makes the trajectory generation twice as expensive. Change 3318929 on 2017/02/23 by James.Golding Make PoseDriver Details not assume there is always a posedrivernode (fix potential crash during demo) Change 3318930 on 2017/02/23 by James.Golding Resave pose_test_level with camera in better default position Change 3318969 on 2017/02/23 by thomas.sarkanen Added demo map with mannequin and mambo Change 3318975 on 2017/02/23 by thomas.sarkanen Improved embededed test sequence Kept blends away from initial binding because of t-pose issues Change 3318979 on 2017/02/23 by thomas.sarkanen Added sequence showing retargeting to multiple skeletons Change 3318983 on 2017/02/23 by thomas.sarkanen Improved retargeting sequence so that loop points dont pop animation Change 3318991 on 2017/02/23 by Thomas.Sarkanen Prevent division by zero in trajectory generation Newly created sequences dont have a frame interval set up. Change 3319013 on 2017/02/23 by Lina.Halper Fixed twist issue #lockdown: James.Golding #rb: none Change 3319017 on 2017/02/23 by Lina.Halper Checked in wrong line - disabling optimization #rb:none #lockdown:James.Golding Change 3319034 on 2017/02/23 by Lina.Halper sorry about that - for some reason p4 reverted the merged changes, and removing function that was merged #rb: none #lockdown: James.Golding Change 3319056 on 2017/02/23 by Lina.Halper Back out changelist 3319013 #lockdown:James.Golding Change 3319090 on 2017/02/23 by Thomas.Sarkanen Added bookmarks to level, fixed up animation sequeces to be used in demo Cleaned up unused assets from demo folder Change 3319209 on 2017/02/23 by Chris.Evans !R Lighting rebuilt !N cameras added, camera switching functionality Change 3319219 on 2017/02/23 by Chris.Evans !R Disabling physics on the snake head on left shoulder Change 3319268 on 2017/02/23 by Chris.Evans !R Says it's dirty, could have sworn checked in latest, tested and works fine, sync'd to last rev can't see what changed. Change 3319290 on 2017/02/23 by James.Golding Default bShowManipulatorsDuringPlayback to on Change 3319291 on 2017/02/23 by James.Golding Add GDC2017 shared collection Change 3319867 on 2017/02/23 by Alan.Noon Moved Audio to a level and removed from sublevel list. Deleted particles. Change 3320056 on 2017/02/23 by Alan.Noon Built lighting in Clothing_GDC_P Change 3320067 on 2017/02/23 by Ori.Cohen Fix rigid body tooltip having the same loctext key as the node name causing bad node name (matters for live demo) Change 3320085 on 2017/02/23 by Alan.Noon Changed Origin_Small_P in ControlRigDemoMap to "Always Loaded" Change 3320098 on 2017/02/23 by Martin.Wilson Final updates for Live Link GDC Demo -Add maya scene for demo -Add binary for maya plugin + installation instructions -Update actor location from based on latest maya scene and fix cameras in sequencer -Updates on live link system for demo that I have been running with locally. Should be safe. Change 3320579 on 2017/02/23 by Alan.Noon Bound Spacebar to GoRagdoll in ArcBlade map. Built lighting. Killed printing to screen/log in MinionBP. Change 3321144 on 2017/02/24 by Chris.Evans !B Lighting was bad in PIE, forced -1.5 exposure bias on all cameras Change 3321317 on 2017/02/24 by James.Golding PIE on pose_test_level jumps to first placed camera Change 3321956 on 2017/02/24 by Alan.Noon Adding missing minion anims. And Stuff. Change 3324190 on 2017/02/27 by Lina.Halper Removed ensure from EvaluateAnimation - this is invalid because of worker thread but I'll have more conversation over this change. #rb: none #code review: Laurent.Delayen, Martin.Wilson #jira: UE-41731 Change 3324309 on 2017/02/27 by Lina.Halper fixed issue with skeleton bone not displaying for curve picker #jira: UE-41909 #rb: Marc.Audy Change 3324342 on 2017/02/27 by mason.seay First round of assets for testing root motion with framerate Change 3324562 on 2017/02/27 by Lina.Halper Fix build error #rb: none Change 3325010 on 2017/02/28 by mason.seay Finished map Change 3325124 on 2017/02/28 by mason.seay Updated test to use trigger instead of delay Change 3325205 on 2017/02/28 by mason.seay Deleting old map Change 3325207 on 2017/02/28 by mason.seay Deleting old map Change 3325752 on 2017/02/28 by Lina.Halper Back out changelist 3319056 - adding upper twist back again #rb: none Change 3325759 on 2017/02/28 by James.Cobbett Moving Weld automated tests to EngineTest project Change 3326039 on 2017/02/28 by Lina.Halper Fix spine issues This is almost like content change as this contains lots of rigging changes from code. So I'm just checking with no review. #jira: UE-42260, UE-42268 #rb: none Change 3326246 on 2017/02/28 by mason.seay Test map and assets for overlap functional tests Change 3327926 on 2017/03/01 by Lina.Halper - disabled pelvis animation on WaveAnimationGDC - added pelvis controls so that you can animate without worring about gmibal lock. #code review: danny.bouimad Change 3327971 on 2017/03/01 by Lina.Halper Moved BaseHuman to ControlRig/Content folder - checking in redirector for the people who have local contents that want to keep #code review: Thomas.Sarkanen Change 3329196 on 2017/03/02 by James.Cobbett Deleting from QAGame. These maps and assets were migrated over to EngineTest in CL 3325759 and CL 3325802. Change 3329263 on 2017/03/02 by mason.seay Temp submission as I reorganize other content Change 3329321 on 2017/03/02 by mason.seay Reorganizing content Change 3329493 on 2017/03/02 by James.Cobbett Moving/renaming automated tests Change 3332044 on 2017/03/03 by mason.seay Procedural Mesh Functional Tests Change 3332049 on 2017/03/03 by Mason.Seay Screenshot comparisons for Procedural Mesh Tests Change 3333080 on 2017/03/06 by Lina.Halper Fix crash on not sorted OutBoneTransforms from Hand IK Retargeting node #jira: UE-42460 Change 3333826 on 2017/03/06 by Lina.Halper Renamed nodes - - adding rename feature for HumanRig #rb: none Change 3333847 on 2017/03/06 by Lina.Halper Fixed build error Change 3333865 on 2017/03/06 by Lina.Halper Fixed build error on shadow warning Change 3333957 on 2017/03/06 by Lina.Halper Fixed issue where limb length wasn't applied correctly on human rig #jira: UE-42307 Change 3335109 on 2017/03/07 by Thomas.Sarkanen Prevent us from rebuilding node tree in 'view' mode This means that a rare crash cant occur any more #jira UE-42568 - Editor crashes when using the eye dropper to switch actor skeleton after deleting sequence Change 3335110 on 2017/03/07 by Jurre.deBaare Editor crashes on importing Alembic file #fix ensure that we generate objects with a valid object name (used to be able to include invalid characters such as periods) #jira UE-40189 Change 3335117 on 2017/03/07 by Jurre.deBaare Crash when opening cloth painter with Paint mode open and selecting different actor #fix ensure that we only initialize static adapter factory data once, now that we have multiple painters #jira UE-42573 Change 3335119 on 2017/03/07 by Jurre.deBaare In Persona, the lighting rig rotation changes when switching between profiles #fix don't know how I wrote this code before, but made it so it makes sense now #jira UE-40877 Change 3335120 on 2017/03/07 by Jurre.deBaare Auto-Exposure Overriding Preview Scene Profile Settings #fix also update showflags when passed property is Name_none, on opening static mesh editor make sure we pick last set profile instead of default 0, and make sure we push propertyt change when changing profiles #misc made same changes for animation editors #jira UE-39217 Change 3335121 on 2017/03/07 by Jurre.deBaare Points not marked as invalid in Aim Offset graph when in invalid positions #fix ensure that samples which have a valid grid point when checking their animation ptr #misc whitespace fixes #jira UE-40715 Change 3335122 on 2017/03/07 by Jurre.deBaare Cannot right-click a blend point if the green preview point is in the way #fix changed condition slightly, now do gather highlighted index so it can be used in rightclick instead of not setting it while hovering the preview pin point #jira UE-39060 Change 3335123 on 2017/03/07 by Jurre.deBaare It's not clear which Grid Stretch mode in blend space is currently on #jira UE-39080 #fix added color change on grid stretch type state Change 3335124 on 2017/03/07 by Jurre.deBaare Not clear that material baking is only supported for single lod merge actors #fix extended tooltip to include requirement for material merging #jira UE-39621 Change 3335125 on 2017/03/07 by Jurre.deBaare #fix Alembic import fix (indexed UVs) copy-pasta error Change 3335126 on 2017/03/07 by Jurre.deBaare Accessor and Modifier for StartTimeOffset in GeometryCacheComponent.h #jira UE-37080 #feature Added bp exposed get/set-er #misc Corrected some comments Change 3335127 on 2017/03/07 by Jurre.deBaare Blend space interpolation settings do not update until the user reopens the asset #fix made reintializing of interpolation filter editor only to start with, and update the filter when necessary (this way multiple players, e.g. thumbnail renderer and persona) both give the expected result, before only one of them would be reinitialized see comment on flag in header #jira UE-40950 Change 3335129 on 2017/03/07 by Jurre.deBaare Store imported mesh names for Alembic files (makes reimporting easier) #jira UE-39034 Change 3335161 on 2017/03/07 by Jurre.deBaare CIS fix: Partial back out changelist 3335129 Change 3335426 on 2017/03/07 by Jurre.deBaare Crash fix for importing random maya shapes through Alembic #fix add safety checks for writing material indices #jira UE-40189 Change 3335427 on 2017/03/07 by Jurre.deBaare Editor hard locks when adding Profile in Preview Scene Settings #fix previous change created an infinite loop while adding a new profile, now calling OnAssetViewerSettingsChanged directly and from a different spot #jira UE-42609 Change 3335448 on 2017/03/07 by Thomas.Sarkanen Fixed binding (and re-binding) of rig that was broken by main integration Templates are no longer always regenerated, so re-binding doesnt work if we rely on template regeneration Moved runtime and compile-time binding into the template (rather than the track). Removed hacky 'static stack' of binding IDs. This is no longer needed now we have a way to propgate per-instance template data at compile time. Change 3336018 on 2017/03/07 by Ori.Cohen Make sure InstantiatePhysicsAsset does not create uninitialized bodies and constraints when it is given a physics asset with inappropriate bone names. Fixes crash in rigid body node when re-targetting. #JIRA UE-42090 Change 3336508 on 2017/03/07 by Ori.Cohen PR #3325: Allow Physics Notification Dispatching with Engine API (Contributed by 0lento) #JIRA UE-42533 Change 3336524 on 2017/03/07 by Ori.Cohen Added compiler error when component space sim and world collision is used. #JIRA UE-41402 Change 3336700 on 2017/03/07 by Ben.Marsh Fix stream name for bulding PhysX. Change 3336949 on 2017/03/08 by James.Golding In BindToSkeletalMesh, make sure skel mesh resources are init'd before calling Register on SkelMeshComp #jira UE-42377 Change 3337008 on 2017/03/08 by Lina.Halper - Fix for lagging update - Removed unnecessary update from trajectory cache #rb: Thomas.Sarkanen Change 3337190 on 2017/03/08 by James.Golding Remove defunct PhysX 3.3 libs Change 3337562 on 2017/03/08 by Ori.Cohen Touch engine to force re-link of latest PhysX libs. Fixes crash when free joints are used with immediate mode. #JIRA UE-41026, UE-42628 Change 3337779 on 2017/03/08 by Ori.Cohen Added skeletal mesh component override for sync vs async scene. #JIRA UE-39829 Change 3337859 on 2017/03/08 by Ori.Cohen Fix CIS Change 3338593 on 2017/03/08 by Ori.Cohen Remove physx get geometry macro and replace with calls to .any which should be faster. #JIRA UE-40503 Change 3338614 on 2017/03/08 by Ori.Cohen Fix warning about missing EditAnywhere #JIRA UE-41361 Change 3338677 on 2017/03/08 by Ori.Cohen Fix new generated physics assets not properly setting user settings to default profile. #JIRA UE-41135 Change 3338683 on 2017/03/08 by Ori.Cohen PR #3225: UPhysicsConstraintComponent works as expected when target is an UChildActorComponent (Contributed by PhoenixBlack) #JIRA UE-3225 Change 3338694 on 2017/03/08 by Ori.Cohen Added a getter to physical animation component (PR #3163) #JIRA UE-41047 Change 3339131 on 2017/03/09 by James.Golding Merging Engine changes from //UE4/Private-GDC17-FaceRig - Set default CurveSourceBindingName on AudioCurveSourceComponent to 'Default' (to match node default) - Add CurveSyncOffset option to AudioCurveSourceComponent - Add 'Copy Curves To SoundWave' option to Anim Editor - Bind possible curve sources by iterating over component properties, rather than owned components - Add ref-pose override option to SkinnedMeshComponent - Major fixes for per-instance skin-weights (was not using per-section map) - Improve warnings for per-instance skin weight problems Change 3339223 on 2017/03/09 by Thomas.Sarkanen Exposed preview scene settings in the existing settings tab rather than in a hidden menu in the viewport Tab is now shown by default Added default preview scene collection so you dont end up having to create assets all the time just to preview meshes (although this is still possible). #jira UE-39365 - Make Preview scene setup more discoverable Change 3339270 on 2017/03/09 by Lina.Halper Added create animation blueprint back since now we have a separate editor. #jira: UE-39457 #rb: Martin.Wilson Change 3339318 on 2017/03/09 by Danny.Bouimad TM-TangentNormals, Test map for checking tangent recalculation with and without skin cache. Change 3339431 on 2017/03/09 by James.Golding Make UDestructibleComponent::SpawnFractureEffectsFromDamageEvent virtual (UDN request: https://udn.unrealengine.com/questions/335389/custom-destructible-fracture-effects.html) Change 3339809 on 2017/03/09 by James.Golding Add support for 'UCP' prefix for importing capsule collision on static meshes via FBX #jira UE-5262 Change 3339955 on 2017/03/09 by Ori.Cohen Allow kinematic leaf bodies in immediate mode Change 3339995 on 2017/03/09 by mason.seay Collision functional tests Change 3340085 on 2017/03/09 by Ori.Cohen Change default contact-gen method to PCM. This is the default in PhysX 3.4 #JIRA UE-40365 Change 3340562 on 2017/03/09 by Ori.Cohen Added physx simulation shader override. #JIRA UE-35304 Change 3341155 on 2017/03/10 by Ori.Cohen Fix CIS warnings Change 3341295 on 2017/03/10 by Martin.Wilson Cache compact pose bone index on FBoneReference and remove manual caching in Paragon #jira UE-42302 Change 3341943 on 2017/03/10 by mason.seay Cleaned up logic for map blueprints. Worked around delays Change 3342029 on 2017/03/10 by mason.seay Cleaned up blueprint logic to remove dependency on delays Change 3342063 on 2017/03/10 by mason.seay Disabling tests Change 3342071 on 2017/03/10 by mason.seay Updated map to use assertions Change 3342884 on 2017/03/13 by James.Golding Expose 'trace by profile' functions to BP Refactor duplicated code in KismetSystemLibrary collision functions #jira UE-32912 Change 3342886 on 2017/03/13 by James.Golding Moving sprite from PhysicsThruster actor to PhysicsThrusterComponent (like light and audio, for example) #jira UE-6015 Change 3342921 on 2017/03/13 by Benn.Gallagher Added some checking to anim dynamics pre update to avoid crashes when world isn't available #jira UE-42729 Change 3342970 on 2017/03/13 by James.Golding Fix incorrect display names for some ..ByProfile trace funcs Change 3342972 on 2017/03/13 by James.Golding PR #3060: Added virtual keyword to DestructibleComponent ApplyDamage, ApplyDamageRadius (Contributed by looterz) Change 3343032 on 2017/03/13 by Josh.Stoddard Enable stabilization in PhysX by default - set PxSceneFlag::eENABLE_STABILIZATION by default - removed USE_ADAPTIVE_FORCES_FOR_ASYNC_SCENE because eADAPTED_FORCES is incompatible with eENABLE_STABILIZATION - added FBodyInstance parameter StabilizationThresholdMultiplier to control PxRigidDynamic stabilization threshold #jira UE-6612 #rb ori.cohen Change 3343073 on 2017/03/13 by Martin.Wilson Properly initialize single bone controller bone references #jira UE-42776 Change 3343074 on 2017/03/13 by Martin.Wilson Clear raw curve data during cooking #jira UE-37897 Change 3343317 on 2017/03/13 by Jurre.deBaare Crash after clearing the animation from a sample point in a 1D Blendspace #jira UE-42672 #misc made sure that we do not deem empty blend spaces as additive Change 3343498 on 2017/03/13 by Lina.Halper Fix on odin cook crash - fallout from CL 3336018 #rb:Marc.Audy #code review:Ori.Cohen Change 3343548 on 2017/03/13 by Lina.Halper Fix crash on ocean - #rb: none #code review: Ori.Cohen Change 3344764 on 2017/03/14 by Thomas.Sarkanen Fixed crash right-clicking empty space in the asset shortcut dropdown #jira UE-42782 - Crash right-clicking in anim blueprint asset picker #jira UE-42799 - GitHub 3366 : Asset selection null check before Opening Editor Change 3344776 on 2017/03/14 by James.Golding Really fix names for BP-expose 'ByProfile' traces Change 3344780 on 2017/03/14 by James.Golding PR #3359: UE4.15 Morpheme integration changes (Contributed by NaturalMotionTechnology) #jira UE-42771 Change 3344781 on 2017/03/14 by James.Golding PR #3346: Expose URadialForceComponent for inheritance (Contributed by projectgheist) #jira UE-42610 Change 3344782 on 2017/03/14 by James.Golding Fix procmesh->staticmesh conversion if only a single triangle #jira UE-42310 Change 3344783 on 2017/03/14 by James.Golding PR #3234: Fix the incorrect UIMin value for InitialAverageFrameRate physics setting. (Contributed by 0lento) #jira UE-41832 Change 3344785 on 2017/03/14 by James.Golding PR #3196: Improved Constraint warning message (Contributed by projectgheist) Change 3344790 on 2017/03/14 by James.Golding PR #3362: Fix NULL pointer dereference when debugging null animation sequence. (Contributed by ill) Change 3344891 on 2017/03/14 by Jurre.deBaare Incorporate back list of animations into blendspace editor #feature added labels toggle to blend space grid #feature can now override animations when drop on sample #jira UE-39368 Change 3344921 on 2017/03/14 by Jurre.deBaare Expose Opacity and Opacity Mask options on material flattening #feature added support for baking out opacity and opacity masks #jira UE-39563 Change 3344963 on 2017/03/14 by Jurre.deBaare Need Simplygon to create LODs on animated pose, vs skeletal mesh pose #feature added ability to specify an animation sequence from which frame 0 will be baked into the LOD mesh #jira UE-38909 Change 3345060 on 2017/03/14 by Jurre.deBaare CIS fix: missing include Change 3345929 on 2017/03/14 by Jon.Nabozny Fix Grux skeletal mesh to properly point at Grux Phys Asset (instead of Steel's). #jira UE-42772 Change 3346970 on 2017/03/15 by Jurre.deBaare #feature Support importing vertex colours from Alembic files #jira UE-39032 Change 3346976 on 2017/03/15 by Jurre.deBaare Missing files from CL 3344921 Change 3346983 on 2017/03/15 by Jurre.deBaare Static mesh editor crashes when opening #fix default value for additional settings Change 3347019 on 2017/03/15 by James.Cobbett Tidying up blueprint comments Change 3347128 on 2017/03/15 by mason.seay Updated descriptions on tests Change 3347146 on 2017/03/15 by mason.seay Updated descriptions on tests Change 3347178 on 2017/03/15 by Martin.Wilson PR #3358: Actually compress CompressedCurveData during anim compression (Contributed by stefanzimecki) Change 3347257 on 2017/03/15 by Thomas.Sarkanen Fixed crash when canceling saving a new preview mesh collection Change 3347314 on 2017/03/15 by mason.seay Narrowed collision volumes by half Change 3347386 on 2017/03/15 by mason.seay Updated descriptions Change 3347388 on 2017/03/15 by mason.seay Forgot to disable tests :P Change 3347397 on 2017/03/15 by James.Cobbett Tidying up blueprint comments for WeldingScreenshots.umap automated test Change 3347433 on 2017/03/15 by Thomas.Sarkanen Fix IK/FK switch on first frame (clobbering FK data) Added a 'first frame' flag to limbs etc. Change 3347436 on 2017/03/15 by Thomas.Sarkanen Control rig sequences can now be exported to anim sequences Control rig sequences can now be exported from sequencer and exported, re-exported, imported and re-imported from the content browser. Added converter function that performs similar logic to the animation recorder. Fixed binding template in cooked builds. Exposed anim sequence factory via UNREALED_API to allow for me to derive from it (I force the skeleton to a known value) #jira UE-42608 - Add "export to anim sequence" to control rig sequences Change 3347475 on 2017/03/15 by Lina.Halper #LookAt node refactor - you can use LookAtLocation based on joint or socket (jira UE-8972) - improved visualizer (jira UE-2737) - clamp was there but now you can visuzlie it - GetOnScreenDebugInfo changed parameter - added runtime node - possibly we could query runtime node only but right now GetOnScrrenDebugInfo belongs to AnimGraphNode - deprecated previous GetOnScreenDebugInfo - Added AnimPhys Object version GUID #rb:Thomas.Sarkanen Change 3347512 on 2017/03/15 by Thomas.Sarkanen Filter anim sequences to the correct skeleton when exporting Feeback from code review of CL 3347436. Change 3347543 on 2017/03/15 by Thomas.Sarkanen Fix shadow variable warnings Change 3347556 on 2017/03/15 by Jurre.deBaare Unable to select bones in the animation editor viewport #fix issues came from hit proxies being turned on and always being hit instead of the bone physic shapes #feature added toggle button to skeletal mesh editor to enable mesh section selection #jira UE-42893 Change 3347559 on 2017/03/15 by James.Golding By default, re-use anim editor with correct Skeleton when double clicking anim asset Add menu option to force a new edtor to open #jira UE-42912 Change 3347749 on 2017/03/15 by Lina.Halper Fix build issue. #rb: none Change 3347926 on 2017/03/15 by James.Cobbett Adding new test to Welding.umap for children welding when attached to ragdoll Change 3347938 on 2017/03/15 by Lina.Halper Fix build error #rb: none Change 3347939 on 2017/03/15 by Mason.Seay General cleanup of bp logic in maps and blueprint actors Added scenarios to test actor descriptions Fixed an error in blueprints (I think I failed to submit changes before) Change 3348074 on 2017/03/15 by Lina.Halper build error fix #rb: none #code review: martin.wilson Change 3348154 on 2017/03/15 by Lina.Halper last fix, hopefully #rb: none #code review: MArtin.wilson Change 3349160 on 2017/03/16 by Thomas.Sarkanen Adding 'set preview mesh' to toolbar #jira UE-42910 - Add 'preview mesh' button to toolbar Change 3349175 on 2017/03/16 by Jurre.deBaare Notification on reimported animations that might be bad #fix added two warning messages for different sequence length and missing curve in reimported file (hidden behind editor user setting -> bAnimationReimportWarnings) #jira UE-34522 Change 3349197 on 2017/03/16 by Martin.Wilson Add ability to choose slot to preview to montage editor #jira UE-38910 Change 3349216 on 2017/03/16 by James.Cobbett Additional Welding tests: static meshes attached to ragdolls and simulated children detaching and retaining welded children Change 3349217 on 2017/03/16 by James.Cobbett Disabling new Welding tests pending review Change 3349314 on 2017/03/16 by Benn.Gallagher Fixed clothing not running in PS4 packaged builds #jira UE-42857 Change 3349504 on 2017/03/16 by James.Fox Enabling RootMotion automation tests. Approved: UEENGQA-12277 Change 3349611 on 2017/03/16 by Lina.Halper retargeting pose options change - now reset, import pose, use current pose #rb: Martin.Wilson #jira: UE-19768 Change 3349738 on 2017/03/16 by Martin.Wilson Remove force inline from virtual compression functions. #jira UE-33070 Change 3349787 on 2017/03/16 by James.Golding Fix xbox one compile (FControlRigBindingTemplate::ObjectBinding was not all wrapped in WITH_EDITORONLY_DATA) Change 3349827 on 2017/03/16 by Josh.Stoddard - Expose PhysX stabilization as project setting, disabled by default - remove obsolete USE_SPECIAL_FRICTION_MODEL_FOR_ASYNC_SCENE #jira UE-42868 Change 3349932 on 2017/03/16 by James.Golding Possible fix for cooking crash - ContentBrowser module not necessarily being loaded Change 3350011 on 2017/03/16 by Jon.Nabozny Created AddForceAtLocationLocal function to allow component space forces. #jira UE-38115 Change 3350134 on 2017/03/16 by Josh.Stoddard Fix memory leak from GPhysXSDK->createShape() #jira UE-42733 #rb ori.cohen Change 3351166 on 2017/03/16 by Lina.Halper Fixed build issue #code review:Jon.Nabozny Change 3351451 on 2017/03/17 by Benn.Gallagher Fixed clothing reimports not working correctly and possibly leading to editor crash #jira UE-42953 Change 3351564 on 2017/03/17 by Benn.Gallagher Xbox NvCloth fix, module rules incorrectly set up and were not actually compiling NvCloth into the binary #jira UE-42224 Change 3351594 on 2017/03/17 by mason.seay Updated BP logic to use Set Actor Location (speeds up tests) Gave actors distinct names Reworded descriptions Change 3351629 on 2017/03/17 by Jon.Nabozny Add methods to determine the WeldParent and WeldChildren of a given component. #jira UE-40733 Change 3351639 on 2017/03/17 by Jon.Nabozny Fix StopMovementImmediately for WheeledVehicleMovementComponent. #jira UE-40078 Change 3351649 on 2017/03/17 by Jon.Nabozny Update comment on AddForceAtLocationLocal to be explicit that both Force vector and Location are in Body space. Change 3351663 on 2017/03/17 by Thomas.Sarkanen Anim notify blueprints now start with a 'received notify' event node (ghosted) #jira UE-27386 - A new anim notify blueprints should start with a Received Notify override Change 3351696 on 2017/03/17 by Thomas.Sarkanen Refactored EvaluateBoneTransforms to prevent usage of skeletal mesh component Deprecated EvaluateBoneTransforms in favor of new EvaluateSkeletalControl_AnyThread. Added various useful transforms to the proxy as these were the most used data from the skeletal mesh component. Some instances still require access to skeletal mesh to access the world for debug rendering. I'm leaving these alone for the moment as they should be addressed for 4.17 with the fixes for multi-threaded debug rendering. Commented & re-formatted ConvertCSTransformToBoneSpace and ConvertBoneSpaceTransformToCS. Deprecated signatures that take a skeletal mesh component. Commented FAnimNode_Base interface. #jira UE-35238 - FAnimNode_SkeletalControlBase::EvaluateBoneTransforms takes in SkeletalMeshComponent which is not safe Change 3351698 on 2017/03/17 by James.Golding Add GetMaterialFromFaceIndex to MeshComponent, implement for StaticMeshComponent and ModelComponent #jira UE-42802 Change 3351701 on 2017/03/17 by James.Golding Change from Ctrl to Shift for 'open new editor' when double-clicking anim assets Change 3351703 on 2017/03/17 by James.Golding Change Box and Sphyl elements to use Rotator instead of Quat, to make them easier to edit via details panel #jira UE-39664 Change 3351704 on 2017/03/17 by James.Golding Fix scrubbing curves that aren't selected #jira UE-39574 Change 3351805 on 2017/03/17 by Thomas.Sarkanen Prevent crash when trying to implement a function in a child anim blueprint The assumption that the ubergraph was the zeroth entry in the array didnt hold for child anim BPs with overriden functions. Now we just search for the ubergraph and check it if we find it. #jira UE-42996 - Editor Crashes when creating a function in Child Anim Blueprint Change 3352000 on 2017/03/17 by James.Cobbett Adding VehicleAdvBP assets for use in upcoming Welding tests Change 3352067 on 2017/03/17 by Lina.Halper Removed AnimGraph from GraphEditor module - Created node factory, pin factory, pin connection policy factory - Moved all anim related files out of GraphEditor #code review: Michael.Noland #jira: UE-37976 #rb: Michael.Noland Change 3352178 on 2017/03/17 by Lina.Halper Moved to AnimationBlueprintEditor as these are just graph visual nodes #code review:Michael.Noland Change 3352753 on 2017/03/17 by James.Fox Checking in some naming convention changes for Overlap automation test. Change 3353371 on 2017/03/19 by Lina.Halper Fix build error #code review: Bob.Tellez Change 3353644 on 2017/03/20 by Jurre.deBaare Animation thumbnails vanishing #fix ensure that we draw the mesh regardless of whether or not we have dynamic render data #jira UE-42974 Change 3353654 on 2017/03/20 by James.Golding Move SGraphNodeK2Default and SGraphNodeK2Event to Public as well, as they are used by Fortnite Update includes in SFortGrtaphNodeK2ExecuteEvent and HandleEvent to only include parent class header Change 3353684 on 2017/03/20 by Jurre.deBaare Separate asset viewer profiles for local / shared - Split out profiles in local/shared UProperty - Modifications to ini writing :( - Extra checks for default ini writing - Add checkout/make writable for default editor ini file Change 3353803 on 2017/03/20 by Jurre.deBaare CIS fixes Change 3353830 on 2017/03/20 by Martin.Wilson Fix additives breaking when pose link not connected to anything #jira ue-39174 Change 3353847 on 2017/03/20 by Martin.Wilson Add property to blend space player nodes to specify whether the blend space current time is reset when the blend space changes #jira UE-40446 Change 3353950 on 2017/03/20 by Ori.Cohen Undo the null entries for invalid body/bodysetup pairs. Instead we check if the body and constraints are valid in the rigid body node. #JIRA UE-42090 Change 3353956 on 2017/03/20 by Ori.Cohen Back out changelist 3343498 (this was needed for the null entries on bodies array which has been fixed) Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 Change 3354031 on 2017/03/20 by Benn.Gallagher Speculative fix for clothing crashes using Mambo. It was possible that the skeletal mesh component could have triggered deletion or creation of simulation state objects while the simulation was in flight on another thread, added tracking and waiting for outstanding tasks. #jira UE-42975 Change 3354151 on 2017/03/20 by Lina.Halper Make sure nullptr tick function still works - this is prerequisite for the play and export option #rb:Ori.Cohen Change 3354229 on 2017/03/20 by James.Golding Add 'default camera' options for skel meshes #jira UE-42762 Change 3354342 on 2017/03/20 by Martin.Wilson Strip out identity raw tracks when baking additives. #jira UE-40508 Change 3354388 on 2017/03/20 by Martin.Wilson Fix false anim blueprint compile errors with aim offset pins #jira UE-38196 Change 3354494 on 2017/03/20 by Martin.Wilson Serialize compressed anim data when counting memory #jira UE-39691 Change 3354515 on 2017/03/20 by Josh.Stoddard Expose PxSceneFlag::eENABLE_ENHANCED_DETERMINISM #jira UE-41484 #rb ori.cohen Change 3355932 on 2017/03/21 by Thomas.Sarkanen Back out changelist 3354003 Reinstating merge from Main: Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) Change 3355954 on 2017/03/21 by Thomas.Sarkanen Fixed up CIS issues post merge from Main Change 3355974 on 2017/03/21 by James.Golding Fix Mac CIS warning (constructor order of FAnimNode_BlendSpacePlayer) Change 3355981 on 2017/03/21 by Jurre.deBaare Whitelisted circular dependencies between meshpaintmode and VR editor modules Change 3355986 on 2017/03/21 by Jurre.deBaare Linux CIS file, non-capital M Change 3356072 on 2017/03/21 by James.Golding Fix UStaticMeshComponent::GetMaterialFromCollisionFaceIndex to not depend on editor-only data #jira UE-43117 Change 3356073 on 2017/03/21 by James.Golding Implement GetMaterialFromCollisionFaceIndex for ProceduralMeshComponent Change 3356300 on 2017/03/21 by Ori.Cohen Allow kinematic bodies with simulated parents using the full scene solver Change 3356362 on 2017/03/21 by Lina.Halper - Support create animation from Play - Support export animation from Play - this allows retargeting, post graph, or anything you see in engine will be baked to the animation #rb: Thomas.Sarkanen #jira: UE-19746 Change 3356482 on 2017/03/21 by Martin.Wilson Fix crash when opening a new montage #UE-43132 Change 3356709 on 2017/03/21 by James.Golding Check for NaN when converting rotator->quat (very large inputs can result in nan's, need to handle to avoid hitting asserts elsewhere) Add clamps when editing rotation of collision shapes, to avoid massive rotation entries #jira UE-39664 Change 3356968 on 2017/03/21 by Ori.Cohen Fix physics asset bounds to be as small as 1cm. This introduces flicker, but passing to rendering to fix that on their end. Change 3357092 on 2017/03/21 by Josh.Stoddard Don't update kinematic target if the body isn't moving #jira UE-42784 #rb ori.cohen Change 3357194 on 2017/03/21 by Lina.Halper Fix on vehicle anim instance look at node issue #rb: Ori.Cohen #jira: UE-43116 Change 3357298 on 2017/03/21 by Ori.Cohen Fix invalid warning when dragging actors into the world. This is invalid because we manually disable collision on actors when this happens, and the warning is only needed for actual runtime. #JIRA UE-42211 Change 3357494 on 2017/03/21 by Jon.Nabozny Fix FPropertyEditorInlineClassFilter filtering classes incorrectly. #jira UE-43098 Change 3357892 on 2017/03/21 by Lina.Halper fix build error #rb: none Change 3358078 on 2017/03/22 by James.Golding Fix CIS - AnimNode_FootPlacement in Platformer game after SkelControl refactor (from CL 3351696) Change 3358080 on 2017/03/22 by Jurre.deBaare Updating Alembic importer thirdparty dependencies for Windows and Mac Change 3358081 on 2017/03/22 by James.Golding Add comment to help people fix up code after moving many properties in ContraintInstance to ProfileInstance member Change 3358092 on 2017/03/22 by James.Golding Fix undo for saving/clearing default cam on mesh (also marks mesh dirty) Change 3358093 on 2017/03/22 by James.Golding Panning in orbit mode now takes in account camera speed #jira UE-43082 Change 3358106 on 2017/03/22 by Thomas.Sarkanen Fix fallout from Main integration Change 3358454 on 2017/03/22 by Ori.Cohen Temporarily disable phat immediate mode previewing to break the dependency on immediate physics plugin. Will be turned back on in later refactor #JIRA UE-41711 Change 3358886 on 2017/03/22 by Ori.Cohen Fix AutoWeld not being disabled in blueprint editor when the object is simulated #JIRA UE-40193 Change 3358950 on 2017/03/22 by Lina.Halper reverted code asking about asset name when create asset #rb: none Change 3359034 on 2017/03/22 by Lina.Halper #fix fall out from previous revert - because now export also shows the window. we don't want export to FBX to show name dialog - it will use asset name as base #rb: none #code review:Thomas.Sarkanen Change 3359165 on 2017/03/22 by Ori.Cohen Fix welded capsules not using the right rotation #JIRA UE-41546 Change 3359232 on 2017/03/22 by Ori.Cohen Bump DDC key for new bvh34. Change 3359233 on 2017/03/22 by mason.seay Added a couple more scenarios and updated names. Needs more organization Change 3359293 on 2017/03/22 by tim.gautier Submitting MeshPaint test content for QAGame. Change 3359389 on 2017/03/22 by Ori.Cohen Back out changelist 3356589 Change 3359402 on 2017/03/22 by Jon.Nabozny Move GetWeldParent and GetWeldChildren to EngineTest. Change 3359978 on 2017/03/23 by Jurre.deBaare Mesh Paint brush disappears when painting in VR #fix removed conditional clause for painting the interactors #jira UE-43150 Change 3359980 on 2017/03/23 by Jurre.deBaare Mesh Paint hotkeys to modify brush size are inconsistent with other Paint modes #fix reverted to old behavior, paint mode overriding catching key input to viewport #jira UE-43158 Change 3360052 on 2017/03/23 by James.Golding Back out changelist 3359165, as it was made after smoke testing. Will re-submit after copy to main. Change 3360121 on 2017/03/23 by James.Golding Fix perf regression from testing for NaN's in FRotator::Quaternion in shipping builds Change 3360177 on 2017/03/23 by Jurre.deBaare Related to previous brush size check in, early out when the painter has handled the input, that way the rest of the editor can't take the brackets [] input anymore Change 3360358 on 2017/03/23 by mason.seay Updated naming and organization of actors in Outliner Change 3362050 on 2017/03/23 by Lina.Halper Back out changelist 3343074 #rb:none #code review: Martin.Wilson, James.Golding [CL 3362661 by Thomas Sarkanen in Main branch]
2017-03-24 09:53:37 -04:00
return FString::Printf(TEXT("ExportMaterialRenderer %s"), MaterialInterface ? *MaterialInterface->GetName() : TEXT("NULL"));
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3357411) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3244756 on 2017/01/03 by Marcus.Wassmer Copying //Tasks/UE4/Dev-Niagara@3244743 to Dev-Rendering (//UE4/Dev-Rendering) Change 3248667 on 2017/01/05 by Olaf.Piesche Resaving default asset because of engine verison issue; maybe unnecessary, but resaving niagara engine content to be sure #jira UE-40160 Change 3249324 on 2017/01/06 by Marcus.Wassmer Resave with an actual version to stop cook warning Change 3249611 on 2017/01/06 by Marcus.Wassmer Just remove warning-causing niagara data for now. Change 3308052 on 2017/02/16 by Rolando.Caloca DR - Check for Vulkan SDK, and only use it if it's newer or the same as the headers we distribute Change 3308109 on 2017/02/16 by Rolando.Caloca DR - Upgrade glslang to 1.0.39.1 Change 3308111 on 2017/02/16 by Rolando.Caloca DR - Update Vulkan distribution to 1.0.39.1 Change 3308153 on 2017/02/16 by Rolando.Caloca DR - Updated glslang libs Change 3308842 on 2017/02/17 by Rolando.Caloca DR - Fixed copy/paste Change 3310007 on 2017/02/17 by Chris.Bunner Back out CL 3221219 - causing MIC generation issues and superseded by CL 3273971. #jira UE-37792 Change 3310154 on 2017/02/17 by Chris.Bunner Assert when attempting to add a custom material attribute already in the base attributes list. Change 3310155 on 2017/02/17 by Chris.Bunner PR #3231: Validate material index before accessing (Contributed by projectgheist) #jira UE-41774, UE-41788 Change 3310162 on 2017/02/17 by Chris.Bunner PR #3252: Added MobileMaterialInterface to UsedMaterials (Contributed by projectgheist) #jira UE-41823, UE-41950 Change 3310176 on 2017/02/17 by Chris.Bunner Merging CL 3233886: AMD HDR support (requires r.AMDSupportsHDRDisplayOutput=1 in ini). Update to AGS 5.0.5. Partial code tidy up. Change 3310187 on 2017/02/17 by Chris.Bunner Preserve constant expressions rather than always casting after translating a material attribute. Losing the notion of constant means we can't correctly detect used properties and falsely enable e.g. PDO. Happened because of the incorrect component masks in BreakMaterialNodes which then had to be downcast to the correct type which is done as an inline fragment rather than swizzle expression. #jira UE-41594 Change 3310215 on 2017/02/17 by Chris.Bunner Prevent SpeedTree node compiling for skeletal meshes (not supported as uses more UV sets than available). More descriptive error for missing Cubemap UV input on TextureSample material node . #jira UE-33098 Change 3310838 on 2017/02/18 by Joe.Graf Moved some private functions to public for a licensee #CodeReview: matt.kuhlenschmidt #rb: n/a Change 3311876 on 2017/02/20 by Rolando.Caloca DR - Expose skin cache cvar r.SkinCache.AccumulationBufferSizeInKB #jira UE-42014 Change 3314139 on 2017/02/21 by Rolando.Caloca DR - Minor cleanup pass - Remove FVulkanPendingState - Renamed some classes for clarity - Hoist pending UAVs for flush out to pending compute state Change 3314642 on 2017/02/21 by Rolando.Caloca DR - Some more renaming Change 3315431 on 2017/02/21 by Ben.Salem Properly set default values for test time out and tick. We now will default to ticking once per second, and tracking the macro stats of GPU/Render/Game thread time. #tests Ran showdown demo several times Change 3316710 on 2017/02/22 by Rolando.Caloca DR - hlslcc - Fix refract intrinsic Change 3316718 on 2017/02/22 by Rolando.Caloca DR - hlslcc - Built libs to pick up change from 3316710 - refract fix Change 3316820 on 2017/02/22 by Benjamin.Hyder updating Tm-TrigNodes map Change 3317192 on 2017/02/22 by Benjamin.Hyder Updating QA-Decals map Change 3317528 on 2017/02/22 by Benjamin.Hyder Updating QA-Decals map Change 3317639 on 2017/02/22 by Benjamin.Hyder Updating Decal on Complex Mesh example in QA-Decals Change 3317764 on 2017/02/22 by Benjamin.Hyder Final updates to QA-Decals Change 3318319 on 2017/02/22 by Rolando.Caloca DR - minor reorg/rename Change 3318379 on 2017/02/22 by Rolando.Caloca DR - more cleanup Change 3321181 on 2017/02/24 by Rolando.Caloca DR - Fix GL bug Change 3321247 on 2017/02/24 by Rolando.Caloca DR - Fix misc bugs Change 3321898 on 2017/02/24 by Chris.Bunner Only issue clear TLV dispatch if required. #jira UERNDR-193 Change 3321904 on 2017/02/24 by Chris.Bunner Added comment for potential future optimization. Change 3322013 on 2017/02/24 by Uriel.Doyon Fixed separate translucency being affected by Gaussian DOF #jira UE-40489 Change 3322517 on 2017/02/24 by Uriel.Doyon Fixed issue with InvestigateTexture command removing budget limit. Fixed StreamingBounds show flag not working. It nows shows the streaming bound for the currently selected textures. #jira UE-40485 Change 3323470 on 2017/02/27 by Chad.Garyet Removing DDC job from dev-rendering Change 3323479 on 2017/02/27 by Chad.Garyet Removing RDU agent type Change 3323519 on 2017/02/27 by Chad.Garyet removing NCL/LHR/SEA agent types to clean up space Change 3323639 on 2017/02/27 by Benjamin.Hyder More updates to QA-Decals Change 3324207 on 2017/02/27 by Uriel.Doyon Fixed typo ScaleTexturesByGlobalMyBias -> ScaleTexturesByGlobalMipBias Removed bad merge in FStreamingTextureLevelContext::GetBuildDataIndexRef Change 3324396 on 2017/02/27 by Uriel.Doyon Fixed an issue with the Streaming Bounds show flag interferring with the static level data initialization #jira UE-40485 Change 3325227 on 2017/02/28 by Chris.Bunner Fix-up AMD AGS libs. Change 3325566 on 2017/02/28 by Uriel.Doyon Fixed possible out-of-bound access in GetUsedTexture() when passing ERHIFeatureLevel::Num Change 3326009 on 2017/02/28 by Uriel.Doyon Better fix for 3325566, as the previous fix would ignore the material instance overrides. Change 3327058 on 2017/03/01 by Benjamin.Hyder Preparing TM_Shadermodels map for automation Change 3328222 on 2017/03/01 by Chris.Bunner Prevent decals from drawing in separate translucency pass. Whilst user control and material relevance were already removed, if the flag was checked before being disabled (by swapping to decal domain) this was still being read in the render loop, now explicitly ignores decals. #jira UE-42449, UE-42446 Change 3329848 on 2017/03/02 by Uriel.Doyon Added some extra logs to help track UE-42168 Change 3329977 on 2017/03/02 by Rolando.Caloca DR - Fix bad clear value Change 3330008 on 2017/03/02 by Benjamin.Hyder More preparations for QA-Decals automation Change 3330754 on 2017/03/02 by Daniel.Wright Prominent comment explaining reflection env async compute usage and why it's not overlapped with anything Change 3331451 on 2017/03/03 by Marc.Olano Manually unroll simplex noise loop to avoid PSO bug on AMD/Metal Change 3331839 on 2017/03/03 by Rolando.Caloca DR - hlslcc - add missing file to project Change 3332247 on 2017/03/03 by Rolando.Caloca DR - Fix for integrated intel PR #3305 #jira UE-42393 Change 3332259 on 2017/03/03 by Rolando.Caloca DR - Fix bad index into pixel formats PR #3237 #jira UE-41855 Change 3332305 on 2017/03/03 by Rolando.Caloca DR - OpenGL SRV for index buffers PR #3271 #jira UE-32618 Change 3332313 on 2017/03/03 by Rolando.Caloca DR - Fix for integrated intel (properly) PR #3305 #jira UE-42393 Change 3332317 on 2017/03/03 by Rolando.Caloca DR - OpenGL SRV for index buffers (properly) PR #3271 #jira UE-32618 Change 3332368 on 2017/03/03 by Rolando.Caloca DR - Minor fixes so -sm4 and -sm5 can be used on windows with OpenGL/Vulkan Change 3333690 on 2017/03/06 by Daniel.Wright [Copy] Changing movable skylight properties no longer affects static draw lists Change 3333693 on 2017/03/06 by Daniel.Wright [Copy] Added 'r.AOListMeshDistanceFields' which dumps out mesh distance fields sorted by memory size, useful for directing content optimizations Change 3333705 on 2017/03/06 by Daniel.Wright [Copy] Mesh distance fields are now 8 bit fixed point by default, but can be changed back to 16 bit floating piont with a project setting. * 8 bit uses half memory but introduces error for thin surfaces or large meshes. Change 3333721 on 2017/03/06 by David.Hill DecalProxy: Copy float FadeScreenSize to FDeferredDecalProxy for use in the render thread. This avoids pointer chasing to the UDecalComponent (game thread component). Change 3333772 on 2017/03/06 by Daniel.Wright [Copy] Scene motion blur data is only updated for the main renderer frames. Fixes scene captures and planar reflections breaking object motion blur. Change 3333790 on 2017/03/06 by Daniel.Wright [Copy] Mesh distance field generation uses Embree, for a 2.5x speedup * Can switch back to old kDOP generation with 'r.DistanceFieldBuild.UseEmbree 0' for debugging Change 3333822 on 2017/03/06 by Daniel.Wright [Copy] Moved mesh distance field code into MeshDistanceFieldUtilities.cpp * Moved FMeshUtilities to its own header so the 8k line MeshUtilites.cpp file can be further split up Change 3333827 on 2017/03/06 by Daniel.Wright [Copy] Range compress 8bit distance fields - gets one extra bit of precision on average Change 3333828 on 2017/03/06 by Daniel.Wright [Copy] Raised High ShadowQuality to 2048 as 1024 for CSM is way too low Change 3333831 on 2017/03/06 by Daniel.Wright Non-editor compile fix Change 3333836 on 2017/03/06 by Daniel.Wright [Copy] Workaround for gobal distance field volume textures being bloated by 4x on PS4 due to the recommended tiling modes. They now use a 2d tiling mode which avoids the bloat, saving 96Mb. Change 3333843 on 2017/03/06 by Daniel.Wright [Copy] Added OcclusionExponent to skylight component * Useful for brightening up indoors without losing contact shadows as MinOcclusion does Change 3333845 on 2017/03/06 by Daniel.Wright [Copy] Capsule shadow BP functions Change 3333850 on 2017/03/06 by Daniel.Wright [Copy] Added OcclusionCombineMode to skylight component Change 3333854 on 2017/03/06 by Daniel.Wright [Copy] Gnm properly registers clears as GPU work so those events show up in profilegpu Change 3333857 on 2017/03/06 by Daniel.Wright [Copy] Clear light attenuation for local lights with a quad covering their screen extents * Clearing the entire light attenuation buffer costs .1ms on PS4. This optimization lowers the minimum cost of a shadow casting light from .15ms -> .03ms. * Shadowed lights in Fortnite with 25 lights 3.7ms -> 1.42ms on PS4 Change 3333860 on 2017/03/06 by Daniel.Wright [Copy] Flush deferred deletes when reallocating distance field atlas to reduce peak memory Change 3333861 on 2017/03/06 by Daniel.Wright [Copy] Disable all distance field features on Intel cards as HD 4000 hangs in the RHICreateTexture3D call to allocate the large atlas Change 3333869 on 2017/03/06 by Daniel.Wright [Copy] Volumetric Fog using a volume texture mapped to the camera frustum * Volumetric fog can be enabled on an Exponential Height Fog component with additional controls * Lights have a VolumetricScatteringIntensity * New cvars r.VolumetricFog, r.VolumetricFog.GridPixelSize, r.VolumetricFog.GridSizeZ, r.VolumetricFog.DepthDistributionScale * Lighting features supported: * Directional light with CSM and a light function * Point / spot lights without shadows / light functions / IES profiles * Skylight with occlusion from distance fields * Analytical height fog covers the view range past where the volumetric fog ends * Temporal reprojection is used on the volumetric fog scattering and extinction to achieve stability * Translucency integrates properly into volumetric fog * Height fog StartDistance is not supported by volumetric fog and should be set to 0. Change 3333894 on 2017/03/06 by Daniel.Wright [Copy] Initialize GDummyVolumetricFogGlobalDataUniformBuffer outside of parallel rendering Change 3333902 on 2017/03/06 by Daniel.Wright [Copy] Better handling of volumetric fog enabled with distance of 0 Change 3333903 on 2017/03/06 by Daniel.Wright [Copy] Fixed volumetric fog trying to render light functions for a point light Change 3333908 on 2017/03/06 by Daniel.Wright [Copy] Volumetric materials * Added new material domain Volume, which can output Scattering, Absorption and Emissive. All properties are in world space densities. * Particle systems using the Volume domain are voxelized based on their ParticlePosition and ParticleRadius * Volumetric fog integration is now energy conservative - scattering is integrated against transmission over the depth of each slice. * Added bOverrideLightColorsWithFogInscatteringColors to exponential height fog, which can be enabled to make Volumetric Fog match Height fog more closely Change 3334134 on 2017/03/06 by Daniel.Wright [Copy from Michael Trepka] Added Embree 2.14.0 and changed MeshUtilities to use it as this solves issues with Embree leaking TLS keys. UnrealLightmass is still using older Embree 2.7.0 until we can find time to properly test it with the new version. Also, invalidated distance field DDC to force it to rebuild with updated Embree. Change 3334420 on 2017/03/06 by Daniel.Wright Fixed RTDF shadows Change 3335467 on 2017/03/07 by Benjamin.Hyder Initial submission of QA-Decals map to EngineTest Change 3335556 on 2017/03/07 by Daniel.Wright Changed mesh distance field default format back to R16f Change 3338020 on 2017/03/08 by Daniel.Wright Disable volumetric fog in vertex shaders for feature levels which don't support it Change 3339394 on 2017/03/09 by Chris.Bunner Correctly handle material texture translation error edge case. #jira UE-42579, UE-42670 Change 3339992 on 2017/03/09 by Daniel.Wright Only compile volumetric fog shaders on supporting platforms Change 3341858 on 2017/03/10 by Arne.Schober Copying //UE4/Dev-Rendering-PSO to Dev-Rendering (//UE4/Dev-Rendering) #RB Rolando.Caloca, Marcus.Wassmer, Daniel.Wright, Nick.Penwarden, Mark.Satterthwaite Change 3342004 on 2017/03/10 by Arne.Schober Copying //UE4/Dev-Rendering-PSO to Dev-Rendering (//UE4/Dev-Rendering) Fix unity build #RB Marcus.Wassmer Change 3343307 on 2017/03/13 by Marcus.Wassmer Update showflags when we are guaranteed it will happen in all possible ways to spawn the scenecapture. (drag into editor, PIE, -game, etc) Change 3343732 on 2017/03/13 by Rolando.Caloca DR - Vulkan compute pipeline & refactor Change 3344846 on 2017/03/14 by Rolando.Caloca DR - Android compile fixes Change 3344883 on 2017/03/14 by Rolando.Caloca DR - Add missing stencil load/store to PSO initializer Change 3344985 on 2017/03/14 by Rolando.Caloca DR - Made load/store actions uint8 Change 3345141 on 2017/03/14 by Rolando.Caloca DR - vk - Rework render pass hash Change 3345304 on 2017/03/14 by Benjamin.Hyder Updating TM-Distancefields map to include TemplateFloor mesh Change 3345387 on 2017/03/14 by Rolando.Caloca DR - Add _RenderThread calls for Create*Shader so RHIs can choose not to stall when creating Change 3345388 on 2017/03/14 by Rolando.Caloca DR - Do not stall when creating shaders on Vulkan Change 3345722 on 2017/03/14 by Chris.Bunner PR #3357: MinimalAPI add to many material expressions (Contributed by DeanoC) #jira UE-42752 Change 3345723 on 2017/03/14 by Chris.Bunner Reduce log verbosity causing spamming during landscape editing. #jira UE-42714 Change 3345725 on 2017/03/14 by Chris.Bunner [Duplicate 3341860] Fixed material translation error with multiple connections from custom interpolator nodes. Change 3345726 on 2017/03/14 by Chris.Bunner Typo fixes. Change 3345732 on 2017/03/14 by Rolando.Caloca DR - Decouple vertex declaration off BSS Change 3345746 on 2017/03/14 by Chris.Bunner Added sign() intrinsic material graph node and delisted material function workaround. Change 3346042 on 2017/03/14 by Chris.Bunner Implement missing size query interface for FRenderTargetResources. #jira UE-41672 Change 3346387 on 2017/03/14 by Daniel.Wright [Copy] Added VolumetricScatteringIntensity to particle lights Change 3346389 on 2017/03/14 by Daniel.Wright [Copy] Clamp Volumetric material attributes to fp16 range to avoid INFs Disable volumetric fog when the fog show flag is disabled Change 3346392 on 2017/03/14 by Daniel.Wright [Copy] Fixed skylight being much too bright on volumetric fog Change 3346406 on 2017/03/14 by Daniel.Wright [Copy] CSM resolution is now controlled by r.Shadow.MaxCSMResolution. * Changed HighPC to use 1024 MaxShadowResolution (max for all non-CSM shadows), saves 60Mb in Fortnite Change 3346412 on 2017/03/14 by Daniel.Wright [Copy] TexCreate_ReduceMemoryWithTilingMode for translucency lighting 3d textures, saves 13Mb Change 3346414 on 2017/03/14 by Daniel.Wright [Copy] TexCreate_ReduceMemoryWithTilingMode for volumetric fog 3d textures, saves 13Mb Change 3346415 on 2017/03/14 by Daniel.Wright [Copy] Missing file from cl 3338451 Change 3346421 on 2017/03/14 by Daniel.Wright [Copy] Fixed NaNs in volumetric fog due to rendering when height fog is disabled * Volumetric fog converts NaNs to black now so they don't spread Change 3346422 on 2017/03/14 by Daniel.Wright [Copy] Fixed NaN in volumetric fog with low density values Change 3346423 on 2017/03/14 by Daniel.Wright [Copy] Changed default VolumetricFogScatteringDistribution to .2 Change 3346430 on 2017/03/14 by Daniel.Wright [Copy] New translucent material option to compute fog per pixel instead of the default per vertex Change 3346432 on 2017/03/14 by Daniel.Wright [Copy] Moved Volumetric Fog parameters to view uniform buffer for translucency pass Fixed lifetimes of temporary Volumetric Fog render targets Change 3346526 on 2017/03/14 by Daniel.Wright [Copy] Volumetric Fog supports point and spot light shadows * These lights are injected separately so that per-light resources can be bound (shadow depth map, static shadow depth map) * Forward lighting of local lights can be forced with 'r.VolumetricFog.InjectShadowedLightsSeparately 0' * Shadowed lights come at a cost: 2.9ms for volumetric fog on 970 -> 4.2ms with shadowing Change 3347053 on 2017/03/15 by Rolando.Caloca DR - android compile fix Change 3347384 on 2017/03/15 by Rolando.Caloca DR - Fix merge issue Change 3347643 on 2017/03/15 by Marcus.Wassmer Fix some bugs with the 'disable stationary skylight ffor the project' feature. Fixes lighting in Persona on Paragon. Change 3347979 on 2017/03/15 by Rolando.Caloca DR - Allow to automatically apply cached rendertargets to PSO initializer Change 3348024 on 2017/03/15 by Rolando.Caloca DR - Remove NullPS on Vulkan to avoid deadlock Change 3348303 on 2017/03/15 by Rolando.Caloca DR - Fix for debugging SCW with material SRT Change 3348357 on 2017/03/15 by Marcus.Wassmer Fix stencildither and a stencilref bug that was probably breaking decals sometimes. Change 3348549 on 2017/03/15 by Marcus.Wassmer Hopefully fix static analysis for potential nullptr access. Change 3348614 on 2017/03/15 by Marcus.Wassmer Duplicate some switch changes to fix crash on launch. Change 3349369 on 2017/03/16 by Gil.Gribb Fixed botched merge Change 3349947 on 2017/03/16 by Rolando.Caloca DR - Fix for mismatched primitive type Change 3349956 on 2017/03/16 by Benjamin.Hyder initial updates to TM-DistanceFields map Change 3350151 on 2017/03/16 by Rolando.Caloca DR - Fix UT compile issue Change 3350155 on 2017/03/16 by Rolando.Caloca DR - Catch mismatched primitive type on PSOs on D3D11 Change 3350192 on 2017/03/16 by Daniel.Wright Fix for point light shadow depths rendering with wrong cull mode due to PSO refactor Change 3350736 on 2017/03/16 by Daniel.Wright Fixed formatting from merge Change 3350881 on 2017/03/16 by Rolando.Caloca DR - Fix texture arrays as UAVs on Metal Change 3350927 on 2017/03/16 by Rolando.Caloca DR - Fix warning Change 3350935 on 2017/03/16 by Daniel.Wright Fix for materials with non-Surface domains being skipped in mesh passes Change 3351583 on 2017/03/17 by Marcus.Wassmer Fix clang platforms Change 3351917 on 2017/03/17 by Marcus.Wassmer Fix linux compile Change 3351973 on 2017/03/17 by Marcus.Wassmer Fix mismatched rendertargetformat Change 3352038 on 2017/03/17 by Daniel.Wright Enabled GetAndOrCreateGraphicsPipelineState ensures in Development for testing Change 3352110 on 2017/03/17 by Marcus.Wassmer Fix missing RT PSO apply Change 3352695 on 2017/03/17 by Arne.Schober DR - Remove PSO Rendertarget check in DX12 Resolve with Shader. #RB Rolando.Caloca Change 3352960 on 2017/03/17 by Arne.Schober DR - Fix some things that slipped trough the PSO merge #RB none Change 3353150 on 2017/03/18 by Rolando.Caloca DR - compile fix Change 3353205 on 2017/03/18 by Arne.Schober DR - Fix Incremental Compile and PS4 runtime error where CMASK is not allowed for ThickTile Mode #RB none Change 3353207 on 2017/03/18 by Arne.Schober DR - Fix Confusion #RB none Change 3355183 on 2017/03/20 by Nick.Bullard Fixed up Content orginzation for Decals automation tests in EngineTest Change 3355627 on 2017/03/20 by Arne.Schober DR - [UE-43094] - removed ensure in comporiton graph as control of the clear color cannot be gurantueed. Change 3356342 on 2017/03/21 by Marcus.Wassmer Fix clang errors Change 3356591 on 2017/03/21 by Arne.Schober DR - Fix ensure message #RB none Change 3356873 on 2017/03/21 by Arne.Schober DR - Fix comparission of undefined values in RendertargetApply Check Change 3357261 on 2017/03/21 by Marcus.Wassmer Fix LinuxEditor compile Change 3357294 on 2017/03/21 by Marcus.Wassmer Add missing SSE functions Change 3357351 on 2017/03/21 by Frank.Fella Fix win32 and linux compiler errors Change 3357370 on 2017/03/21 by Arne.Schober DR - disable ensure in test builds #RB Marcus.Wassmer [CL 3357449 by Marcus Wassmer in Main branch]
2017-03-21 17:46:52 -04:00
virtual EMaterialDomain GetMaterialDomain() const override
{
if (Material)
{
return Material->MaterialDomain;
}
return MD_Surface;
}
virtual bool IsTwoSided() const override
{
if (MaterialInterface)
{
return MaterialInterface->IsTwoSided();
}
return false;
}
virtual bool IsThinSurface() const override
{
if (MaterialInterface)
{
return MaterialInterface->IsThinSurface();
}
return false;
}
virtual bool IsDitheredLODTransition() const override
{
if (MaterialInterface)
{
return MaterialInterface->IsDitheredLODTransition();
}
return false;
}
virtual bool IsLightFunction() const override
{
if (Material)
{
return (Material->MaterialDomain == MD_LightFunction);
}
return false;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
virtual bool IsDeferredDecal() const override
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
return Material && Material->MaterialDomain == MD_DeferredDecal;
}
virtual bool IsUIMaterial() const override
{
return Material && Material->MaterialDomain == MD_UI;
}
virtual bool IsSpecialEngineMaterial() const override
{
if (Material)
{
return (Material->bUsedAsSpecialEngineMaterial == 1);
}
return true;
}
virtual bool IsWireframe() const override
{
if (Material)
{
return (Material->Wireframe == 1);
}
return false;
}
virtual bool IsMasked() const override { return false; }
virtual enum EBlendMode GetBlendMode() const override { return BLEND_Opaque; }
virtual enum ERefractionMode GetRefractionMode() const override { return Material ? (ERefractionMode)Material->RefractionMethod : RM_None; }
virtual bool GetRootNodeOverridesDefaultRefraction()const override { return Material ? Material->bRootNodeOverridesDefaultDistortion : false; }
virtual FMaterialShadingModelField GetShadingModels() const override { return MSM_Unlit; }
virtual bool IsShadingModelFromMaterialExpression() const override { return false; }
virtual float GetOpacityMaskClipValue() const override { return 0.5f; }
virtual bool GetCastDynamicShadowAsMasked() const override { return false; }
virtual FString GetFriendlyName() const override { return FString::Printf(TEXT("FExportMaterialRenderer %s"), MaterialInterface ? *MaterialInterface->GetName() : TEXT("NULL")); }
/**
* Should shaders compiled for this material be saved to disk?
*/
virtual bool IsPersistent() const override { return false; }
virtual FGuid GetMaterialId() const override { return Id; }
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3231693) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3219796 on 2016/12/02 by Rolando.Caloca DR - vk - Increase timeout to 60ms Change 3219884 on 2016/12/02 by Daniel.Wright Assert to help track down rare crash locking capsule indirect shadow vertex buffer Change 3219885 on 2016/12/02 by Daniel.Wright Fixed saving a package that doesn't exist on disk but exists in p4 at a newer revision when the user chooses 'Mark Writable' Change 3219886 on 2016/12/02 by Daniel.Wright Don't create projected shadows when r.ShadowQuality is 0 * Fixes crash in the forward path trying to render shadows * In the deferred path, the shadowmap was still being rendered and only the projection skipped, now all cost will be skipped Change 3219887 on 2016/12/02 by Daniel.Wright Changed ClearRenderTarget2D default alpha to 1, which is necessary for correct compositing Change 3219893 on 2016/12/02 by Daniel.Wright AMD AGS library with approved TPS Disabled DFAO on AMD pre-GCN PC video cards to workaround a driver bug which won't be fixed (Radeon 6xxx and below) Change 3219913 on 2016/12/02 by Daniel.Wright Level unload of a lighting scenario propagates the lighting scenario change - fixes crash when precomputed lighting volume data gets unloaded Change 3220029 on 2016/12/02 by Daniel.Wright Async shader compiling now recreates scene proxies which are affected by the material which was compiled. This fixes crashes which were occuring as proxies cache various material properties, but applying compiled materials would not update these cached properties (bRequiresAdjacencyInformation). * A new ensure has been added in FMeshElementCollector::AddMesh and FBatchingSPDI::DrawMesh to catch attempts to render with a material not reported in GetUsedMaterials * Fixed UParticleSystemComponent::GetUsedMaterials and UMaterialBillboardComponent::GetUsedMaterials * FMaterialUpdateContext should be changed to use the same pattern, but that hasn't been done yet Change 3220108 on 2016/12/02 by Daniel.Wright Fixed shadowmap channel assignment for stationary lights which are not in a lighting scenario level, when a lighting scenario level is present Change 3220504 on 2016/12/03 by Mark.Satterthwaite Metal Desktop Tessellation support from Unicorn. - Apple: Metal tessellation support added to MetalShaderFormat, MetalRHI and incl. changes to engine runtime/shaders for Desktop renderer and enabled in ElementalDemo by default (OS X 10.11 will run SM4). - Epic: Support for different Metal shader standards on Mac, iOS & tvOS which required moving some RHI functions around as this is a project setting and not a compile-time constant. - Epic: Fragment shader UAV support, which is also tied to newer Metal shader standard like Tessellation. - Epic: Significant refactor of MetalRHI's internals to clearly separate state-caching from render-pass management and command-encoding. - Epic: Internal MetalRHI validation code is now cleanly separated out into custom implementations of the Metal @protocol's and is on by default. - Epic: Various fixes to Layered Rendering for Metal. - Omits Mobile Tessellation support which needs further revision. Change 3220881 on 2016/12/04 by Mark.Satterthwaite Compiles fixes for iOS & static analysis fixes from Windows. Change 3221180 on 2016/12/05 by Guillaume.Abadie Avoid compiling PreviousFrameSwitch's both Current Frame and Previous Frame inputs every time. Change 3221217 on 2016/12/05 by Chris.Bunner More NVAPI warning fixups. Change 3221219 on 2016/12/05 by Chris.Bunner When comparing overriden properties used to force instance recompilation we need to check against the base material, not assume the immediate parent. #jira UE-37792 Change 3221220 on 2016/12/05 by Chris.Bunner Exported GetAllStaticSwitchParamNames and GetAllStaticComponentMaskParamNames. #jira UE-35132 Change 3221221 on 2016/12/05 by Chris.Bunner PR #2785: Fix comment typo in RendererInterface.h (Contributed by dustin-biser) #jira UE-35760 Change 3221223 on 2016/12/05 by Chris.Bunner Default to include dev-code when compiling material preview stats. #jira UE-20321 Change 3221534 on 2016/12/05 by Rolando.Caloca DR - Added FDynamicRHI::GetName() Change 3221833 on 2016/12/05 by Chris.Bunner Set correct output extent on PostProcessUpscale (allows users to extend chain correctly). #jira UE-36989 Change 3221852 on 2016/12/05 by Chris.Bunner 32-bit/ch EXR screenshot and frame dump output. Fixed row increment bug in 128-bit/px surface format readback. #jira UE-37962 Change 3222059 on 2016/12/05 by Rolando.Caloca DR - vk - Fix memory type not found Change 3222104 on 2016/12/05 by Rolando.Caloca DR - Lambdaize - Added quicker method to check if system textures are initialized Change 3222290 on 2016/12/05 by Mark.Satterthwaite Trivial fixes to reporting Metal shader pipeline errors - need to check if Hull & Domain exist. Change 3222864 on 2016/12/06 by Rolando.Caloca DR - Fix mem leak when exiting Change 3222873 on 2016/12/06 by Rolando.Caloca DR - vk - Minor info to help track down leaks Change 3222875 on 2016/12/06 by Rolando.Caloca DR - Fix mem leak with VisualizeTexture #jira UE-39360 Change 3223226 on 2016/12/06 by Chris.Bunner Static analysis warning workaround. Change 3223235 on 2016/12/06 by Ben.Woodhouse Integrate from NREAL: Set a custom projection matrix on a SceneCapture2D Change 3223343 on 2016/12/06 by Chris.Bunner Moved HLOD persistent data to viewstate to fix per-view compatability. #jira UE-37539 Change 3223349 on 2016/12/06 by Chris.Bunner Fixed HLOD with FreezeRendering command. #jira UE-29839 Change 3223371 on 2016/12/06 by Michael.Trepka Removed obsolete check() in FMetalSurface constructor Change 3223450 on 2016/12/06 by Chris.Bunner Added explicit ScRGB output device selection rather than Nvidia-only hardcoded checks. Allows easier support for Mac and other devices moving forward. Change 3223638 on 2016/12/06 by Michael.Trepka Restored part of the check() in FMetalSurface constructor removed in CL 3223371 Change 3223642 on 2016/12/06 by Mark.Satterthwaite Experimental Metal EDR/HDR output support for Mac (iOS/tvOS need custom formats & shaders so they are not supported yet). - Only available on macOS Sierra (10.12) for Macs with HDR displays (e.g. Retina iMacs). - Enable with -metaledr command-line argument as it is off-by-default. - Sets up the CAMetalLayer & the back-buffer for RGBA_FP16 output on Mac using DCI-P3 as the color gamut and ACES 1000 nit ScRGB output encoding. Change 3223830 on 2016/12/06 by Rolando.Caloca DR - vk - Better error when finding an invalid Vulkan driver #jira UE-37495 Change 3223869 on 2016/12/06 by Rolando.Caloca DR - vk - Reuse fences Change 3223906 on 2016/12/06 by Guillaume.Abadie Fix alpha through TempAA artifact causing a small darker edge layouts. Change 3224199 on 2016/12/06 by Mark.Satterthwaite Fix a dumb copy-paste error from the HDR changes to Metal. Change 3224220 on 2016/12/06 by Mark.Satterthwaite Fix various errors with Metal UAV & Render-Pass Restart support so that we can use the Pixel Shader culling for DistanceField effects. - Unfortunately Metal requires that a texture be bound to start a render-pass, so reuse the dummy depth-stencil surface from the problematic editor preview tile rendering. Change 3224236 on 2016/12/06 by Mark.Satterthwaite IWYU CIS compile fix for iOS. Change 3224366 on 2016/12/06 by Mark.Satterthwaite Simplify some of the changes from CL# 3224220 so that we don't perform unnecessary clears. - If the RenderPass is broken to issue compute or blit operations then treat the cached RenderTargetsInfo as invalid, unless the RenderPass is restarted. - This guarantees that we don't erroneously ignore calls to SetRenderTargets if the calling code issues a dispatch between two RenderPasses that use the same RenderTargetsInfo. Change 3224416 on 2016/12/06 by Uriel.Doyon New default implementation for UPrimitiveComponent::GetStreamingTextureInfo using a conservative heuristic where the textures are stretched across the bounds. Optimized UPrimitiveComponent::GetStreamingTextureInfoWithNULLRemoval by not handling registered components with no proxy (essentially hidden game / collision primitives). Added blueprint support for texture streaming built data through FStaticMeshComponentInstanceData. Fix for material texture streaming data not being available on some cooked builds. Enabled split requests on all texture load requests (first loading everything visible and then loaded everything not visible). This is controlled by "r.Streaming.MinMipForSplitRequest" which defines the minimum mip for which to allow splitting. Forced residency are now loaded in two steps (visible, then forced), improving reactiveness. Updated "stat streaming" to include "UnkownRefMips" which represent texture with no known component referencing them, and also "LastRenderTimeMips" which related to timed primitives. Changed "Forced Mips" so that it only shows mips that are loaded become of forced residency. "Texture Streaming Build" now updates the map check after execution. Removed Orphaned texture logic as this has become irrelevant with the latest retention priority logic. Updated "r.streaming.usenewmetrics" so that it shows behavior before and after 4.12 improvements. Change 3224532 on 2016/12/07 by Uriel.Doyon Integrated CL 3223965 : Building texture streaming data for materials does not wait for pending shaders to finish compilation anymore. Added more options to allow the user to cancel this build also. Change 3224714 on 2016/12/07 by Ben.Woodhouse Cherry pick CL 3223972 from //fortnite/main: Disable Geometry shader onchip on XB1. This saves 4ms for a single shadow casting point light @ 512x512 (4.8ms to 1.8ms) Change 3224715 on 2016/12/07 by Ben.Woodhouse New version of d3dx12.h from Microsoft which incorporates my suggested static analysis fixes. This avoids us diverging from the official version Change 3224975 on 2016/12/07 by Rolando.Caloca DR - vk - Dump improvements Change 3225012 on 2016/12/07 by Rolando.Caloca DR - Show warning if trying to use num samples != (1,2,4,8,16) Change 3225126 on 2016/12/07 by Chris.Bunner Added 'force 128-bit rendering pipeline' to high-res screenshot tool. #jira UE-39345 Change 3225449 on 2016/12/07 by Chris.Bunner Updated engine rendering defaults to better match current best practices. #jira UE-38081 Change 3225485 on 2016/12/07 by Chris.Bunner Moved QuantizeSceneBufferSize to RenderCore and added call for PostProcess settings. Fixes screenpercentage out-of-bounds reads in some cases. #jira UE-19394 Change 3225486 on 2016/12/07 by Chris.Bunner Only disable TAA during HighResScreenshots if we don't have a reasonable frame-delay enabled. Change 3225505 on 2016/12/07 by Daniel.Wright Fixed exponential height fog disappearing with no skybox Change 3225655 on 2016/12/07 by Benjamin.Hyder Updating TM-Shadermodels to include Translucent lighting, Two sided, updated cloth animation, and adjusted lighting. Change 3225668 on 2016/12/07 by Chris.Bunner Dirty owning packages when user manually forces regeneration of all reflection captures. #jira UE-38759 Change 3226139 on 2016/12/07 by Rolando.Caloca DR - Fix recompute tangents disabling skin cache - Make some macros into lambdas #jira UE-39143 Change 3226212 on 2016/12/07 by Daniel.Wright Features which require a full prepass use DDM_AllOpaque instead of DDM_AllOccluders, which can be skipped if the component has bUseAsOccluder=false Change 3226213 on 2016/12/07 by Daniel.Wright Scene Capture 2D can specify a global clip plane, which is useful for portals * Requires the global clip plane project setting to be enabled Change 3226214 on 2016/12/07 by Daniel.Wright Improved deferred shadowing with MSAA by upsampling light attenuation intelligently in the base pass * If the current fragment's depth doesn't match what was used for deferred shadowing, the neighbor (cross pattern) with the nearest depth's shadowing is used * Edge artifacts can still occur where the upsample fails or the shadow factor was computed per-sample due to depth / stencil testing * Indirect Occlusion from capsule shadows also uses the nearest depth neighbor UV for no extra cost * Base pass on 970 GTX 1.69ms -> 1.85ms (.16ms) in RoboRecall Change 3226258 on 2016/12/07 by Rolando.Caloca DR - Typo fix Change 3226259 on 2016/12/07 by Rolando.Caloca DR - compile fix #jira UE-39143 Change 3226932 on 2016/12/08 by Chris.Bunner Re-saved Infiltrator maps to update reflection captures. #jira UE-38759 Change 3227063 on 2016/12/08 by Mark.Satterthwaite For Metal platforms ONLY temporarily disable USE_LIGHT_GRID_REFLECTION_CAPTURE_CULLING to avoid UE-37436 while the Nvidia driver team investigate why this doesn't work for them but does for the others. This won't affect non-Metal platforms and the intent is to revert this prior to 4.16 provided we can work through the problem with Nvidia. #jira UE-37436 Change 3227120 on 2016/12/08 by Gil.Gribb Merging //UE4/Dev-Main@3226895 to Dev-Rendering (//UE4/Dev-Rendering) Change 3227211 on 2016/12/08 by Arne.Schober DR - UE-38585 - Fixing crash where HierInstStaticMesh duplication fails. Also reverting the fix from UE-28189 which is redundant. Change 3227257 on 2016/12/08 by Marc.Olano Extension to PseudoVolumeTexture for more flexible layout Change by ryan.brucks Change 3227286 on 2016/12/08 by Rolando.Caloca DR - Fix crash when using custom expressions and using reserved keywords #jira UE-39311 Change 3227376 on 2016/12/08 by Mark.Satterthwaite Must not include a private header inside the MenuStack public header as that causes compile errors in plugins. Change 3227415 on 2016/12/08 by Mark.Satterthwaite Fix shader compilation due to my disabling of USE_LIGHT_GRID_REFLECTION_CAPTURE_CULLING on Metal - InstancedCompositeTileReflectionCaptureIndices needs to be defined even though Metal doesn't support instanced-stereo rendering. Change 3227516 on 2016/12/08 by Daniel.Wright Implemented UWidgetComponent::GetUsedMaterials Change 3227521 on 2016/12/08 by Guillaume.Abadie Fixes post process volume's indirect lighting color. #jira UE-38888 Change 3227567 on 2016/12/08 by Marc.Olano New upscale filters: Lanczos-2 (new default), Lanczos-3 and Gaussian Unsharp Mask Change 3227628 on 2016/12/08 by Daniel.Wright Removed redundant ResolveSceneDepthTexture from the merge Change 3227635 on 2016/12/08 by Daniel.Wright Forward renderer supports shadowing from movable lights and light functions * Only 4 shadow casting movable or stationary lights can overlap at any point in space, otherwise the movable lights will lose their shadows and an on-screen message will be displayed * Light functions only work on shadow casting lights since they need a shadowmap channel to be assigned Change 3227660 on 2016/12/08 by Rolando.Caloca DR - vk - Fix r.MobileMSAA on Vulkan - r.MobileMSAA is now read-only (to be fixed on 4.16) - Show time for PSO creation hitches #jira UE-39184 Change 3227704 on 2016/12/08 by Mark.Satterthwaite Fix Mac HDR causing incorrect output color encoding being used, HDR support is now entirely off unless you pass -metaledr which will enable it regardless of whether the current display supports HDR (as we haven't written the detection code yet). Fixed the LUT/UI compositing along the way - Mac Metal wasn't using volume LUT as it should have been, RHISupportsVertexShaderLayer now correctly returns false for non-Mac Metal platforms. Change 3227705 on 2016/12/08 by Daniel.Wright Replaced built-in samplers in the nearest depth translucency upsample because the built-in samplers are no longer bound on PC (cl 2852426) Change 3227787 on 2016/12/08 by Chris.Bunner Added extent clear to motion blur pass to catch misized buffers bringing in errors. Added early out to clear call when excluded region matches RT region. #jira UE-39437 Change 3228177 on 2016/12/08 by Marc.Olano Fix DCC sqrt(int) error Change 3228285 on 2016/12/08 by Chris.Bunner Back out changelist 3225449. #jira UE-39528 Change 3228680 on 2016/12/09 by Gil.Gribb Merging //UE4/Dev-Main@3228528 to Dev-Rendering (//UE4/Dev-Rendering) Change 3228940 on 2016/12/09 by Mark.Satterthwaite Editor fixes for 4.15: - PostProcessTonemap can't fail to bind a texture to the ColorLUT or the subsequent rendering will be garbage: the changes for optimising stereo rendering forgot to account for the Editor's use of Views without States for the asset preview thumbnails. Amended the CombineLUT post-processing to allocate a local output texture when there's no ViewState and read from this when this situation arises which makes everything function again. - Don't start render-passes without a valid render-target-array in MetalRHI. Change 3228950 on 2016/12/09 by Mark.Satterthwaite Make GPUSkinCache run on Mac Metal - it wasn't working because it was forcibly disabled on all platforms but for Windows D3D 11. - Fixed the Skeleton editor tree trying to access a widget before it has been constructed. - Enable GPUSkinCache for Metal SM5: doesn't render correctly, even on AMD, so needs Radar's filing and investigation. #jira UE-39256 Change 3229013 on 2016/12/09 by Mark.Satterthwaite Further tidy up in SSkeletonTreeView as suggested by Nick.A. Change 3229101 on 2016/12/09 by Chris.Bunner Log compile error fix and updated cvar comments. Change 3229236 on 2016/12/09 by Ben.Woodhouse XB1 D3D11 and D3D12: Use the DXGI frame statistics to get accurate GPU time unaffected by bubbles Change 3229430 on 2016/12/09 by Ben.Woodhouse PR #2680: Optimized histogram generation. (Contributed by PjotrSvetachov) Profiled on nvidia 980GTX (2x faster), and on XB1 (marginally faster) Change 3229580 on 2016/12/09 by Marcus.Wassmer DepthBoundsTest for AMD. Change 3229701 on 2016/12/09 by Michael.Trepka Changed "OS X" to "macOS" in few places where we display it and updated the code that asks users to update to latest version to check for 10.12.2 Change 3229706 on 2016/12/09 by Chris.Bunner Added GameUserSettings controls for HDR display output. Removed Metal commandline as this should replace the need for it. Change 3229774 on 2016/12/09 by Michael.Trepka Disabled OpenGL on Mac. -opengl is now ignored, we always use Metal. On old Macs that do not support Metal we show a message saying that the app requires Metal and exit. Change 3229819 on 2016/12/09 by Chris.Bunner Updated engine rendering defaults to better match current best practices. #jira UE-38081 Change 3229948 on 2016/12/09 by Rolando.Caloca DR - Fix d3d debug error #jira UE-39589 Change 3230341 on 2016/12/11 by Mark.Satterthwaite Don't fatally assert that the game-thread stalled waiting for the rendering thread in the Editor executable, even when running -game as the rendering thread can take a while to respond if shaders need to be compiled. #jira UE-39613 Change 3230860 on 2016/12/12 by Marcus.Wassmer Experimental Nvidia AFR support. Change 3230930 on 2016/12/12 by Mark.Satterthwaite Disable RHICmdList state-caching on Mac - Metal already does this internally and depends on receiving all state changes in order to function. Change 3231252 on 2016/12/12 by Marcus.Wassmer Fix NumGPU detection. (SLI only crash) Change 3231486 on 2016/12/12 by Mark.Satterthwaite Fix a stupid mistake in MetalStateCache::CommitResourceTable that would unnecessarily rebind samplers. Change 3231661 on 2016/12/12 by Mark.Satterthwaite Retain the RHI samplers in MetalRHI to guarantee lifetime. [CL 3231696 by Gil Gribb in Main branch]
2016-12-12 17:47:42 -05:00
virtual UMaterialInterface* GetMaterialInterface() const override
{
return MaterialInterface;
}
friend FArchive& operator<< ( FArchive& Ar, FExportMaterialProxy& V )
{
return Ar << V.MaterialInterface;
}
static bool WillFillData(bool bIsOpaque, EMaterialProperty InMaterialProperty)
{
if (InMaterialProperty == MP_EmissiveColor)
{
return true;
}
if (bIsOpaque)
{
switch (InMaterialProperty)
{
case MP_BaseColor: return true;
case MP_Specular: return true;
case MP_Normal: return true;
case MP_Tangent: return true;
case MP_Metallic: return true;
case MP_Roughness: return true;
case MP_Anisotropy: return true;
case MP_AmbientOcclusion: return true;
}
}
return false;
}
virtual bool IsVolumetricPrimitive() const override
{
Merging from //UE4/Fortnite-Staging up to CL#3673800 based on CL#3664064 from //Fortnite/Main #rb none #lockdown Nick.Penwarden ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS AND/OR RESTRICTED FOLDERS. YOU MUST REVIEW THESE MANUALLY AND APPEND THEM TO THE DESCRIPTIONS FOR THE APPROPRIATE PLATFORMS. ================================================================================================= Change 3662267 by Nick.Darnell Engine - Fixing a bug in GetAccurateRealTime, it wasn't subtracting GStartTime, which if you don't prevents accurate platform time when you try to store it in a float. #jira nojira Change 3662176 by Ben.Marsh Disable image integrity report generation if a debugger is attached, and in editor builds. #jira FORT-55656 Change 3656958 by Luke.Thatcher [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 (D3D12.SyncInterval, D3D11.SyncInterval, r.PS4FlipRate, RHI.SyncIntervalOgl) into one: rhi.SyncInterval - 1 == 60Hz - 2 == 30Hz - 3 == 20Hz [-] Removed large number in XboxOneTime. Adding this arbitrary number prevents us from comparing timestamps from FPlatformTime::Seconds() and various OS callbacks (e.g. flip timings). #jira FORT-50803 Change 3655598 by Lukasz.Furman added filtering for navmesh's low height spans to fix crash on layer partitioning % of span reductions depends on presence of stair or roof building in navmesh tile, changed failsafes in layer code to ignore entire tile if heightfield is too complex to partition instead of reallocating memory #jira FORT-35375 Change 3648972 by Keith.Judge Add analytics to help diagnose default parameter collection buffer issue. +++ REMOVE ONCE CORE ISSUE IS SOLVED +++ #jira FORT-54690 Change 3648756 by Bart.Hawthorne Integrate 3645298 from //UE4/Dev-Networking Deprecate GetNetworkObjectInfo in favor of separate FindNetworkObjectInfo and FindOrCreateNetworkObjectInfo methods. #jira none Change 3643090 by Josh.Markiewicz #UE4 - proper handling of "pending connection lost" - triggered only if a connection is lost and there no "owning actor" to deal with the connection loss -- added Rejoin and CleanedUp states to connection to make sure that the pending connection lost delegate only fires at the appropriate time - delegate returns the unique id of the player if known (still possible to be unknown if connection lost after NMT_Hello) - changed debug output on timeout if the net connection was already in the process of being destroyed -- occurs when game hitches during the pending destroy 2 second wait -- ReceivedAcks should have been called to clean things up quietly in those 2 seconds but blocking the game thread will cause the cleanup to look like a timeout - added userid to UNetConnection::Describe - bad split screen player handling of unique id -- splitscreen uniqueid was overwriting the primary player id -- only store the id on the child connection - added some clarifying comments #review-3642816 @ryan.gerleve, @bob.tellez, @sam.zamani, @bart.hawthorne, @dave.ratti #jira FORT-26776 Change 3639043 by Alex.Thurman Fix CommonTreeView SetSelection to correctly update list navigation, and behave similarly to CommonListView's SetSelectedItem. #JIRA FORT-45841 Change 3632275 by Seth.Weedin #JIRA FORT-54203 - Add clamps to ActiveSound fade interpolation to prevent unwanted volume spikes. Remove 0.01 start time for single-fire audio cues. Should remove the sudden pops sometimes heard when firing weapons, as well as smooth out fade volume in general. Change 3626944 by Josh.Markiewicz #UE4 - added "updates connection status" flag to ServiceConfigMCP - disable updates on Cloud and Friend services (Fortnite only) - removed overloaded ProcessConnectionStatus function in cloud service #jira FORT-53113 Change 3626226 by Stewart.Lynch LLM Update - Memory reductions, Summary page, enum scopes, refactor and cleanup of tags * Remove all static arrays and hard limits from LLM. Everything is now dynamically allocated using the internal LLM allocators. The overhead when LLM is disabled is now only 48K (was 40MB) * re-wrote LLMMap. Now stores an int32 index rather then pointer in the HashMap array. Also, changed the Values to be arrays for structs instead of structs of arrays. Means that the tag can be stored in a single byte. Changed the size of the allocation size from int64 to int32. All this takes the memory down from around 600MB to 100MB. It was 120 bytes per allocation, now 29 bytes. * changed all LLM scopes over to enums. This has a number of benefits; LLM can be enable in Test, less CPU overhead, stored in a byte (LLM overhead /= 8) * summary page for content creators where all lower-level stats are grouped under one Engine stat * renamed ELLMScopeTag enum to ELLMTag * renamed LLM_SCOPED_TAG_WITH_ENUM macro to LLM_SCOPE * removed Tracker arg from LLM_SCOPE and added LLM_PLATFORM_SCOPE macro * fixed GenericPlatformMallocCrash stat. Although it seems not be be used anymore * fixed BackupOOMMemoryPool stat (now shows in both default and platform pages) * added separate LLM enums for XB1, PS4 and D3D12 (PS4LLM.cpp/h etc.) * lots of changes adding/removing/renaming tags * added LLMArray and FLLMObjectAllocator classes * disabled asset tag tracking by default because it takes up so much memory even when not used * enable LLM in all non-shipping builds. In Test the on screendisplay won't show because it uses the stats system but it till still write out the csv. * all the stat macros have been left as they were and can be enabled on the LLM_STAT_TAGS_ENABLED define. These are needed for the asset tagging. * disabled LLM_TRACK_PEAK_MEMORY because there is a problem with the way it adds the peaks for multiple threads. This needs to be fixed. * added a CVar to control the csv write interval: LLM.LLMWriteInterval * added static arrays for the enum tags setup. Easier to manage and removes need for slow switch statements. * renamed FLLMThreadStateManager to FLLMTracker to make it consistent with the enum * fixed program size stat which was broken recently on PS4. This was due to initialisation order and global platform stats setup #jira NONE-01 Change 3622978 by Lukasz.Furman changed WeaponStatus BT decorator to be event driven, fixes AI trying to check ranged weapon abilities without valid weapon includes copy of CL# 3620700 #jira FORT-45914 #review-3622979 John.Abercrombie Change 3622340 by Josh.Markiewicz #UE4 - playerid netconnection variable setup properly on clients and servers for both beacons and game net drivers - ipconnection prints uniqueid with lowleveldescribe #jira fort-0 Change 3621386 by Tim.Tillotson Add the ability to retry HTTP operations by VERB. This allows us to automatically retry cloud save PUT operations. #JIRA FORT-53717 #review-3621317 @Josh.Markiewicz @Ian.Fox @Carlos.Cuello Change 3620517 by Keith.Judge Xbox One - Revert iOS behaviour for the depth bias back to how it was, and make separate XB1 change use its own define to avoid confusion. #jira FORT-53928 Change 3620248 by Lukasz.Furman changed behavior of UBTTask_MoveTo.bStopOnOverlap flag after recent AcceptanceRadius fix, updated comments to be more detailed #jira nojira Change 3616187 by Bob.Tellez #UE4 Throwing an error (for now) if you attempt to use both the malloc profiler and leak detection at the same time since it causes a deadlock. #JIRA UE-0 Change 3613935 by Peter.Knepley More logging on update launcher launching #jira nojira #robomerge rp rn Change 3613537 by Marcus.Wassmer Safety asserts around the MarkPendingKill feature for rendering classes. #jira FORT-50385 Change 3613399 by Arne.Schober Extended ShowMaterialDrawEvents to enable it only in very specific passes and default enabled Depth for Fortnite on PS4 to track down a crash. #RB Marcus.Wassmer #jira FORT-53610 Change 3610794 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce UMG class memory #jira UE-52043 #ROBOMERGE-SOURCE: CL 3610792 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3610144 by Stewart.Lynch General LLM improvements * added tracking for misc task graph tasks (moves 20MB out of Untagged) * renamed EngineTick to EngineMisc * added tracking for FName * added tracking for GC_ProcessObjectArray potential leak * renamed index & vertex buffers stat to Meshes * added hooks for MemPro to track allocations from a single category. Currently defined out. I haven't added MemPro.cpp/h. * removed AVAILABLE_PHYSICAL stat from LLM csv * csv files now include the date in the filename * fixed potential threading bug when reading stat values to csv * made IsDebugMemoryEnabled() always return false in shipping and if not runnong on a dev-kit (PS4). The reason is that the function is a bit hacky, and should only be used for debug purposes, such as displaying the on screen warning. * added lots more scopes * started changing Stat scopes to enum scopes. Stat scopes will be phased out. * added tracking of FName memory * added llmplatform tracking for XBoxSymbols * added llm tracking for CPU symbol allocations (20MB) * wrote an allocator for XBoxOneStack reading so that it doesn't go through Malloc and get tracked by LLM. * added tracking for GC * fixed tracking for TransientMemoryAllocator * added tracking for networking memory * added more audio memory tracking * added tracking for blueprints * added tracking for static meshes * show on screen warning if debug memory is enabled * added tracking for particles * renamed Phys to PhysX and added more scopes * renamed Slate to UI and added more scopes * much better coverage of networking memory * improved coverage of audio #jira FORT-53420 Change 3610136 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce size of UStaticMeshComponent by 224 bytes (cumulative, 64 bytes exclusive) Reduce size of UPrimitiveComponent by 176 bytes (cumulative, 64 bytes exclusive). Reduce size of USceneComponent by 112 bytes. Reduce size of FLightingChannels from 3 bytes to 1. Reduce size of FBodyInstance by 16 bytes. #jira FORT-52043 #ROBOMERGE-SOURCE: CL 3610134 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607937 by robomerge #ROBOMERGE-AUTHOR: paul.moore #jira FORT-53105 - Fix websocket not providing information when the peer closes the connection. #ROBOMERGE-SOURCE: CL 3607933 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607042 by Bart.Hawthorne Move replay.Loop functionality into the demo net driver and rename it demo.Loop #jira none Change 3605448 by robomerge #ROBOMERGE-AUTHOR: seth.weedin #Athena - Pass owner to ActiveSounds created using PlaySoundAtLocation/PlaySound2D to allow "Limit to Owner" concurrency rules to work. Hook up for weapon sounds. #JIRA FORT-53180 #ROBOMERGE-SOURCE: CL 3605443 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3604787 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Initial support for hotfixing live assets from .ini files - This allows clients and server to patch certain assets in memory whenever .ini file hotfixes are downloaded - Only CurveTables and DataTables are supported for now - The new asset content must be in Json format, the same format the editor uses for importing - Assets that are hotfixed will be synchronously loaded if they're not already in memory. They'll be retained in memory afterwards. - IMPORTANT: Json data must be supplied on a single line, and all double quotes must be escaped! - The changes must go in the Game.ini file and use the following syntax: [AssetHotfix] +CurveTable=("/Game/Folder/MyCurveTable","[{\"Name\":\"Default\"}]") +DataTable=("/Game/Folder2/MyDataTable","[{\"Name\":\"Foo\"}]") #jira FORT-52099 [CODEREVIEW] frank.gigliotti [FYI] peter.knepley,bob.tellez #ROBOMERGE-SOURCE: CL 3604784 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3602067 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Loading time improvements - This shaves off up to 10 seconds of load time on PS4 in Athena Details: - Fixed multiple sub-levels not being able to be enqueued for loading in a single client frame. Athena has ~300 sub-levels, so this ended up wasting up many seconds. - Fixed 3D world being rendered while loading (frees up game thread cycles for throttled streaming) - UWorld::AllowLevelLoadRequests() was not allowing load requests to go through while an async load was in progress and the match had started. It now allows this as long as the world isn't being rendered (loading screen.) - Eliminated extra 2 second delay before loading screen is dismissed (in Athena only) - Note: A side effect of this change is that the progress bar may not update as smoothly on loading screen. We'll look at tuning the throttle settings if it ends up being a problem. [CODEREVIEW] ori.cohen #jira AT-1477 #ROBOMERGE-SOURCE: CL 3602061 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3601951 by Luke.Thatcher [FORTNITE] [PS4] [!] Fix memory stats in the old PS4 memory system - Physical memory stat now includes garlic and onion allocations. CPU OOMs will result in "AvailablePhysical" being close to 0. - Added garlic, onion and defrag stats to the platform memory stats struct. - Added fixed pool sizes to platform memory stats. - Modified the Fortnite heartbeat logging to include extra details of PS4 fixed sized pools. #jira FORT-52910 Change 3600340 by robomerge #ROBOMERGE-AUTHOR: wes.hunt All Fort analytics events now contain a GameState attribute indicating the active GameState ClassName when the event is sent. Added some new context to crashreporter to help identify Athena matches near and long term. * Near Term: GameNameSuffix - set via FCoreDelegates::CrashOverrideParamsChanged * Added bools to the params to indicate WHICH ones are changing * Allows you to set only some values, and clear them out. * Hooked up in FortGameState::PostInitializeComponents. * FortGameState clears it (for returning to main menu). * FortGameStateAthena sets it (for going into an Athena match). * Only does this when it's a true GameMode GameState instance (ie, not PIE) so PIE crashes aren't modified. * Long Term: GameStateName - set via FCoreDelegates::GameStateClassChanged. * This works for ANY crash on ANY game. * Hooked up in GameState::HandleMatchIsWaitingToStart. #jira AT-1457 #jira AT-519 [CODEREVIEW] peter.knepley,josh.markiewicz #ROBOMERGE-SOURCE: CL 3600278 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3597593 by Ben.Zeigler #jira FORT-50722 Fix issues where AssetBundles weren't being correctly updated during cook, which is blocking both Noland and Abercrombie Partial copy of CL #3402335 and #3526538 #robomerge rp, rn Change 3597577 by Luke.Thatcher [FORTNITE] [PS4] [~] Modified the way memory is allocated on Playstation to make more memory available to the CPU. - Previously the amount of texture memory wasn╞t fixed due to the way the defrag memory is allocated on PS4. This meant we had to have a significant amount of slack. - With the new configuration, we have a guaranteed texture memory pool, so the slack can be significantly smaller, meaning we can give more memory to the CPU, which is where most of our memory pressure is. #jira FORT-50825 #jira FORT-49688 #jira FORT-49695 #jira FORT-50054 Change 3596556 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Enable GC clustering for actors and blueprints in Fortnite - This shaves off about 10 ms on GC frames in Athena on PS4 (~52 ms -> 42 ms) - Clustering doesn't work on building actors because they're very dynamic, but general Fort static meshes and blueprints are clustered! - This gets us into the realm of shippability on console for very large UObject counts [FYI] bob.tellez,peter.knepley,michael.noland #jira AT-1440 #ROBOMERGE-SOURCE: CL 3596552 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3593994 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Force largest distance field atlas size in Athena - We now force the largest distance field atlas size before preloading Athena content (512x512x1024 = 256 MB). This helps with load times because it's expensive to re-create this texture on consoles, and typically it gets resized over a dozen times. - Added new CVar "r.DistanceFields.ForceMaxAtlasSize" (defaults to zero) - Important: Currently we never "reset" this atlas texture. This will be a problem when going back to play Campaigns after preloading to play Athena. I will look into this soon! [CODEREVIEW] peter.knepley,marcus.wassmer,michael.noland,daniel.wright #jira AT-1477 #ROBOMERGE-SOURCE: CL 3593992 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592096 by robomerge #ROBOMERGE-AUTHOR: ben.salem Prototype of gauntlet memory soak test. Not fully fiinished, but want changes in tonight's cook so we can experiment on cooked build tomorrow morning. #jira FORT-0 #ROBOMERGE-SOURCE: CL 3592025 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592085 by robomerge #ROBOMERGE-AUTHOR: mike.fricker HLOD: Added support for a fixed distance override via CVar - Use this to force all HLODs to transition at a specific distance, regardless of their TransitionSize/MinDrawDistance/LODDrawDistance - New CVar: r.HLOD.DistanceOverride (defaults to 0) - Fortnite uses 350m for this distance, fornow [CODEREVIEW] jurre.debaare #jira AT-1462 #ROBOMERGE-SOURCE: CL 3591929 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3587391 by Michael.Noland Fortnite: Lots of memory tracking stuff - Added memory logging to game state transitions and overall health tracking for the entire session - Added support for Gauntlet-based tests to Fortnite - Enabled the Gauntlet plugin (and fixed spaces instead of tabs in the .uproject file) - Added code to set gauntlet state based on the current subclass of AFortGameState - Added a base controller and a memory report controller (WIP, ported from equivalents in Paragon) - Updated FortniteClient to use MALLOC_LEAKDETECTION=1, PLATFORM_USES_FIXED_GMalloc_CLASS=0, and AllowASLRInShipping=false in Development builds (may enable them in Test builds in a future CL, to match Paragon) #jira FORT-50567 Change 3583307 by Peter.Knepley Need non-jittered ViewToClip matrix in order to do "after tonemapper" postprocess blendable material that's positioned in view space Modify the AttachScope material function to use "ViewSpaceTransformToClipSpace" instead of going back to world space first. This also means it can utilitize the ViewToClipNoAA matrix. #jira AT-733 Change 3582378 by Luke.Thatcher [FORTNITE] [~] Unify Xbox and PS4 scalability settings and device profiles. - All Xbox and PS4 r. CVars are overriden in their platform's Scalability.ini file. The device profile only selects sg. groups. - Fixed the Neo 4K profile for Fortnite. Previously players with 4K monitors would choose the Neo_4K profile, which looks worse than Neo, but still renders at 1080p. - Console specific settings have to live in the Base/Default .ini's, as the cooker doesn't load the console specific files. This is fixed in UE4 Main. #jira FORT-50206 Change 3580934 by Luke.Thatcher [FORTNITE] [PS4] [+] Support different garlic and onion heap sizes in the old memory system for base and neo. - Neo has 512 MB more direct memory than a base kit. - Increased the garlic heap size by 416 MB on Neo, and CPU heap by 96 MB. #jira FORT-50206 Change 3576664 by Bart.Hawthorne Re-enable Oodle and add Mac implementation. Also includes fixed oodle libraries by MichaelT. #jira FORT-49986 #tests Connected to PC server with editor -game build on Mac in Athena Change 3575671 by Nick.Darnell Athena - The gameplay ability system now supports adding Gameplay Cue's with params. Now using cues instead of gameplay effects in order to notify when the bandaging/shielding begin and end. THe new method should properly show and disappear on time, b/c it's all client side. Added a way in the Athena Context to easily hook gameplay "UI" cues that are rebroadcast from the Athena Pawn. #jira AT-644 Change 3575534 by Peter.Knepley Ability montage replication optimizations #jira AT-955 Change 3573305 by Lukasz.Furman disabled path section update when crowd simulated AI is moving through navlink, fixed AI getting stuck in some corners #jira FORT-49748 Change 3566775 by John.Abercrombie Optimizations from Dev-Athena - Tested with PIE & and 2 Player local server game #ue4-athena - (merge CLs 3345771 and 3363030 from Framework) - Refactored CharacterMovementComponent determination of net send rate when combining moves into a virtual function GetClientNetSendDeltaTime(). Added configurable values to GameNetworkManager under [/Script/Engine.GameNetworkManager]. For Fortnite, set unthrottled (<= 10 player) limit to 60Hz (from 90Hz), and trying throttled at 30Hz (from 45Hz). #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545535 by Zak.Middleton on 2017/07/19 20:15:17. #ue4-athena - (merge CL 3377054 from Framework) - Fix CharacterMovementComponent updated with very high delta time on server when initially joining. Make sure the ServerTimeStamp is initialized to current world time rather than zero to prevent large delta. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545452 by Zak.Middleton on 2017/07/19 18:57:45. #athena - If network smoothing mode is not linear, don't replicate ReplicatedServerLastTransformUpdateTimeStamp. Only AI use linear smoothing in FN. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545559 by Zak.Middleton on 2017/07/19 20:47:18. #ue4-athena - Converted all RPCs on UCharacterMovementComponent to be on ACharacter instead, to avoid the bandwidth overhead of calling RPCs on a component. Existing overrides of _Implementation and _Validate functions should remain unchanged. If for some reason someone overrode the old RPC virtuals, those are now non-virtual on UCharacterMovementComponent but are still virtual on ACharacter. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3557564 by Zak.Middleton on 2017/07/26 20:13:43. #ue4-athena - Throttle character movement server corrections and acks to the client based on time since last adjustment. Cuts down on network traffic for character movement. Added configurable settings to control this. Set times to zero to disable this. - NetworkMinTimeBetweenClientAckGoodMove - NetworkMinTimeBetweenClientAdjustments - NetworkMinTimeBetweenClientAdjustmentsLargeCorrection - NetworkLargeClientCorrectionDistance #ue4-athena - Perf: (EditMerge CL 3492200 from Dev-Framework): Always reset the input array in AActor::GetComponents(), but do so without affecting allocated size. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561669 by Zak.Middleton on 2017/07/28 14:16:19. #ue4-athena - Perf: (EditMerge CL 3468253 from Dev-AnimPhys): Remove the need for calling constructors for physx PxRaycastHit in the dynamic hit result buffer. Saves 30% of the cost of doing small raycasts. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561672 by Zak.Middleton on 2017/07/28 14:17:12. #ue4-athena - Perf: (EditMerge CL 3359553 from Dev-Framework): Optimization in CharacterMovement tick to not extract transform values twice. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561674 by Zak.Middleton on 2017/07/28 14:18:04. #ue4-athena - Perf: (EditMerge CL 3426174 from Dev-Framework): Avoid call to virtual getSimulationFilterData() to only use it when needed in PreFilter if we actually have items in the IgnoreComponents list (which is rare). The sim filter data 'word2' stores the component ID. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561709 by Zak.Middleton on 2017/07/28 14:32:11. #ue4-athena - Perf: (EditMerge CL 3382054 from Dev-Framework): Optimize CharacterMovementComponent::GetPredictionData_Client_Character() and GetPredictionData_Server_Character() to remove virtual calls. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561856 by Zak.Middleton on 2017/07/28 15:11:57. #ue4-athena - Use less bandwidth for CharacterMovement RPCs when the character is not standing on any component (ie during jumps and falling). Added separate "...NoBase()" versions of ServerMove() and ServerMoveDual(). Undid part of 3557564 and restored the CMC functions to be virtual, and removed virtual keyword from matching Character functions, so that overrides are in one consistent place. Also guarantees backwards compat for licensees. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3564858 by Zak.Middleton on 2017/07/31 15:24:39. #jira Fort-1 Change 3562825 by Chris.Gagnon Added CommonCustomNavigation Widget, this widget can be used to capture navigation requests to handle in custom ways. #jira FORT-0 Change 3562098 by Josh.Markiewicz #UE4 Encryption token/ack changes - moved encryption token request/ack to delegates - moved FNetworkNotify to NetworkDelegates.h - moved connection logic out of GameInstance and back into networking code -- GameInstance sends an enum and the network code does the right thing based on that #review-3559694 @ryan.gerleve #tests PC dedicated server connections golden path and forced failures #jira FORT-0 Change 3559354 by Luke.Thatcher [FORTNITE] [PS4] [^] Merging (as edit) support for setting flip rate on PS4 (CLs 3555687 and 3558843) from //Fortnite/Dev-Athena/... to //Fortnite/Main/... - Allowed rates are now 60Hz, 30Hz and 20Hz. - Exposed by r.PS4FlipRate CVar, set to 60Hz by default. Requires r.Vsync 1. #jira FORT-49463 Change 3532644 by Jeff.Campeau Fix mapping current culture to movie audio channels using data table to map languages to track indices. Don't rewind cinematics (they all start from the begining because we load them and play them once). Seeks cause us to have to redecode video frames at a large perf cost. Delay cutscene playback by 0.5 seconds to give us time to build up a buffer of decoded video. (Temporary workaround for audio/video sync). Generic implementation for getting current languages in BP. Fix more issues with calling into media source functionality when using the source reader (potential hangs). #jira FORT-44376,FORT-48209,FORT-48040 #testedon Preflight from last night combined with Bob's changes from today clear all known issues. This change tested on Xbox and PC multiple times each. Change 3527761 by Chris.Gagnon Fixed various issues in the widget switcher, also added Advanced calls that allow the user to specify if activation/deactivation should occur. #jira FORT-47988, FORT-47984 Change 3525390 by Jeff.Campeau Remove media player log spam #jira FORT-47393 #testedon compiled client Change 3518692 by Chris.Gagnon Added CleanOperation Adding which will remove unneeded op combinations from the op queue. Also added the ability to suspend starting operation queue processing to allow complex operations to accumulate and in turn allow the Clean Op adding code to be effective. GameFeedback, and the widget switcer utilize this to avoid unnesacary activations of a screen that is immediately being deactivated. Root issue of the mentioned bug is that activation of the quest screen created a latent navigation du to the deferal of scrolling into view. This is still an issue in general, there isn't much we can do about it. Other than avoid activating a panel that will deactivated that frame as we did with the code changes in this CL. #jira FORT-47395 Change 3514658 by Jeff.Campeau Fixed a media player threading issue where the OnMediaOpened event could be called before the media Init script completed. Moved the event Cinematic used when setting up and playing media after media file load to use a delayed event from the MovieWidget so that it will always happen after the movie widget processing. Fixed an issue that could cause samples to leak in MfMedia plugin and cause ReadSample to lockup. Fixed an issue where a default texture is displayed for movies before the movie starts playing (the player may be active before the first frame of the video is decoded). Default is now all black as it is expected that this texture will be displayed for several frames. #jira FORT-46801 #testedon Xbox through rocket launch cinematic including vintertip for stairs, skill tree nodes, and victory result video Change 3507896 by Ryan.Gerleve Changed the net.UseEncryptionToken to be more useful and renamed it to net.AllowEncryption. This cvar, if 0, will prevent the PacketHandler from adding the configured encryption component, and prevent UPendingNetGame and AOnlineBeaconClient from filling out the EncryptionToken parameter of NMT_Hello - which prevents the extra encryption handshake connection step. #jira FORT-46878 #review-3507897 @josh.markiewicz Change 3503928 by Ryan.Gerleve Add safety checks around some of the encryption functionality. Fixes a server crash seen during load testing. #jira FORT-46772 #review-3503929 bob.tellez #robomerge ReleaseNext [CL 3673993 by Bob Tellez in Main branch]
2017-09-30 03:42:01 -04:00
return Material && Material->MaterialDomain == MD_Volume;
}
virtual void GatherExpressionsForCustomInterpolators(TArray<UMaterialExpression*>& OutExpressions) const override
{
if(Material)
{
Material->GetAllExpressionsForCustomInterpolators(OutExpressions);
}
}
virtual bool CheckInValidStateForCompilation(class FMaterialCompiler* Compiler) const override
{
return Material && Material->CheckInValidStateForCompilation(Compiler);
}
private:
/** The material interface for this proxy */
UMaterialInterface* MaterialInterface;
UMaterial* Material;
TArray<TObjectPtr<UObject>> ReferencedTextures;
/** The property to compile for rendering the sample */
EMaterialProperty PropertyToCompile;
FGuid Id;
};
/**
* Render the scene to the provided canvas. Will potentially perform the render multiple times, depending on the value of
* the CVarMaterialUtilitiesWarmupFrames CVar. This is needed to ensure various rendering systems are primed properly before capturing
* the scene.
*/
static void PerformSceneRender(FCanvas& Canvas, FSceneViewFamily& ViewFamily, bool bWithWarmup)
{
if (bWithWarmup)
{
for (int32 i = 0; i < CVarMaterialUtilitiesWarmupFrames.GetValueOnGameThread(); i++)
{
GetRendererModule().BeginRenderingViewFamily(&Canvas, &ViewFamily);
}
}
GetRendererModule().BeginRenderingViewFamily(&Canvas, &ViewFamily);
}
static void RenderSceneToTexture(
FSceneInterface* Scene,
const FName& VisualizationMode,
const FVector& ViewOrigin,
const FMatrix& ViewRotationMatrix,
const FMatrix& ProjectionMatrix,
const TSet<FPrimitiveComponentId>& ShowOnlyPrimitives,
const TSet<FPrimitiveComponentId>& HiddenPrimitives,
FIntPoint TargetSize,
float TargetGamma,
bool bPerformWarmpup,
TArray<FColor>& OutSamples)
{
auto RenderTargetTexture = NewObject<UTextureRenderTarget2D>();
check(RenderTargetTexture);
RenderTargetTexture->AddToRoot();
RenderTargetTexture->ClearColor = FLinearColor::Transparent;
RenderTargetTexture->TargetGamma = TargetGamma;
RenderTargetTexture->InitCustomFormat(TargetSize.X, TargetSize.Y, PF_FloatRGBA, false);
FTextureRenderTargetResource* RenderTargetResource = RenderTargetTexture->GameThread_GetRenderTargetResource();
FSceneViewFamilyContext ViewFamily(
FSceneViewFamily::ConstructionValues(RenderTargetResource, Scene, FEngineShowFlags(ESFIM_Game))
.SetTime(FGameTime::GetTimeSinceAppStart())
);
// To enable visualization mode
ViewFamily.EngineShowFlags.SetPostProcessing(true);
ViewFamily.EngineShowFlags.SetVisualizeBuffer(true);
ViewFamily.EngineShowFlags.SetTonemapper(false);
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
ViewFamily.EngineShowFlags.SetScreenPercentage(false);
FSceneViewInitOptions ViewInitOptions;
ViewInitOptions.SetViewRectangle(FIntRect(0, 0, TargetSize.X, TargetSize.Y));
ViewInitOptions.ViewFamily = &ViewFamily;
ViewInitOptions.ViewOrigin = ViewOrigin;
ViewInitOptions.ViewRotationMatrix = ViewRotationMatrix;
ViewInitOptions.ProjectionMatrix = ProjectionMatrix;
// If no "show only" primitives are provided, we must pass an unset TOptional - otherwise an empty set will mean no primitive should be visible.
ViewInitOptions.ShowOnlyPrimitives = !ShowOnlyPrimitives.IsEmpty() ? TOptional<TSet<FPrimitiveComponentId>>(ShowOnlyPrimitives) : TOptional<TSet<FPrimitiveComponentId>>();
ViewInitOptions.HiddenPrimitives = HiddenPrimitives;
FSceneView* NewView = new FSceneView(ViewInitOptions);
NewView->CurrentBufferVisualizationMode = VisualizationMode;
ViewFamily.Views.Add(NewView);
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
ViewFamily.SetScreenPercentageInterface(new FLegacyScreenPercentageDriver(
ViewFamily, /* GlobalResolutionFraction = */ 1.0f));
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
FCanvas Canvas(RenderTargetResource, NULL, FGameTime::GetTimeSinceAppStart(), Scene->GetFeatureLevel());
Canvas.Clear(FLinearColor::Transparent);
ViewFamily.ViewExtensions = GEngine->ViewExtensions->GatherActiveExtensions(FSceneViewExtensionContext(Scene));
for (const FSceneViewExtensionRef& Extension : ViewFamily.ViewExtensions)
{
Extension->SetupViewFamily(ViewFamily);
Extension->SetupView(ViewFamily, *NewView);
}
PerformSceneRender(Canvas, ViewFamily, bPerformWarmpup);
// Copy the contents of the remote texture to system memory
OutSamples.SetNumUninitialized(TargetSize.X*TargetSize.Y);
FReadSurfaceDataFlags ReadSurfaceDataFlags;
ReadSurfaceDataFlags.SetLinearToGamma(false);
RenderTargetResource->ReadPixelsPtr(OutSamples.GetData(), ReadSurfaceDataFlags, FIntRect(0, 0, TargetSize.X, TargetSize.Y));
RenderTargetTexture->RemoveFromRoot();
RenderTargetTexture = nullptr;
}
static void RenderSceneToTextures(
FSceneInterface* Scene,
const FVector& ViewOrigin,
const FMatrix& ViewRotationMatrix,
const FMatrix& ProjectionMatrix,
const TSet<FPrimitiveComponentId>& ShowOnlyPrimitives,
const TSet<FPrimitiveComponentId>& HiddenPrimitives,
FFlattenMaterial& OutFlattenMaterial)
{
TMap<EFlattenMaterialProperties, TPair<FName, float>> SupportedProperties; // Property -> VisualisationMode|Gamma
SupportedProperties.Add(EFlattenMaterialProperties::Diffuse) = TPair<FName, float>(FName("BaseColor"), true); // BaseColor to gamma space
SupportedProperties.Add(EFlattenMaterialProperties::Normal) = TPair<FName, float>(FName("WorldNormal"), false); // Dump normal texture in linear space
SupportedProperties.Add(EFlattenMaterialProperties::Metallic) = TPair<FName, float>(FName("Metallic"), false); // Dump metallic texture in linear space
SupportedProperties.Add(EFlattenMaterialProperties::Roughness) = TPair<FName, float>(FName("Roughness"), true); // Roughness material powers color by 2.2, transform it back to linear
SupportedProperties.Add(EFlattenMaterialProperties::Specular) = TPair<FName, float>(FName("Specular"), false); // Dump specular texture in linear space
bool bPerformWarmpup = true;
for (int32 PropertyIndex = 0; PropertyIndex < (int32)EFlattenMaterialProperties::NumFlattenMaterialProperties; ++PropertyIndex)
{
const EFlattenMaterialProperties Property = (EFlattenMaterialProperties)PropertyIndex;
if (OutFlattenMaterial.ShouldGenerateDataForProperty(Property))
{
TPair<FName, float>* PropertyInfo = SupportedProperties.Find(Property);
if (PropertyInfo)
{
TArray<FColor>& Samples = OutFlattenMaterial.GetPropertySamples(Property);
const FIntPoint& Size = OutFlattenMaterial.GetPropertySize(Property);
const FName VisModeName = PropertyInfo->Key;
const float Gamma = PropertyInfo->Value ? 2.2f : 1.0f;
RenderSceneToTexture(Scene, VisModeName, ViewOrigin, ViewRotationMatrix, ProjectionMatrix, ShowOnlyPrimitives, HiddenPrimitives, Size, Gamma, bPerformWarmpup, Samples);
bPerformWarmpup = false; // Perform warmup only on first render
}
else
{
UE_LOG(LogMaterialUtilities, Error, TEXT("RenderSceneToTextures - Ignoring unsupported property"));
}
}
}
}
FIntPoint FMaterialUtilities::FindMaxTextureSize(UMaterialInterface* InMaterialInterface, FIntPoint MinimumSize)
{
// static lod settings so that we only initialize them once
UTextureLODSettings* GameTextureLODSettings = UDeviceProfileManager::Get().GetActiveProfile()->GetTextureLODSettings();
TArray<UTexture*> MaterialTextures;
InMaterialInterface->GetUsedTextures(MaterialTextures, EMaterialQualityLevel::Num, false, GMaxRHIFeatureLevel, false);
FTextureCompilingManager::Get().FinishCompilation(MaterialTextures);
// find the largest texture in the list (applying it's LOD bias)
FIntPoint MaxSize = MinimumSize;
for (int32 TexIndex = 0; TexIndex < MaterialTextures.Num(); TexIndex++)
{
UTexture* Texture = MaterialTextures[TexIndex];
if (Texture == NULL)
{
continue;
}
// get the max size of the texture
FIntPoint LocalSize(0, 0);
if (Texture->IsA(UTexture2D::StaticClass()))
{
UTexture2D* Tex2D = (UTexture2D*)Texture;
LocalSize = FIntPoint(Tex2D->GetSizeX(), Tex2D->GetSizeY());
}
else if (Texture->IsA(UTextureCube::StaticClass()))
{
UTextureCube* TexCube = (UTextureCube*)Texture;
LocalSize = FIntPoint(TexCube->GetSizeX(), TexCube->GetSizeY());
}
else if (Texture->IsA(UTexture2DArray::StaticClass()))
{
UTexture2DArray* TexArray = (UTexture2DArray*)Texture;
LocalSize = FIntPoint(TexArray->GetSizeX(), TexArray->GetSizeY());
}
int32 LocalBias = GameTextureLODSettings->CalculateLODBias(Texture);
// bias the texture size based on LOD group
FIntPoint BiasedLocalSize(LocalSize.X >> LocalBias, LocalSize.Y >> LocalBias);
MaxSize.X = FMath::Max(BiasedLocalSize.X, MaxSize.X);
MaxSize.Y = FMath::Max(BiasedLocalSize.Y, MaxSize.Y);
}
return MaxSize;
}
bool FMaterialUtilities::SupportsExport(bool bIsOpaque, EMaterialProperty InMaterialProperty)
{
return FExportMaterialProxy::WillFillData(bIsOpaque, InMaterialProperty);
}
bool FMaterialUtilities::SupportsExport(EBlendMode InBlendMode, EMaterialProperty InMaterialProperty)
{
return FExportMaterialProxy::WillFillData(IsOpaqueBlendMode(InBlendMode), InMaterialProperty);
}
static bool ExportLandscapeMaterial(const ALandscapeProxy* InLandscape, const TSet<FPrimitiveComponentId>& ShowOnlyPrimitives, const TSet<FPrimitiveComponentId>& HiddenPrimitives, FFlattenMaterial& OutFlattenMaterial)
{
check(InLandscape);
FIntRect LandscapeRect = InLandscape->GetBoundingRect();
FVector MidPoint = FVector(LandscapeRect.Min, 0.f) + FVector(LandscapeRect.Size(), 0.f)*0.5f;
FVector LandscapeCenter = InLandscape->GetTransform().TransformPosition(MidPoint);
FVector LandscapeExtent = FVector(LandscapeRect.Size(), 0.f)*InLandscape->GetActorScale()*0.5f;
FVector ViewOrigin = LandscapeCenter;
FMatrix ViewRotationMatrix = FInverseRotationMatrix(InLandscape->GetActorRotation());
ViewRotationMatrix*= FMatrix(FPlane(1, 0, 0, 0),
FPlane(0, -1, 0, 0),
FPlane(0, 0, -1, 0),
FPlane(0, 0, 0, 1));
const FMatrix::FReal ZOffset = UE_OLD_WORLD_MAX;
FMatrix ProjectionMatrix = FReversedZOrthoMatrix(
LandscapeExtent.X,
LandscapeExtent.Y,
0.5f / ZOffset,
ZOffset);
FSceneInterface* Scene = InLandscape->GetWorld()->Scene;
RenderSceneToTextures(Scene, ViewOrigin, ViewRotationMatrix, ProjectionMatrix, ShowOnlyPrimitives, HiddenPrimitives, OutFlattenMaterial);
OutFlattenMaterial.MaterialId = InLandscape->GetLandscapeGuid();
return true;
}
bool FMaterialUtilities::ExportLandscapeMaterial(const ALandscapeProxy* InLandscape, FFlattenMaterial& OutFlattenMaterial)
{
bool bExportSuccess = false;
if (InLandscape)
{
TSet<FPrimitiveComponentId> ShowOnlyPrimitives;
// Include all landscape components scene proxies
for (ULandscapeComponent* LandscapeComponent : InLandscape->LandscapeComponents)
{
if (LandscapeComponent && LandscapeComponent->SceneProxy)
{
ShowOnlyPrimitives.Add(LandscapeComponent->SceneProxy->GetPrimitiveComponentId());
}
}
// Include Nanite landscape scene proxy - these are the ones that are actually visible when rendering LS with Nanite support
if (InLandscape->HasNaniteComponents())
{
ShowOnlyPrimitives.Append(InLandscape->GetNanitePrimitiveComponentIds());
}
bExportSuccess = ::ExportLandscapeMaterial(InLandscape, ShowOnlyPrimitives, {}, OutFlattenMaterial);
}
if (!bExportSuccess)
{
UE_LOG(LogMaterialUtilities, Warning, TEXT("ExportLandscapeMaterial: Failed to export material for the provided ALandcapeProxy (%s)"), InLandscape ? *InLandscape->GetName() : TEXT("<null>"));
}
return bExportSuccess;
}
bool FMaterialUtilities::ExportLandscapeMaterial(const ALandscapeProxy* InLandscape, const TSet<FPrimitiveComponentId>& HiddenPrimitives, FFlattenMaterial& OutFlattenMaterial)
{
return ::ExportLandscapeMaterial(InLandscape, {}, HiddenPrimitives, OutFlattenMaterial);
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
UMaterial* FMaterialUtilities::CreateMaterial(const FFlattenMaterial& InFlattenMaterial, UPackage* InOuter, const FString& BaseName, EObjectFlags Flags, const struct FMaterialProxySettings& MaterialProxySettings, TArray<UObject*>& OutGeneratedAssets, const TextureGroup& InTextureGroup /*= TEXTUREGROUP_World*/)
{
// Base name for a new assets
// In case outer is null BaseName has to be long package name
if (InOuter == nullptr && FPackageName::IsShortPackageName(BaseName))
{
UE_LOG(LogMaterialUtilities, Warning, TEXT("Invalid long package name: '%s'."), *BaseName);
return nullptr;
}
const FString AssetBaseName = FPackageName::GetShortName(BaseName);
const FString AssetBasePath = InOuter ? TEXT("") : FPackageName::GetLongPackagePath(BaseName);
// Create material
const FString MaterialAssetName = TEXT("M_") + AssetBaseName;
UPackage* MaterialOuter = InOuter;
if (MaterialOuter == NULL)
{
MaterialOuter = CreatePackage( *(AssetBasePath / MaterialAssetName));
MaterialOuter->FullyLoad();
MaterialOuter->Modify();
}
UMaterial* Material = NewObject<UMaterial>(MaterialOuter, FName(*MaterialAssetName), Flags);
Material->TwoSided = false;
Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2771498 on 2015/11/18 by Rolando.Caloca DevRendering - HlslParser - Do not crash if an unknown preprocessor directive is found; add proper support for #pragma #codereview Marcus.Wassmer Change 2771600 on 2015/11/18 by Rolando.Caloca DevRendering - SCW - Added support for running the platform shader compiler for one usf file off the dumped usf Usage: ShaderCompileWorker -directcompile FILENAME.USF -entry=EntryPoint -format=PCD3D_SM5/SF_PS4/etc -vs/-ps/-gs/-hs/-ds/-cs -Also removed old communication enum from SCW #rb Daniel.Wright Change 2771647 on 2015/11/18 by Rolando.Caloca DevRendering - HlslParser - Refactored removed unused outputs code in prep for reusing a lot of this code - Entry point string now gets modified to the optimized one - Fixed parser allocator when requesting pages bigger than PageSize #rb Chris.Bunner Change 2772133 on 2015/11/18 by Chris.Bunner Removed physics shape type zeroing on Speedtree import. UE-23285 #rb Ori.Cohen Change 2772225 on 2015/11/18 by Rolando.Caloca DevRendering - Hlsl - Support for removing unused inputs on pixel shaders - Fix some shadow variable warnings #rb Chris.Bunner, Nick.Penwarden Change 2772469 on 2015/11/18 by Daniel.Wright Fixed SCW always exiting after compiling a long shader, now checks idle time starting from the end of the last compile task Automated smoke tests aren't run in standalone programs which are frequently launched as they increase the startup time (doubles startup time of SCW as shown in sampling profile) #rb Rolando.Caloca Change 2772471 on 2015/11/18 by Daniel.Wright Particle SubUV cutouts * A new asset type 'SubUV Animation' precomputes bounding geometry for every frame of a SubUV texture animation. * Particle emitters with a SubUV module can then use this SubUV Animation to render with much tigher bounding geometry to reduce overdraw. * GPU performance savings depend on how much empty space (zero alpha) existed in the texture. Measured a reduction of 2-3x GPU time on a smoke effect. * This only works if the material does not modify opacity to reveal areas with zero texture alpha Change 2772483 on 2015/11/18 by Marcus.Wassmer Filtering options on UnrealPak -list #rb Josh.Adams Change 2772644 on 2015/11/18 by Daniel.Wright Integrate - Temporal AA dithering is only enabled if outputting to a low precision format #rb Nick.Penwarden Change 2773336 on 2015/11/19 by Rolando.Caloca DevRendering - PS4 shaders - Added input/output attribute information when r.PS4StripExtraShaderBinaryData=0 #rb Marcus.Wassmer Change 2773476 on 2015/11/19 by Rolando.Caloca DevRendering - PS4 Shader attribute export stats Run using r.PS4DumpExportStats 1 in the console - Also fixed non-vertex shaders not getting optional data #codereview Marcus.Wassmer Change 2773865 on 2015/11/19 by Gil.Gribb UE4 - Added an FName churn tracker. Change 2773900 on 2015/11/19 by Rolando.Caloca DevRendering - Fix sharing shaders for material & mesh shaders #rb Marcus.Wassmer Change 2774277 on 2015/11/19 by Gil.Gribb UE4 - Did minor optimizations to the PS4 RHI and drawlists. Change 2774421 on 2015/11/19 by Olaf.Piesche Fix #2 for UE-23325 - separate translucency materials don't show in static mesh editor #codereview Martin.Mittring Change 2774447 on 2015/11/19 by Rolando.Caloca DevRendering - Velocity and Depth shader pipelines #rb Marcus.Wassmer Change 2774603 on 2015/11/19 by Marcus.Wassmer Windowed vsync for ps4 #rb Rolando.Caloca Change 2775650 on 2015/11/20 by Rolando.Caloca DevRendering - Added two utility overloads per UDN suggestion #codereview Gil.Gribb Change 2775798 on 2015/11/20 by David.Hill Adding a new AutoExposure method #rb Martin.Mittring Change 2776345 on 2015/11/20 by Daniel.Wright Capsule shadows for movable skylight * Gathers capsule occlusion along the unoccluded sky cone computed by Distance Field Ambient Occlusion * Requires DFAO to be enabled at the moment * Some serious artifacts remaining in indoor scenarios, as the unoccluded sky direction is not continuous Change 2777033 on 2015/11/22 by Uriel.Doyon Enabled SceneTextures node validation when material domain is DeferredDecal #review Martin.Mittring #jira UE-23141 Change 2778618 on 2015/11/23 by Daniel.Wright
2015-12-10 21:55:37 -05:00
Material->DitheredLODTransition = InFlattenMaterial.bDitheredLODTransition;
Material->SetShadingModel(MSM_DefaultLit);
OutGeneratedAssets.Add(Material);
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
UMaterialEditorOnlyData* MaterialEditorOnly = Material->GetEditorOnlyData();
int32 MaterialNodeY = -150;
int32 MaterialNodeStepY = 180;
// BaseColor
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
const TArray<FColor>& DiffuseSamples = InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Diffuse);
if (DiffuseSamples.Num() > 1)
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_D");
const FString AssetLongName = AssetBasePath / AssetName;
const bool bSRGB = true;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
UTexture2D* Texture = CreateTexture(InOuter, AssetLongName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Diffuse), DiffuseSamples, TC_Default, InTextureGroup, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
auto BasecolorExpression = NewObject<UMaterialExpressionTextureSample>(Material);
BasecolorExpression->Texture = Texture;
BasecolorExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
BasecolorExpression->MaterialExpressionEditorX = -400;
BasecolorExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(BasecolorExpression);
MaterialEditorOnly->BaseColor.Expression = BasecolorExpression;
MaterialNodeY += MaterialNodeStepY;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
else if (DiffuseSamples.Num() == 1)
{
// Set Roughness to constant
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FLinearColor BaseColor = FLinearColor(DiffuseSamples[0]);
auto BaseColorExpression = NewObject<UMaterialExpressionConstant4Vector>(Material);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
BaseColorExpression->Constant = BaseColor;
BaseColorExpression->MaterialExpressionEditorX = -400;
BaseColorExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(BaseColorExpression);
MaterialEditorOnly->BaseColor.Expression = BaseColorExpression;
MaterialNodeY += MaterialNodeStepY;
}
// Whether or not a material property is baked down
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
const bool bHasMetallic = InFlattenMaterial.DoesPropertyContainData(EFlattenMaterialProperties::Metallic) && !InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Metallic);
const bool bHasSpecular = InFlattenMaterial.DoesPropertyContainData(EFlattenMaterialProperties::Specular) && !InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Specular);
const bool bHasRoughness = InFlattenMaterial.DoesPropertyContainData(EFlattenMaterialProperties::Roughness) && !InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Roughness);
// Number of material properties baked down to textures
const int BakedMaterialPropertyCount = bHasMetallic + bHasRoughness + bHasSpecular;
// Check for same texture sizes
bool bSameTextureSize = true;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
int32 SampleCount = 0;
FIntPoint MergedSize(0,0);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
for (int32 PropertyIndex = 0; PropertyIndex < 3; ++PropertyIndex)
{
EFlattenMaterialProperties Property = (EFlattenMaterialProperties)(PropertyIndex + (int32)EFlattenMaterialProperties::Metallic);
const bool HasProperty = InFlattenMaterial.DoesPropertyContainData(Property) && !InFlattenMaterial.IsPropertyConstant(Property);
FIntPoint PropertySize = InFlattenMaterial.GetPropertySize(Property);
SampleCount = (bHasMetallic && SampleCount == 0) ? InFlattenMaterial.GetPropertySamples(Property).Num() : SampleCount;
MergedSize = (bHasMetallic && MergedSize.X == 0) ? PropertySize : MergedSize;
}
bSameTextureSize &= bHasMetallic ? (SampleCount == InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic).Num()) : true;
bSameTextureSize &= bHasSpecular ? (SampleCount == InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular).Num()) : true;
bSameTextureSize &= bHasRoughness ? (SampleCount == InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness).Num()) : true;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
// Merge values into one texture if more than one material property exists
if (BakedMaterialPropertyCount > 1 && bSameTextureSize)
{
// Metallic = R, Specular = G, Roughness = B
TArray<FColor> MergedSamples;
MergedSamples.AddZeroed(SampleCount);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
// R G B masks
const uint32 ColorMask[3] = { 0x00FF0000, 0x0000FF00, 0x000000FF };
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
for (int32 PropertyIndex = 0; PropertyIndex < 3; ++PropertyIndex)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
EFlattenMaterialProperties Property = (EFlattenMaterialProperties)(PropertyIndex + (int32)EFlattenMaterialProperties::Metallic);
const bool HasProperty = InFlattenMaterial.DoesPropertyContainData(Property) && !InFlattenMaterial.IsPropertyConstant(Property);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (HasProperty)
{
const TArray<FColor>& PropertySamples = InFlattenMaterial.GetPropertySamples(Property);
// OR masked values (samples initialized to zero, so no random data)
for (int32 SampleIndex = 0; SampleIndex < SampleCount; ++SampleIndex)
{
MergedSamples[SampleIndex].DWColor() |= (PropertySamples[SampleIndex].DWColor() & ColorMask[PropertyIndex]);
}
}
}
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_MSR");
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
const bool bSRGB = true;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, MergedSize, MergedSamples, TC_Default, InTextureGroup, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
auto MergedExpression = NewObject<UMaterialExpressionTextureSample>(Material);
MergedExpression->Texture = Texture;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
MergedExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
MergedExpression->MaterialExpressionEditorX = -400;
MergedExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(MergedExpression);
// Metallic
if (bHasMetallic)
{
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
MaterialEditorOnly->Metallic.Expression = MergedExpression;
MaterialEditorOnly->Metallic.Mask = MaterialEditorOnly->Metallic.Expression->GetOutputs()[0].Mask;
MaterialEditorOnly->Metallic.MaskR = 1;
MaterialEditorOnly->Metallic.MaskG = 0;
MaterialEditorOnly->Metallic.MaskB = 0;
MaterialEditorOnly->Metallic.MaskA = 0;
}
// Specular
if (bHasSpecular)
{
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
MaterialEditorOnly->Specular.Expression = MergedExpression;
MaterialEditorOnly->Specular.Mask = MaterialEditorOnly->Specular.Expression->GetOutputs()[0].Mask;
MaterialEditorOnly->Specular.MaskR = 0;
MaterialEditorOnly->Specular.MaskG = 1;
MaterialEditorOnly->Specular.MaskB = 0;
MaterialEditorOnly->Specular.MaskA = 0;
}
// Roughness
if (bHasRoughness)
{
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
MaterialEditorOnly->Roughness.Expression = MergedExpression;
MaterialEditorOnly->Roughness.Mask = MaterialEditorOnly->Roughness.Expression->GetOutputs()[0].Mask;
MaterialEditorOnly->Roughness.MaskR = 0;
MaterialEditorOnly->Roughness.MaskG = 0;
MaterialEditorOnly->Roughness.MaskB = 1;
MaterialEditorOnly->Roughness.MaskA = 0;
}
MaterialNodeY += MaterialNodeStepY;
}
else
{
// Metallic
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (bHasMetallic && MaterialProxySettings.bMetallicMap)
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_M");
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
const bool bSRGB = true;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Metallic), InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic), TC_Default, InTextureGroup, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
auto MetallicExpression = NewObject<UMaterialExpressionTextureSample>(Material);
MetallicExpression->Texture = Texture;
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @2826496) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2826201 on 2016/01/13 by Zabir.Hoque Add more verbose logging to try to understand #OR-11297 #lockdown Andrew.Grant #CodeReview Marcus.Wassmer #RB none #TESTS compiled Win64 debug editor, ran agora_p Change 2826170 on 2016/01/13 by Marcus.Wassmer Flush unloaded resource properly in LoadMap #codereview Gil.Gribb #rb none #test cycling game. memory is freed properly now. #lockdown Andrew.Grant Change 2826135 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826128 using //Orion/Main_to_//Orion/Dev-General Change 2826131 on 2016/01/12 by Michael.Noland #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Merging CL# 2825678 using //Orion/Main_to_//Orion/Dev-General Change 2826128 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826116 using //Orion/Release-Next->//Orion/Main Change 2826116 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... #lockdown andrew.grant #codereview josh.markiewicz Change 2825772 on 2016/01/12 by Dmitry.Rekman Linux signal handling improvements. - Switch crash handlers to use "crash malloc" (preallocated memory) on crash. - Remove unnecessary memory allocations from graceful termination handler. #rb none #tests Run the Linux server and crashed it a few times. #codereview David.Vossel, Michael.Trepka Change 2825768 on 2016/01/12 by Josh.Markiewicz #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Change 2825703 on 2016/01/12 by Brian.Karis Switched on new motion blur. Set temporal AA sharpness to 1. #rb none #TESTS editor Change 2825689 on 2016/01/12 by Lina.Halper Fix for get animation notify crash https://jira.ol.epicgames.net/browse/OR-12248 https://jira.ol.epicgames.net/browse/OR-12348 - Also fixed the crash in preview of persona due to blend sample cache contains previous animation data - Also fixed blend space player to reinitialize cache data - The main issue is marker doesn't clamp the length, causing notifies ensure to trigger. #rb : Laurent.Delayen #tests: 10 Sparrows bot match for long time #code review: Martin.Wilson #lockdown: Andrew.Grant Change 2825680 on 2016/01/12 by Martin.Mittring fixed all cases with r.Tonemapper.ScreenPercentage, ScreenPercentage, Fringe, Vignette, ViewRect, flickering with transluceny (View members have been modified while other thread was reading) #rb:Olaf.Piesche, David.Hill #test: PC, many cases Change 2825579 on 2016/01/12 by Chris.Bunner Force shadow shape bone indices on the required update list. #rb Lina.Halper, Rolando.Caloca #tests Editor #codereview Daniel.Wright #jira OR-12339 Change 2825443 on 2016/01/12 by Martin.Mittring
2016-01-14 08:11:47 -05:00
MetallicExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
MetallicExpression->MaterialExpressionEditorX = -400;
MetallicExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(MetallicExpression);
MaterialEditorOnly->Metallic.Expression = MetallicExpression;
MaterialNodeY += MaterialNodeStepY;
}
// Specular
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (bHasSpecular && MaterialProxySettings.bSpecularMap)
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_S");
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
const bool bSRGB = true;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Specular), InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular), TC_Default, InTextureGroup, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
auto SpecularExpression = NewObject<UMaterialExpressionTextureSample>(Material);
SpecularExpression->Texture = Texture;
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @2826496) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2826201 on 2016/01/13 by Zabir.Hoque Add more verbose logging to try to understand #OR-11297 #lockdown Andrew.Grant #CodeReview Marcus.Wassmer #RB none #TESTS compiled Win64 debug editor, ran agora_p Change 2826170 on 2016/01/13 by Marcus.Wassmer Flush unloaded resource properly in LoadMap #codereview Gil.Gribb #rb none #test cycling game. memory is freed properly now. #lockdown Andrew.Grant Change 2826135 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826128 using //Orion/Main_to_//Orion/Dev-General Change 2826131 on 2016/01/12 by Michael.Noland #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Merging CL# 2825678 using //Orion/Main_to_//Orion/Dev-General Change 2826128 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826116 using //Orion/Release-Next->//Orion/Main Change 2826116 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... #lockdown andrew.grant #codereview josh.markiewicz Change 2825772 on 2016/01/12 by Dmitry.Rekman Linux signal handling improvements. - Switch crash handlers to use "crash malloc" (preallocated memory) on crash. - Remove unnecessary memory allocations from graceful termination handler. #rb none #tests Run the Linux server and crashed it a few times. #codereview David.Vossel, Michael.Trepka Change 2825768 on 2016/01/12 by Josh.Markiewicz #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Change 2825703 on 2016/01/12 by Brian.Karis Switched on new motion blur. Set temporal AA sharpness to 1. #rb none #TESTS editor Change 2825689 on 2016/01/12 by Lina.Halper Fix for get animation notify crash https://jira.ol.epicgames.net/browse/OR-12248 https://jira.ol.epicgames.net/browse/OR-12348 - Also fixed the crash in preview of persona due to blend sample cache contains previous animation data - Also fixed blend space player to reinitialize cache data - The main issue is marker doesn't clamp the length, causing notifies ensure to trigger. #rb : Laurent.Delayen #tests: 10 Sparrows bot match for long time #code review: Martin.Wilson #lockdown: Andrew.Grant Change 2825680 on 2016/01/12 by Martin.Mittring fixed all cases with r.Tonemapper.ScreenPercentage, ScreenPercentage, Fringe, Vignette, ViewRect, flickering with transluceny (View members have been modified while other thread was reading) #rb:Olaf.Piesche, David.Hill #test: PC, many cases Change 2825579 on 2016/01/12 by Chris.Bunner Force shadow shape bone indices on the required update list. #rb Lina.Halper, Rolando.Caloca #tests Editor #codereview Daniel.Wright #jira OR-12339 Change 2825443 on 2016/01/12 by Martin.Mittring
2016-01-14 08:11:47 -05:00
SpecularExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
SpecularExpression->MaterialExpressionEditorX = -400;
SpecularExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(SpecularExpression);
MaterialEditorOnly->Specular.Expression = SpecularExpression;
MaterialNodeY += MaterialNodeStepY;
}
// Roughness
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (bHasRoughness && MaterialProxySettings.bRoughnessMap)
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_R");
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
const bool bSRGB = true;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Roughness), InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness), TC_Default, InTextureGroup, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
auto RoughnessExpression = NewObject<UMaterialExpressionTextureSample>(Material);
RoughnessExpression->Texture = Texture;
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @2826496) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2826201 on 2016/01/13 by Zabir.Hoque Add more verbose logging to try to understand #OR-11297 #lockdown Andrew.Grant #CodeReview Marcus.Wassmer #RB none #TESTS compiled Win64 debug editor, ran agora_p Change 2826170 on 2016/01/13 by Marcus.Wassmer Flush unloaded resource properly in LoadMap #codereview Gil.Gribb #rb none #test cycling game. memory is freed properly now. #lockdown Andrew.Grant Change 2826135 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826128 using //Orion/Main_to_//Orion/Dev-General Change 2826131 on 2016/01/12 by Michael.Noland #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Merging CL# 2825678 using //Orion/Main_to_//Orion/Dev-General Change 2826128 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826116 using //Orion/Release-Next->//Orion/Main Change 2826116 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... #lockdown andrew.grant #codereview josh.markiewicz Change 2825772 on 2016/01/12 by Dmitry.Rekman Linux signal handling improvements. - Switch crash handlers to use "crash malloc" (preallocated memory) on crash. - Remove unnecessary memory allocations from graceful termination handler. #rb none #tests Run the Linux server and crashed it a few times. #codereview David.Vossel, Michael.Trepka Change 2825768 on 2016/01/12 by Josh.Markiewicz #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Change 2825703 on 2016/01/12 by Brian.Karis Switched on new motion blur. Set temporal AA sharpness to 1. #rb none #TESTS editor Change 2825689 on 2016/01/12 by Lina.Halper Fix for get animation notify crash https://jira.ol.epicgames.net/browse/OR-12248 https://jira.ol.epicgames.net/browse/OR-12348 - Also fixed the crash in preview of persona due to blend sample cache contains previous animation data - Also fixed blend space player to reinitialize cache data - The main issue is marker doesn't clamp the length, causing notifies ensure to trigger. #rb : Laurent.Delayen #tests: 10 Sparrows bot match for long time #code review: Martin.Wilson #lockdown: Andrew.Grant Change 2825680 on 2016/01/12 by Martin.Mittring fixed all cases with r.Tonemapper.ScreenPercentage, ScreenPercentage, Fringe, Vignette, ViewRect, flickering with transluceny (View members have been modified while other thread was reading) #rb:Olaf.Piesche, David.Hill #test: PC, many cases Change 2825579 on 2016/01/12 by Chris.Bunner Force shadow shape bone indices on the required update list. #rb Lina.Halper, Rolando.Caloca #tests Editor #codereview Daniel.Wright #jira OR-12339 Change 2825443 on 2016/01/12 by Martin.Mittring
2016-01-14 08:11:47 -05:00
RoughnessExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
RoughnessExpression->MaterialExpressionEditorX = -400;
RoughnessExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(RoughnessExpression);
MaterialEditorOnly->Roughness.Expression = RoughnessExpression;
MaterialNodeY += MaterialNodeStepY;
}
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Metallic) || !MaterialProxySettings.bMetallicMap)
{
auto MetallicExpression = NewObject<UMaterialExpressionConstant>(Material);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
MetallicExpression->R = MaterialProxySettings.bMetallicMap ? FLinearColor(InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic)[0]).R : MaterialProxySettings.MetallicConstant;
MetallicExpression->MaterialExpressionEditorX = -400;
MetallicExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(MetallicExpression);
MaterialEditorOnly->Metallic.Expression = MetallicExpression;
MaterialNodeY += MaterialNodeStepY;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Specular ) || !MaterialProxySettings.bSpecularMap)
{
// Set Specular to constant
auto SpecularExpression = NewObject<UMaterialExpressionConstant>(Material);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
SpecularExpression->R = MaterialProxySettings.bSpecularMap ? FLinearColor(InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular)[0]).R : MaterialProxySettings.SpecularConstant;
SpecularExpression->MaterialExpressionEditorX = -400;
SpecularExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(SpecularExpression);
MaterialEditorOnly->Specular.Expression = SpecularExpression;
MaterialNodeY += MaterialNodeStepY;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Roughness) || !MaterialProxySettings.bRoughnessMap)
{
// Set Roughness to constant
auto RoughnessExpression = NewObject<UMaterialExpressionConstant>(Material);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
RoughnessExpression->R = MaterialProxySettings.bRoughnessMap ? FLinearColor(InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness)[0]).R : MaterialProxySettings.RoughnessConstant;
RoughnessExpression->MaterialExpressionEditorX = -400;
RoughnessExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(RoughnessExpression);
MaterialEditorOnly->Roughness.Expression = RoughnessExpression;
MaterialNodeY += MaterialNodeStepY;
}
// Normal
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.DoesPropertyContainData(EFlattenMaterialProperties::Normal) && !InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Normal))
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_N");
const bool bSRGB = false;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Normal), InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal), TC_Normalmap, (InTextureGroup != TEXTUREGROUP_World) ? InTextureGroup : TEXTUREGROUP_WorldNormalMap, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
auto NormalExpression = NewObject<UMaterialExpressionTextureSample>(Material);
NormalExpression->Texture = Texture;
NormalExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Normal;
NormalExpression->MaterialExpressionEditorX = -400;
NormalExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(NormalExpression);
MaterialEditorOnly->Normal.Expression = NormalExpression;
MaterialNodeY+= MaterialNodeStepY;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Emissive))
{
// Set Emissive to constant
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FColor EmissiveColor = InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive)[0];
// Don't have to deal with black emissive color
if (EmissiveColor != FColor(0, 0, 0, 255))
{
auto EmissiveColorExpression = NewObject<UMaterialExpressionConstant4Vector>(Material);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
EmissiveColorExpression->Constant = EmissiveColor.ReinterpretAsLinear() * InFlattenMaterial.EmissiveScale;
EmissiveColorExpression->MaterialExpressionEditorX = -400;
EmissiveColorExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(EmissiveColorExpression);
MaterialEditorOnly->EmissiveColor.Expression = EmissiveColorExpression;
MaterialNodeY += MaterialNodeStepY;
}
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
else if (InFlattenMaterial.DoesPropertyContainData(EFlattenMaterialProperties::Emissive) && !InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Emissive))
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_E");
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
const bool bSRGB = true;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Emissive), InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive), TC_Default, InTextureGroup, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
//Assign emissive color to the material
UMaterialExpressionTextureSample* EmissiveColorExpression = NewObject<UMaterialExpressionTextureSample>(Material);
EmissiveColorExpression->Texture = Texture;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
EmissiveColorExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
EmissiveColorExpression->MaterialExpressionEditorX = -400;
EmissiveColorExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(EmissiveColorExpression);
UMaterialExpressionMultiply* EmissiveColorScale = NewObject<UMaterialExpressionMultiply>(Material);
EmissiveColorScale->A.Expression = EmissiveColorExpression;
EmissiveColorScale->ConstB = InFlattenMaterial.EmissiveScale;
EmissiveColorScale->MaterialExpressionEditorX = -200;
EmissiveColorScale->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(EmissiveColorScale);
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
MaterialEditorOnly->EmissiveColor.Expression = EmissiveColorScale;
MaterialNodeY += MaterialNodeStepY;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::Opacity))
{
// Set Opacity to constant
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FLinearColor Opacity = FLinearColor(InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity)[0]);
auto OpacityExpression = NewObject<UMaterialExpressionConstant>(Material);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
OpacityExpression->R = Opacity.R;
OpacityExpression->MaterialExpressionEditorX = -400;
OpacityExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(OpacityExpression);
MaterialEditorOnly->Opacity.Expression = OpacityExpression;
MaterialNodeY += MaterialNodeStepY;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
else if (InFlattenMaterial.DoesPropertyContainData(EFlattenMaterialProperties::Opacity))
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_O");
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
const bool bSRGB = true;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Opacity), InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity), TC_Default, InTextureGroup, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
//Assign opacity to the material
UMaterialExpressionTextureSample* OpacityExpression = NewObject<UMaterialExpressionTextureSample>(Material);
OpacityExpression->Texture = Texture;
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @2826496) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2826201 on 2016/01/13 by Zabir.Hoque Add more verbose logging to try to understand #OR-11297 #lockdown Andrew.Grant #CodeReview Marcus.Wassmer #RB none #TESTS compiled Win64 debug editor, ran agora_p Change 2826170 on 2016/01/13 by Marcus.Wassmer Flush unloaded resource properly in LoadMap #codereview Gil.Gribb #rb none #test cycling game. memory is freed properly now. #lockdown Andrew.Grant Change 2826135 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826128 using //Orion/Main_to_//Orion/Dev-General Change 2826131 on 2016/01/12 by Michael.Noland #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Merging CL# 2825678 using //Orion/Main_to_//Orion/Dev-General Change 2826128 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826116 using //Orion/Release-Next->//Orion/Main Change 2826116 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... #lockdown andrew.grant #codereview josh.markiewicz Change 2825772 on 2016/01/12 by Dmitry.Rekman Linux signal handling improvements. - Switch crash handlers to use "crash malloc" (preallocated memory) on crash. - Remove unnecessary memory allocations from graceful termination handler. #rb none #tests Run the Linux server and crashed it a few times. #codereview David.Vossel, Michael.Trepka Change 2825768 on 2016/01/12 by Josh.Markiewicz #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Change 2825703 on 2016/01/12 by Brian.Karis Switched on new motion blur. Set temporal AA sharpness to 1. #rb none #TESTS editor Change 2825689 on 2016/01/12 by Lina.Halper Fix for get animation notify crash https://jira.ol.epicgames.net/browse/OR-12248 https://jira.ol.epicgames.net/browse/OR-12348 - Also fixed the crash in preview of persona due to blend sample cache contains previous animation data - Also fixed blend space player to reinitialize cache data - The main issue is marker doesn't clamp the length, causing notifies ensure to trigger. #rb : Laurent.Delayen #tests: 10 Sparrows bot match for long time #code review: Martin.Wilson #lockdown: Andrew.Grant Change 2825680 on 2016/01/12 by Martin.Mittring fixed all cases with r.Tonemapper.ScreenPercentage, ScreenPercentage, Fringe, Vignette, ViewRect, flickering with transluceny (View members have been modified while other thread was reading) #rb:Olaf.Piesche, David.Hill #test: PC, many cases Change 2825579 on 2016/01/12 by Chris.Bunner Force shadow shape bone indices on the required update list. #rb Lina.Halper, Rolando.Caloca #tests Editor #codereview Daniel.Wright #jira OR-12339 Change 2825443 on 2016/01/12 by Martin.Mittring
2016-01-14 08:11:47 -05:00
OpacityExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
OpacityExpression->MaterialExpressionEditorX = -400;
OpacityExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(OpacityExpression);
MaterialEditorOnly->Opacity.Expression = OpacityExpression;
MaterialNodeY += MaterialNodeStepY;
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
if (InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::OpacityMask))
{
// Set OpacityMask to constant
FLinearColor OpacityMask = FLinearColor(InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask)[0]);
auto OpacityMaskExpression = NewObject<UMaterialExpressionConstant>(Material);
OpacityMaskExpression->R = OpacityMask.R;
OpacityMaskExpression->MaterialExpressionEditorX = -400;
OpacityMaskExpression->MaterialExpressionEditorY = MaterialNodeY;
Material->GetExpressionCollection().AddExpression(OpacityMaskExpression);
MaterialEditorOnly->OpacityMask.Expression = OpacityMaskExpression;
MaterialNodeY += MaterialNodeStepY;
}
else if (InFlattenMaterial.DoesPropertyContainData(EFlattenMaterialProperties::OpacityMask))
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_OM");
const bool bSRGB = true;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::OpacityMask), InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask), TC_Default, InTextureGroup, Flags, bSRGB);
OutGeneratedAssets.Add(Texture);
//Assign opacity to the material
UMaterialExpressionTextureSample* OpacityMaskExpression = NewObject<UMaterialExpressionTextureSample>(Material);
OpacityMaskExpression->Texture = Texture;
OpacityMaskExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
OpacityMaskExpression->MaterialExpressionEditorX = -400;
OpacityMaskExpression->MaterialExpressionEditorY = MaterialNodeY;
Material->GetExpressionCollection().AddExpression(OpacityMaskExpression);
MaterialEditorOnly->OpacityMask.Expression = OpacityMaskExpression;
MaterialNodeY += MaterialNodeStepY;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.IsPropertyConstant(EFlattenMaterialProperties::SubSurface))
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
// Set Emissive to constant
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FColor SubSurfaceColor = InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::SubSurface)[0];
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
// Don't have to deal with black sub surface color
if (SubSurfaceColor != FColor(0, 0, 0, 255))
{
auto SubSurfaceColorExpression = NewObject<UMaterialExpressionConstant4Vector>(Material);
SubSurfaceColorExpression->Constant = (SubSurfaceColor.ReinterpretAsLinear());
SubSurfaceColorExpression->MaterialExpressionEditorX = -400;
SubSurfaceColorExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(SubSurfaceColorExpression);
MaterialEditorOnly->SubsurfaceColor.Expression = SubSurfaceColorExpression;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
MaterialNodeY += MaterialNodeStepY;
}
Material->SetShadingModel(MSM_Subsurface);
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
else if (InFlattenMaterial.DoesPropertyContainData(EFlattenMaterialProperties::SubSurface))
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
const FString AssetName = TEXT("T_") + AssetBaseName + TEXT("_SSC");
const bool bSRGB = true;
UTexture2D* Texture = CreateTexture(InOuter, AssetBasePath / AssetName, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::SubSurface), InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::SubSurface), TC_Default, InTextureGroup, Flags, bSRGB);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
OutGeneratedAssets.Add(Texture);
//Assign emissive color to the material
UMaterialExpressionTextureSample* SubSurfaceColorExpression = NewObject<UMaterialExpressionTextureSample>(Material);
SubSurfaceColorExpression->Texture = Texture;
SubSurfaceColorExpression->SamplerType = EMaterialSamplerType::SAMPLERTYPE_Color;
SubSurfaceColorExpression->MaterialExpressionEditorX = -400;
SubSurfaceColorExpression->MaterialExpressionEditorY = MaterialNodeY;
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
Material->GetExpressionCollection().AddExpression(SubSurfaceColorExpression);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
Restore backed out CL, with fixes. Also restores follow-up CLs 19973746, 19973782 FStaticParameterSet::MaterialLayers can't be deprecated, since a property with the same name is included via FStaticParameterSetRuntimeData So instead, FMaterialLayersFunctionsRuntimeData is updated with SerializeFromMismatchedTag, to allow serializing a full FMaterialLayersFunction. When this happens, the EditorOnly portion is stored in a separate heap allocation, and then transferred to FStaticParameterSet::EditorOnly::MaterialLayers #preflight 626c3405e31dbb512cef1e98 [Backout] - CL19973745 #fyi bob.tellez Original CL Desc ----------------------------------------------------------------- [Backout] - CL19964485 #fyi Ben.Ingram Original CL Desc ----------------------------------------------------------------- Add 'Optional' EditorOnly data for UMaterialInterface and UMaterialFunctionInterface These are separate UObject hierarchies that store editor-only UPROPERTIES, but can be included with cooked content, which allows full editor support. In principle, all editor-only properties could be moved over. So far, this has been limited to UMaterialExpressions, and data related to material parameters. FStaticParameterSet, FMaterialLayersParameters, and FMaterialCachedExpressionData have all been split into separate editor-only/non-editor-only classes, which allows the editor-only portion to be stored on the optional editor-only UObject. #preflight 626ab21dad56c0cbbea32dc4 #rb jason.nadro, francis.hurteau #jira FORT-463329 [CL 20043286 by Jason Nadro in ue5-main branch]
2022-05-04 12:21:52 -04:00
MaterialEditorOnly->SubsurfaceColor.Expression = SubSurfaceColorExpression;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
MaterialNodeY += MaterialNodeStepY;
Material->SetShadingModel(MSM_Subsurface);
}
Material->PostEditChange();
return Material;
}
UMaterialInstanceConstant* FMaterialUtilities::CreateInstancedMaterial(UMaterialInterface* BaseMaterial, UPackage* InOuter, const FString& BaseName, EObjectFlags Flags)
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
{
// Base name for a new assets
// In case outer is null BaseName has to be long package name
if (InOuter == nullptr && FPackageName::IsShortPackageName(BaseName))
{
UE_LOG(LogMaterialUtilities, Warning, TEXT("Invalid long package name: '%s'."), *BaseName);
return nullptr;
}
const FString AssetBaseName = FPackageName::GetShortName(BaseName);
const FString AssetBasePath = InOuter ? TEXT("") : FPackageName::GetLongPackagePath(BaseName);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
// Create material
const FString MaterialAssetName = TEXT("MI_") + AssetBaseName;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
UPackage* MaterialOuter = InOuter;
if (MaterialOuter == NULL)
{
MaterialOuter = CreatePackage( *(AssetBasePath / MaterialAssetName));
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
MaterialOuter->FullyLoad();
MaterialOuter->Modify();
}
// We need to check for this due to the change in material object type, this causes a clash of path/type with old assets that were generated, so we delete the old (resident) UMaterial objects
UObject* ExistingPackage = FindObject<UMaterial>(MaterialOuter, *MaterialAssetName);
if (ExistingPackage && !ExistingPackage->IsA<UMaterialInstanceConstant>())
{
#if WITH_AUTOMATION_TESTS
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3082391) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3051464 on 2016/07/15 by Nick.Darnell Regression Testing - Several upgrades to the functional testing system, better tracking of failure cases, some source line failure detection, trying to make it easier to run a specific test on a map. Some UI improvements, easier access to the automation system. Lots more refactoring to come, lots of improvements are still needed in transmitting screenshots and just generally building a automation report we could dump from the build machines. Change 3051465 on 2016/07/15 by Nick.Darnell Adding the "Engine Test" project our one stop shope for running automation tests in the engine to try and reduce regressions. Change 3051847 on 2016/07/15 by Matt.Kuhlenschmidt Fixed material editor viewport messages being blocked by viewport toolbar Change 3052025 on 2016/07/15 by Nick.Darnell Moving the placement mode hooks out of functional testing module, moving them into the editor automation module. Change 3053508 on 2016/07/18 by Stephan.Jiang Copy,Cut,Paste tracks, not for mastertracks yet. #UE-31808 Change 3054723 on 2016/07/18 by Stephan.Jiang Small fixes for typo & comments Change 3055996 on 2016/07/19 by Trung.Le PIE: No longer auto resume game in PIE on focus received Change 3056106 on 2016/07/19 by Trung.Le Back out changelist 3055996. Build break. Change 3056108 on 2016/07/19 by Stephan.Jiang Updating "SoundConcurrency" asseticon Change 3056389 on 2016/07/19 by Trung.Le PIE: No longer auto resume game in PIE on focus received #jira UE-33339 Change 3056396 on 2016/07/19 by Matt.Kuhlenschmidt More perf selection improvements: - Static meshes now go through the static draw path when rendered for selection outline instead of just rendering using the dynamic path Change 3056758 on 2016/07/19 by Stephan.Jiang Update SelectedWidgets in WidgetblueprintEditor to match the selected tracks in sequencer. Change 3057519 on 2016/07/20 by Matt.Kuhlenschmidt Another fix for selecting lots of objects taking forever. This one is due to repeated Modify calls if there are groups in the selection. Each group actor selected iterates through each object selected during USelection::Modify! Change 3057635 on 2016/07/20 by Stephan.Jiang Updating visual logger icon UI Change 3057645 on 2016/07/20 by Richard.TalbotWatkin Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions. #jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server Change 3057868 on 2016/07/20 by Richard.TalbotWatkin Spline component improvements, both tools and runtime: - SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value. - The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding. - Added a custom version for SplineComponent and provded serialization fixes. - Added a details customization to SplineComponent to hide the raw FInterpCurve properties. - Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer. - Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending. - Allowed an explicit loop point to be specified for closed splines. - Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal. - Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key. - Fixed the logic which determines whether the UCS has modified the spline curves. - Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS. - Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype. - Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled. #jira UETOOL-766 - Spline tool improvements #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point #jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level) #jira UE-13082 - Users would like a snapping feature for splines #jira UE-13568 - Additional Spline Component Functionality #jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport. Change 3057895 on 2016/07/20 by Richard.TalbotWatkin Mesh paint bugfixes and improvements. Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed. This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list. #jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab #jira UE-32279 - Editor crashes when reselecting a mesh in paint mode #jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75] #jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting Change 3057966 on 2016/07/20 by Richard.TalbotWatkin Renamed IsEditingArchetype to IsVisualizingArchetype in the ComponentVisualizer API. #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport Change 3058009 on 2016/07/20 by Richard.TalbotWatkin Fixed build failure due to changes to FComponentVisualizer API, as of CL 3057868. Change 3058047 on 2016/07/20 by Stephan.Jiang Fixing error on previous CL: 3056758 (extra qualification) Change 3058266 on 2016/07/20 by Nick.Darnell Automation - Work continues on automation integrating some ideas form a licensee. Continuing to work on the usability aspects, I've made it possible for tests to provide custom open commands, as well as have complex subclasses that do different things. The functional tests now have a custom open command they emit that makes it so clicking on a test opens not the C++ location where the functional test macro lives, but instead the map, AND focuses the functional test actor. Change 3058282 on 2016/07/20 by Matt.Kuhlenschmidt PR #2611: Fix spurious component diff when properties are in subcategories (Contributed by CA-ADuran) Change 3059214 on 2016/07/21 by Richard.TalbotWatkin Further fixes to visualizers following Component Visualizer API change. Change 3059260 on 2016/07/21 by Richard.TalbotWatkin Template specialization not allowed in class scope, but Visual Studio allows it anyway. Fixed for clang. Change 3059543 on 2016/07/21 by Stephan.Jiang Changeing level details icon Change 3059732 on 2016/07/21 by Stephan.Jiang Directional Light icon update Change 3060095 on 2016/07/21 by Stephan.Jiang Directional Light editor icon asset changed Change 3060129 on 2016/07/21 by Nick.Darnell Automation - The session browser now attempts to select the app instance if no other thing is selected when it refreshes. This is to try and make it easier to use when you first bring it up and nothing is selected when most of the time you're going to use it on your own instance. Change 3061735 on 2016/07/22 by Stephan.Jiang Improve UMG replace with in HierarchyView function #UE-33582 Change 3062059 on 2016/07/22 by Stephan.Jiang Strip off "b" in propertyname in replace with function for tracks. Change 3062146 on 2016/07/22 by Stephan.Jiang checkin with CL: 3061735 Change 3062182 on 2016/07/22 by Stephan.Jiang Change both animation bindings' widget name when renameing the widget so the slot content is still valid Change 3062257 on 2016/07/22 by Stephan.Jiang comments Change 3062381 on 2016/07/22 by Nick.Darnell Build - Adding #undef LOCTEXT_NAMESPACE to try and fix the build. Change 3062924 on 2016/07/25 by Chris.Wood Fix a crash in CrashReportClient that happens when the CrashReportReceiver is not responding to pings and there are no PendingReportDirectories. This is a change in the UE4 stream depot based on a fix in the Fortnite stream depot -> JIRA FORT-27570 Change 3063017 on 2016/07/25 by Matt.Kuhlenschmidt PR #2618: DebuggerCommand not recording PlayLocationString (Contributed by ungalyant) Change 3063021 on 2016/07/25 by Matt.Kuhlenschmidt PR #2619: added a search box to ModuleUI (Contributed by straymist) Change 3063084 on 2016/07/25 by Matt.Kuhlenschmidt Fix "YesToAll" when deleting referenced actors overriding the "YesToAll" state for other referenced messages. https://jira.ol.epicgames.net/browse/UE-33651 #jira UE-33651 Change 3063091 on 2016/07/25 by Alex.Delesky #jira UE-32949 - Truncating the hue inside the theme color block tooltip to only display whole numbers, to match how the color picker displays the hue value inside the hue scrubber. Change 3063388 on 2016/07/25 by Matt.Kuhlenschmidt Selection Perf: - Fix large FName creation time when selecting thousands of objects Change 3063568 on 2016/07/25 by Matt.Kuhlenschmidt Selection Perf: - Modified how USelection stores classes. Classes are now in a TSet and can be accessed efficiently using IsClassSelected. The old unused way of checking if a selection has a class by iterating through them is deprecated - USelection no longer directly checks if an item is already selected with a costly n^2 search. The check is done by using the already existing UObject selected annotation - Object property nodes no longer perform an n^2 check for object uniqueness when objects are added to details panels. This is now left up to the caller to avoid - Eliminated useless work on FObjectPropertyNode::GetReadAddressUncached. If a read address list is not passed in we'll not attempt to the work to populate it - Removed expensive checking for brush actors when any actor is selected Change 3063749 on 2016/07/25 by Stephan.Jiang Disallow naming the widgetanimation to the same name with a override function in uuserwidget, because it will trigger a breakpoint in Rename() #jira UE-33711 Change 3064585 on 2016/07/26 by Matt.Kuhlenschmidt Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) Change 3064612 on 2016/07/26 by Alex.Delesky #jira UE-33712 - Deleting many assets at once will now batch SourceControl commands rather than executing one for each asset. Change 3064647 on 2016/07/26 by Alexis.Matte #jira UE-33274 dont hash the same file over and over when importing multiple asset from one fbx file. Change 3064739 on 2016/07/26 by Matt.Kuhlenschmidt Fixed typo Change 3064795 on 2016/07/26 by Jamie.Dale Fixed typo in FLocalizationModule::GetLocalizationTargetByName #jira UE-32961 Change 3066461 on 2016/07/27 by Jamie.Dale Enabled stable localization keys Change 3066463 on 2016/07/27 by Jamie.Dale Set "Build Engine Localization" to upload all cultures to ensure we don't lose translation due to the archive keying changes Change 3066467 on 2016/07/27 by Jamie.Dale Updated internationalization archives to store translations per-identity This allows translators to translate each instance of a piece of text based upon their context, rather than requiring a content producer to go back and give the entry a unique namespace. It also allows us to optionally compile out-of-date translations, as they are now mapped to their source identity (namespace + key) rather than their source text. Major changes: - Added FLocTextHelper. This acts as a high-level API for uncompiled localized text, and replaces all the old ad-hoc loading/saving of manifests and archives, ensuring that everything is consistently using source control, and that older archives can be upgraded correctly to the new format. It also takes care of some of the quirks of our archives, such as native translations. All major localization commandlets have been updated to use FLocTextHelper. - Moved FTextLocalizationResourceGenerator from Core to Internationalization. This also allows IJsonInternationalizationManifestSerializer and IJsonInternationalizationArchiveSerializer to be removed, and for FJsonInternationalizationManifestSerializer and FJsonInternationalizationArchiveSerializer to have all their functions become static. - FTextLocalizationResourceGenerator being moved from Core meant that FTextLocalizationManager::LoadFromManifestAndArchives was also removed. This functionality is now handled by FTextLocalizationResourceGenerator::GenerateAndUpdateLiveEntriesFromConfig. - The RepairLocalizationData commandlet has been removed. This existed to fix a change that pre-dated 4.0 so no such data should exist in the wild, and the commandlet couldn't be updated to work with the new API (we handle format upgrades in-place now). - Removed FInternationalizationArchive::FindEntryBySource as it is no-longer safe to use. All existing code has been updated to use FInternationalizationArchive::FindEntryByKey instead. Workflow changes: - Archive conditioning now only adds new entries if they don't exist in the archive. This allows us to persist any existing translations, even if they're for old source text (caveat: native archives still update existing entries if the source is changed). - PO export now sets the msgctx for each entry to be "namespace,key", rather than only doing it when the entry had key meta-data. - PO import will now update both the source and translation stored in the archive to match the current PO data. This is the primary method by which stale source->translation pairs are updated. - LocRes compilation may now optionally compile stale translations. There's an option controlling this (defaulted to off) that can be changed via the Localization Dashboard (or added to an existing config file). Format changes: - The archive version was bumped to 2. - Archive entries now use the "Key" entry to store the key from the source text. Previously this "Key" entry was used to store the key meta-data, but that now exists within a "MetaData" sub-object. Loading handles this correctly based upon the archive version. #jira UETOOL-897 #jira UETOOL-898 #jira UE-29481 Change 3066487 on 2016/07/27 by Matt.Kuhlenschmidt Attempt to fix linux compilation Change 3066504 on 2016/07/27 by Matt.Kuhlenschmidt Fixed data tables with structs crashing due to recent editor selection optimizations Change 3066886 on 2016/07/27 by Jamie.Dale Added required data to accurately detect TZ (needed for DST) #jira UE-28511 Change 3067122 on 2016/07/27 by Jamie.Dale Added AsTime, AsDateTime, and AsDate overrides to BP to let you format a UTC time in a given timezone (default is the local timezone). Previously you could only format times using the "invariant" timezone, which assumed that the time was already specified in the correct timezone for display. Change 3067227 on 2016/07/27 by Jamie.Dale Added a test to verify that the ICU timezone is set correctly to produce local time (including DST) Change 3067313 on 2016/07/27 by Richard.TalbotWatkin Fixed SplineComponent constructor so that old assets (prior to the property changes) load correctly if they had properties at default values. #jira UE-33669 - Crash in Dev-Editor Change 3067736 on 2016/07/27 by Stephan.Jiang Border changes for experimental classes warning Change 3067769 on 2016/07/27 by Stephan.Jiang HERE BE DRAGONS for experimental class warning #UE-33780 Change 3068192 on 2016/07/28 by Alexis.Matte #jira UE-33586 make sure we remove any false warning when running fbx automation test. Change 3068264 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068293 on 2016/07/28 by Alex.Delesky #jira UE-33620 - Comments on constant and parameter nodes in the Material Editor will now persist when converting them. Change 3068481 on 2016/07/28 by Stephan.Jiang Adding Options to show/hide soft & hard references & dependencies in References Viewer #jira UE-33746 Change 3068585 on 2016/07/28 by Richard.TalbotWatkin Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX. Change 3068701 on 2016/07/28 by Matt.Kuhlenschmidt Fixed some issues with the selected classes not updating when objects are deselected Change 3069335 on 2016/07/28 by Jamie.Dale Fixed unintended error when trying to load a manifest/archive that didn't exist Fixed a warning when trying to load a PO file that didn't exist Change 3069408 on 2016/07/28 by Alex.Delesky #jira UE-33429 - The editor should no longer hit an ensure if the user attempts to drop a tab into a tab well before the tab well has a chance to acknowledge its been dragged into a tab well. Change 3069878 on 2016/07/29 by Jamie.Dale Fixed include casing #jira UE-33910 Change 3071807 on 2016/08/01 by Matt.Kuhlenschmidt PR #2654: Fix the spell'ing of "diff'ing" and "diff'd". (Contributed by geary) Change 3071813 on 2016/08/01 by Jamie.Dale Fixed include casing #jira UE-33936 Change 3072043 on 2016/08/01 by Jamie.Dale Fixed FText formatting of pre-Gregorian dates We now convert to an ICU UDate via an ICU GregorianCalendar, as UE4 and ICU have a different time scale for pre-Gregorian dates. #jira UE-14504 Change 3072066 on 2016/08/01 by Jamie.Dale PR #2590: FEATURE: Collapse/expand folders in the outliner (Contributed by projectgheist) Change 3072149 on 2016/08/01 by Jamie.Dale We no longer use the editor culture when running with -game Change 3072169 on 2016/08/01 by Richard.TalbotWatkin A couple of changes to the BSP code: * Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode. * Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices. #jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used #jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume Change 3072221 on 2016/08/01 by Jamie.Dale Fixed "Launch On" not providing the correct cultures to StartCookByTheBookInEditor #jira UE-33001 Change 3073389 on 2016/08/02 by Matt.Kuhlenschmidt Added ability to vsync the editor. Disabled by default. Set r.VSyncEditor to 1 to enable it. Reimplemented this change from the siggraph demo stream Change 3073396 on 2016/08/02 by Matt.Kuhlenschmidt Removed unused code as suggested by a pull request Change 3073750 on 2016/08/02 by Richard.TalbotWatkin Fixed formatting (broken in CL 3057895) in anticipation of merge from Main. Change 3073789 on 2016/08/02 by Jamie.Dale Added a way to mark text in text properties as culture invariant This allows you to flag properties containing text that doesn't need to be gathered. #jira UE-33713 Change 3073825 on 2016/08/02 by Stephan.Jiang Material Editor: Highligh all Nodes connect to an input. #jira UE-32502 Change 3073947 on 2016/08/02 by Stephan.Jiang UMG Project settings to show/hide different classes and categories in Palette view. --under Project Settings ->Editor->UMG Editor Change 3074012 on 2016/08/02 by Stephan.Jiang Minor changes and comments for CL: 3073947 Change 3074029 on 2016/08/02 by Jamie.Dale Deleting folders in the Content Browser now removes the folder from disk #jira UE-24303 Change 3074054 on 2016/08/02 by Matt.Kuhlenschmidt Added missing stats to track pooled vertex and index buffer cpu memory A new slate allocator was added to track memory usage for this case. Change 3074056 on 2016/08/02 by Matt.Kuhlenschmidt Renamed a few slate stats for consistency Change 3074810 on 2016/08/02 by Matt.Kuhlenschmidt Moved geometry cache asset type to the animation category. It is not a basic asset type Change 3074826 on 2016/08/02 by Matt.Kuhlenschmidt Fix a few padding and sizing issues Change 3075322 on 2016/08/03 by Matt.Kuhlenschmidt Settings UI improvements * Added the ability to search through all settings at once * Settings files which are not checked out are no longer grayed out. The editor now attempts to check out the file automatically if connected to source control and if that fails it marks the settings file writiable so it can save the setting properly ------- * This change adds a refactor to the details panel to support multiple top level objects existing in the details panel at once instead of combining all passed in objects to a single common base class. This is disabled by default but can be turned on setting bAllowMultipleTopLevelObjects to true in FDetailsViewArgs when creating a details panel. * Each top level object in a details panel will get their own customization instance. This made it necessary to deprecate a IDetailsView::GetBaseClass since there is no longer guaranteed to be one base class. *Details panels can have their own customization for each "root object header" in order to customize the look of having multiple top level objects in the details panel. Change 3075369 on 2016/08/03 by Matt.Kuhlenschmidt Removed FBX scene as a top level option in asset filter menu in the content browser. Change 3075556 on 2016/08/03 by Matt.Kuhlenschmidt Mac warning fix Change 3075603 on 2016/08/03 by Nick.Darnell Adding two new plugins to engine, one for editor and one for runtime based testing. Currently the only consumer of these plugins is going to be the EngineTest project. Change 3075605 on 2016/08/03 by Nick.Darnell Functional Testing - Continued work on cleanup, reorganization, trying to improve the workflow for using the session browser. Change 3076084 on 2016/08/03 by Jamie.Dale Added basic support for localizing plugins You can now localize plugins! There's no localization dashboard integration for this so it has to be done manually. You need to define the localization targets your plugin uses in its .uplugin file, eg) "LocalizationTargets": [ { "Name": "Paper2D", "LoadingPolicy": "Always" } ] "Name" should match a localization config under the Config/Localization folder for your plugin. These configs are set-up the same as any other localization config. "LoadingPolicy" may be one of Never, Always, Editor, Game, PropertyNames, or ToolTips. This allows you to control under what conditions your localizations should be loaded (eg, if your plugin has both game and editor data, you can separate the editor data off into its own localization target that's only loaded by the editor). UAT has been updated to support gathering from plugins. You can use the "IncludePlugins" flag to have it gather all plugins, or you can specify a whitelist of plugins to gather as an argument to "IncludePlugins", or alternatively, may blacklist certain plugins via "ExcludePlugins". It can now also support out-of-source gathering via the "UEProjectRoot" argument (previously it assumed that everything would be under the UE4 install/checkout directory). UAT has been updated to support staging plugin LocRes files. It will stage any plugin targets that are enabled for a game/client build, and are also from a plugin that's enabled for your project. #jira UE-4217 Change 3076123 on 2016/08/03 by Stephan.Jiang Extend "Select all input nodes" function to general blueprint editor Change 3077103 on 2016/08/04 by Jamie.Dale Added support for underlined text rendering (including with drop-shadows) FTextBlockStyle can now specify a brush to use to draw an underline for text (a suitable default would be "DefaultTextUnderline" from FCoreStyle). When a brush is specified here, we inject FSlateTextUnderlineLineHighlighter highlights into the text layout to draw the underline under the relevant pieces of text, using the correct color, position, and thickness. FSlateFontCache::GetUnderlineMetrics and FSlateFontRenderer::GetUnderlineMetrics have been added to handle getting the underline metrics (which are slightly different to the baseline). This change also adds FTextLayout::RemoveRunRenderer and FTextLayout::RemoveLineHighlight to fix some bad assumptions that FSlateEditableTextLayout and FTextBlockLayout were making about ownership of run renderers and line highlighters that could cause them to remove instances they didn't own (such as the new underline highlighter) when updating things like the cursor position or highlight. Change 3077842 on 2016/08/04 by Jamie.Dale Fixed fallout from API changes Change 3077999 on 2016/08/04 by Jamie.Dale Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading This prevents it being incorrectly set by other operations, such as counting memory used by font data. #jira UE-34252 Change 3078000 on 2016/08/04 by Trung.Le Categories VREditor-specific UMG widget assets as "VR Editor" #jira UE-34134 Change 3078056 on 2016/08/04 by Nick.Darnell Build - Fixing a mac compiler warning, reodering constructor initializers. Change 3078813 on 2016/08/05 by Nick.Darnell Reorganizing editor tests, establishing plugins in the EditorTest project that will house the tests. Change 3078818 on 2016/08/05 by Nick.Darnell Additional rename and cleanup associated with test moving. Change 3078819 on 2016/08/05 by Nick.Darnell Removing the Oculus performance automation test, not running, and was unclaimed. Change 3078842 on 2016/08/05 by Nick.Darnell Continued reorganizing tests. Change 3078897 on 2016/08/05 by Nick.Darnell Additional changes to get some moved tests compiling Change 3079157 on 2016/08/05 by Nick.Darnell Making it possible to browse provider names thorugh the source control module interface. Change 3079176 on 2016/08/05 by Stephan.Jiang Add shortcut Ctrl+Shift+Space to rotate through different viewport options #jira UE-34140 Change 3079208 on 2016/08/05 by Stephan.Jiang Fix new animation name check in UMG Change 3079278 on 2016/08/05 by Nick.Darnell Fixing the build Change 3080555 on 2016/08/08 by Matt.Kuhlenschmidt Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) Change 3081155 on 2016/08/08 by Nick.Darnell Fixing some issues with the editor tests / runtime tests under certain build configs. Change 3081243 on 2016/08/08 by Stephan.Jiang Add gesture in LevelViewport to switch between Top/Bottom...etc. Change 3082226 on 2016/08/09 by Matt.Kuhlenschmidt Work around animations not playing in paragon due to bsp rebuilds (UE-34391) Change 3082254 on 2016/08/09 by Stephan.Jiang DragTool_ViewportChange init changes [CL 3082411 by Matt Kuhlenschmidt in Main branch]
2016-08-09 11:28:56 -04:00
FAutomationEditorCommonUtils::NullReferencesToObject(ExistingPackage);
#endif // WITH_AUTOMATION_TESTS
ExistingPackage->MarkAsGarbage();
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
CollectGarbage(GARBAGE_COLLECTION_KEEPFLAGS, true);
}
UMaterialInstanceConstant* MaterialInstance = NewObject<UMaterialInstanceConstant>(MaterialOuter, FName(*MaterialAssetName), Flags);
checkf(MaterialInstance, TEXT("Failed to create instanced material"));
MaterialInstance->Parent = BaseMaterial;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
return MaterialInstance;
}
UTexture2D* FMaterialUtilities::CreateTexture(UPackage* Outer, const FString& AssetLongName, FIntPoint Size, const TArray<FColor>& Samples, TextureCompressionSettings CompressionSettings, TextureGroup LODGroup, EObjectFlags Flags, bool bSRGB, const FGuid& SourceGuidHash)
{
FCreateTexture2DParameters TexParams;
TexParams.bUseAlpha = false;
TexParams.CompressionSettings = CompressionSettings;
TexParams.bDeferCompression = true;
TexParams.bSRGB = bSRGB;
TexParams.SourceGuidHash = SourceGuidHash;
TexParams.TextureGroup = LODGroup;
return CreateTexture(Outer, AssetLongName, Size, Samples, TexParams, Flags);
}
UTexture2D* FMaterialUtilities::CreateTexture(UPackage* Outer, const FString& AssetLongName, FIntPoint Size, const TArray<FColor>& Samples, const FCreateTexture2DParameters& CreateParams, EObjectFlags Flags)
{
if (Outer == nullptr)
{
Outer = CreatePackage(*AssetLongName);
Outer->FullyLoad();
Outer->Modify();
}
return FImageUtils::CreateTexture2D(Size.X, Size.Y, Samples, Outer, FPackageName::GetShortName(AssetLongName), Flags, CreateParams);
}
bool FMaterialUtilities::ExportBaseColor(ULandscapeComponent* LandscapeComponent, int32 TextureSize, TArray<FColor>& OutSamples)
{
ALandscapeProxy* LandscapeProxy = LandscapeComponent->GetLandscapeProxy();
FIntPoint ComponentOrigin = LandscapeComponent->GetSectionBase() - LandscapeProxy->LandscapeSectionOffset;
FIntPoint ComponentSize(LandscapeComponent->ComponentSizeQuads, LandscapeComponent->ComponentSizeQuads);
FVector MidPoint = FVector(ComponentOrigin, 0.f) + FVector(ComponentSize, 0.f)*0.5f;
FVector LandscapeCenter = LandscapeProxy->GetTransform().TransformPosition(MidPoint);
FVector LandscapeExtent = FVector(ComponentSize, 0.f)*LandscapeProxy->GetActorScale()*0.5f;
FVector ViewOrigin = LandscapeCenter;
FMatrix ViewRotationMatrix = FInverseRotationMatrix(LandscapeProxy->GetActorRotation());
ViewRotationMatrix *= FMatrix(FPlane(1, 0, 0, 0),
FPlane(0, -1, 0, 0),
FPlane(0, 0, -1, 0),
FPlane(0, 0, 0, 1));
const FMatrix::FReal ZOffset = UE_OLD_WORLD_MAX;
FMatrix ProjectionMatrix = FReversedZOrthoMatrix(
LandscapeExtent.X,
LandscapeExtent.Y,
0.5f / ZOffset,
ZOffset);
FSceneInterface* Scene = LandscapeProxy->GetWorld()->Scene;
// Hide all but the component
TSet<FPrimitiveComponentId> ShowOnlyPrimitives = { LandscapeComponent->SceneProxy->GetPrimitiveComponentId() };
TSet<FPrimitiveComponentId> HiddenPrimitives;
FIntPoint TargetSize(TextureSize, TextureSize);
// Render diffuse texture using BufferVisualizationMode=BaseColor
static const FName BaseColorName("BaseColor");
const float BaseColorGamma = 2.2f;
RenderSceneToTexture(Scene, BaseColorName, ViewOrigin, ViewRotationMatrix, ProjectionMatrix, ShowOnlyPrimitives, HiddenPrimitives, TargetSize, BaseColorGamma, true, OutSamples);
return true;
}
FFlattenMaterial FMaterialUtilities::CreateFlattenMaterialWithSettings(const FMaterialProxySettings& InMaterialLODSettings)
{
// Create new material.
FFlattenMaterial Material;
FIntPoint MaximumSize = FIntPoint::ZeroValue;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
if (InMaterialLODSettings.TextureSizingType == TextureSizingType_UseManualOverrideTextureSize)
{
// If the user is manually overriding the texture size, make sure we have the max texture size to render with
Merging from //UE4/Fortnite-Staging up to CL#3673800 based on CL#3664064 from //Fortnite/Main #rb none #lockdown Nick.Penwarden ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS AND/OR RESTRICTED FOLDERS. YOU MUST REVIEW THESE MANUALLY AND APPEND THEM TO THE DESCRIPTIONS FOR THE APPROPRIATE PLATFORMS. ================================================================================================= Change 3662267 by Nick.Darnell Engine - Fixing a bug in GetAccurateRealTime, it wasn't subtracting GStartTime, which if you don't prevents accurate platform time when you try to store it in a float. #jira nojira Change 3662176 by Ben.Marsh Disable image integrity report generation if a debugger is attached, and in editor builds. #jira FORT-55656 Change 3656958 by Luke.Thatcher [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 (D3D12.SyncInterval, D3D11.SyncInterval, r.PS4FlipRate, RHI.SyncIntervalOgl) into one: rhi.SyncInterval - 1 == 60Hz - 2 == 30Hz - 3 == 20Hz [-] Removed large number in XboxOneTime. Adding this arbitrary number prevents us from comparing timestamps from FPlatformTime::Seconds() and various OS callbacks (e.g. flip timings). #jira FORT-50803 Change 3655598 by Lukasz.Furman added filtering for navmesh's low height spans to fix crash on layer partitioning % of span reductions depends on presence of stair or roof building in navmesh tile, changed failsafes in layer code to ignore entire tile if heightfield is too complex to partition instead of reallocating memory #jira FORT-35375 Change 3648972 by Keith.Judge Add analytics to help diagnose default parameter collection buffer issue. +++ REMOVE ONCE CORE ISSUE IS SOLVED +++ #jira FORT-54690 Change 3648756 by Bart.Hawthorne Integrate 3645298 from //UE4/Dev-Networking Deprecate GetNetworkObjectInfo in favor of separate FindNetworkObjectInfo and FindOrCreateNetworkObjectInfo methods. #jira none Change 3643090 by Josh.Markiewicz #UE4 - proper handling of "pending connection lost" - triggered only if a connection is lost and there no "owning actor" to deal with the connection loss -- added Rejoin and CleanedUp states to connection to make sure that the pending connection lost delegate only fires at the appropriate time - delegate returns the unique id of the player if known (still possible to be unknown if connection lost after NMT_Hello) - changed debug output on timeout if the net connection was already in the process of being destroyed -- occurs when game hitches during the pending destroy 2 second wait -- ReceivedAcks should have been called to clean things up quietly in those 2 seconds but blocking the game thread will cause the cleanup to look like a timeout - added userid to UNetConnection::Describe - bad split screen player handling of unique id -- splitscreen uniqueid was overwriting the primary player id -- only store the id on the child connection - added some clarifying comments #review-3642816 @ryan.gerleve, @bob.tellez, @sam.zamani, @bart.hawthorne, @dave.ratti #jira FORT-26776 Change 3639043 by Alex.Thurman Fix CommonTreeView SetSelection to correctly update list navigation, and behave similarly to CommonListView's SetSelectedItem. #JIRA FORT-45841 Change 3632275 by Seth.Weedin #JIRA FORT-54203 - Add clamps to ActiveSound fade interpolation to prevent unwanted volume spikes. Remove 0.01 start time for single-fire audio cues. Should remove the sudden pops sometimes heard when firing weapons, as well as smooth out fade volume in general. Change 3626944 by Josh.Markiewicz #UE4 - added "updates connection status" flag to ServiceConfigMCP - disable updates on Cloud and Friend services (Fortnite only) - removed overloaded ProcessConnectionStatus function in cloud service #jira FORT-53113 Change 3626226 by Stewart.Lynch LLM Update - Memory reductions, Summary page, enum scopes, refactor and cleanup of tags * Remove all static arrays and hard limits from LLM. Everything is now dynamically allocated using the internal LLM allocators. The overhead when LLM is disabled is now only 48K (was 40MB) * re-wrote LLMMap. Now stores an int32 index rather then pointer in the HashMap array. Also, changed the Values to be arrays for structs instead of structs of arrays. Means that the tag can be stored in a single byte. Changed the size of the allocation size from int64 to int32. All this takes the memory down from around 600MB to 100MB. It was 120 bytes per allocation, now 29 bytes. * changed all LLM scopes over to enums. This has a number of benefits; LLM can be enable in Test, less CPU overhead, stored in a byte (LLM overhead /= 8) * summary page for content creators where all lower-level stats are grouped under one Engine stat * renamed ELLMScopeTag enum to ELLMTag * renamed LLM_SCOPED_TAG_WITH_ENUM macro to LLM_SCOPE * removed Tracker arg from LLM_SCOPE and added LLM_PLATFORM_SCOPE macro * fixed GenericPlatformMallocCrash stat. Although it seems not be be used anymore * fixed BackupOOMMemoryPool stat (now shows in both default and platform pages) * added separate LLM enums for XB1, PS4 and D3D12 (PS4LLM.cpp/h etc.) * lots of changes adding/removing/renaming tags * added LLMArray and FLLMObjectAllocator classes * disabled asset tag tracking by default because it takes up so much memory even when not used * enable LLM in all non-shipping builds. In Test the on screendisplay won't show because it uses the stats system but it till still write out the csv. * all the stat macros have been left as they were and can be enabled on the LLM_STAT_TAGS_ENABLED define. These are needed for the asset tagging. * disabled LLM_TRACK_PEAK_MEMORY because there is a problem with the way it adds the peaks for multiple threads. This needs to be fixed. * added a CVar to control the csv write interval: LLM.LLMWriteInterval * added static arrays for the enum tags setup. Easier to manage and removes need for slow switch statements. * renamed FLLMThreadStateManager to FLLMTracker to make it consistent with the enum * fixed program size stat which was broken recently on PS4. This was due to initialisation order and global platform stats setup #jira NONE-01 Change 3622978 by Lukasz.Furman changed WeaponStatus BT decorator to be event driven, fixes AI trying to check ranged weapon abilities without valid weapon includes copy of CL# 3620700 #jira FORT-45914 #review-3622979 John.Abercrombie Change 3622340 by Josh.Markiewicz #UE4 - playerid netconnection variable setup properly on clients and servers for both beacons and game net drivers - ipconnection prints uniqueid with lowleveldescribe #jira fort-0 Change 3621386 by Tim.Tillotson Add the ability to retry HTTP operations by VERB. This allows us to automatically retry cloud save PUT operations. #JIRA FORT-53717 #review-3621317 @Josh.Markiewicz @Ian.Fox @Carlos.Cuello Change 3620517 by Keith.Judge Xbox One - Revert iOS behaviour for the depth bias back to how it was, and make separate XB1 change use its own define to avoid confusion. #jira FORT-53928 Change 3620248 by Lukasz.Furman changed behavior of UBTTask_MoveTo.bStopOnOverlap flag after recent AcceptanceRadius fix, updated comments to be more detailed #jira nojira Change 3616187 by Bob.Tellez #UE4 Throwing an error (for now) if you attempt to use both the malloc profiler and leak detection at the same time since it causes a deadlock. #JIRA UE-0 Change 3613935 by Peter.Knepley More logging on update launcher launching #jira nojira #robomerge rp rn Change 3613537 by Marcus.Wassmer Safety asserts around the MarkPendingKill feature for rendering classes. #jira FORT-50385 Change 3613399 by Arne.Schober Extended ShowMaterialDrawEvents to enable it only in very specific passes and default enabled Depth for Fortnite on PS4 to track down a crash. #RB Marcus.Wassmer #jira FORT-53610 Change 3610794 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce UMG class memory #jira UE-52043 #ROBOMERGE-SOURCE: CL 3610792 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3610144 by Stewart.Lynch General LLM improvements * added tracking for misc task graph tasks (moves 20MB out of Untagged) * renamed EngineTick to EngineMisc * added tracking for FName * added tracking for GC_ProcessObjectArray potential leak * renamed index & vertex buffers stat to Meshes * added hooks for MemPro to track allocations from a single category. Currently defined out. I haven't added MemPro.cpp/h. * removed AVAILABLE_PHYSICAL stat from LLM csv * csv files now include the date in the filename * fixed potential threading bug when reading stat values to csv * made IsDebugMemoryEnabled() always return false in shipping and if not runnong on a dev-kit (PS4). The reason is that the function is a bit hacky, and should only be used for debug purposes, such as displaying the on screen warning. * added lots more scopes * started changing Stat scopes to enum scopes. Stat scopes will be phased out. * added tracking of FName memory * added llmplatform tracking for XBoxSymbols * added llm tracking for CPU symbol allocations (20MB) * wrote an allocator for XBoxOneStack reading so that it doesn't go through Malloc and get tracked by LLM. * added tracking for GC * fixed tracking for TransientMemoryAllocator * added tracking for networking memory * added more audio memory tracking * added tracking for blueprints * added tracking for static meshes * show on screen warning if debug memory is enabled * added tracking for particles * renamed Phys to PhysX and added more scopes * renamed Slate to UI and added more scopes * much better coverage of networking memory * improved coverage of audio #jira FORT-53420 Change 3610136 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce size of UStaticMeshComponent by 224 bytes (cumulative, 64 bytes exclusive) Reduce size of UPrimitiveComponent by 176 bytes (cumulative, 64 bytes exclusive). Reduce size of USceneComponent by 112 bytes. Reduce size of FLightingChannels from 3 bytes to 1. Reduce size of FBodyInstance by 16 bytes. #jira FORT-52043 #ROBOMERGE-SOURCE: CL 3610134 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607937 by robomerge #ROBOMERGE-AUTHOR: paul.moore #jira FORT-53105 - Fix websocket not providing information when the peer closes the connection. #ROBOMERGE-SOURCE: CL 3607933 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607042 by Bart.Hawthorne Move replay.Loop functionality into the demo net driver and rename it demo.Loop #jira none Change 3605448 by robomerge #ROBOMERGE-AUTHOR: seth.weedin #Athena - Pass owner to ActiveSounds created using PlaySoundAtLocation/PlaySound2D to allow "Limit to Owner" concurrency rules to work. Hook up for weapon sounds. #JIRA FORT-53180 #ROBOMERGE-SOURCE: CL 3605443 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3604787 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Initial support for hotfixing live assets from .ini files - This allows clients and server to patch certain assets in memory whenever .ini file hotfixes are downloaded - Only CurveTables and DataTables are supported for now - The new asset content must be in Json format, the same format the editor uses for importing - Assets that are hotfixed will be synchronously loaded if they're not already in memory. They'll be retained in memory afterwards. - IMPORTANT: Json data must be supplied on a single line, and all double quotes must be escaped! - The changes must go in the Game.ini file and use the following syntax: [AssetHotfix] +CurveTable=("/Game/Folder/MyCurveTable","[{\"Name\":\"Default\"}]") +DataTable=("/Game/Folder2/MyDataTable","[{\"Name\":\"Foo\"}]") #jira FORT-52099 [CODEREVIEW] frank.gigliotti [FYI] peter.knepley,bob.tellez #ROBOMERGE-SOURCE: CL 3604784 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3602067 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Loading time improvements - This shaves off up to 10 seconds of load time on PS4 in Athena Details: - Fixed multiple sub-levels not being able to be enqueued for loading in a single client frame. Athena has ~300 sub-levels, so this ended up wasting up many seconds. - Fixed 3D world being rendered while loading (frees up game thread cycles for throttled streaming) - UWorld::AllowLevelLoadRequests() was not allowing load requests to go through while an async load was in progress and the match had started. It now allows this as long as the world isn't being rendered (loading screen.) - Eliminated extra 2 second delay before loading screen is dismissed (in Athena only) - Note: A side effect of this change is that the progress bar may not update as smoothly on loading screen. We'll look at tuning the throttle settings if it ends up being a problem. [CODEREVIEW] ori.cohen #jira AT-1477 #ROBOMERGE-SOURCE: CL 3602061 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3601951 by Luke.Thatcher [FORTNITE] [PS4] [!] Fix memory stats in the old PS4 memory system - Physical memory stat now includes garlic and onion allocations. CPU OOMs will result in "AvailablePhysical" being close to 0. - Added garlic, onion and defrag stats to the platform memory stats struct. - Added fixed pool sizes to platform memory stats. - Modified the Fortnite heartbeat logging to include extra details of PS4 fixed sized pools. #jira FORT-52910 Change 3600340 by robomerge #ROBOMERGE-AUTHOR: wes.hunt All Fort analytics events now contain a GameState attribute indicating the active GameState ClassName when the event is sent. Added some new context to crashreporter to help identify Athena matches near and long term. * Near Term: GameNameSuffix - set via FCoreDelegates::CrashOverrideParamsChanged * Added bools to the params to indicate WHICH ones are changing * Allows you to set only some values, and clear them out. * Hooked up in FortGameState::PostInitializeComponents. * FortGameState clears it (for returning to main menu). * FortGameStateAthena sets it (for going into an Athena match). * Only does this when it's a true GameMode GameState instance (ie, not PIE) so PIE crashes aren't modified. * Long Term: GameStateName - set via FCoreDelegates::GameStateClassChanged. * This works for ANY crash on ANY game. * Hooked up in GameState::HandleMatchIsWaitingToStart. #jira AT-1457 #jira AT-519 [CODEREVIEW] peter.knepley,josh.markiewicz #ROBOMERGE-SOURCE: CL 3600278 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3597593 by Ben.Zeigler #jira FORT-50722 Fix issues where AssetBundles weren't being correctly updated during cook, which is blocking both Noland and Abercrombie Partial copy of CL #3402335 and #3526538 #robomerge rp, rn Change 3597577 by Luke.Thatcher [FORTNITE] [PS4] [~] Modified the way memory is allocated on Playstation to make more memory available to the CPU. - Previously the amount of texture memory wasn╞t fixed due to the way the defrag memory is allocated on PS4. This meant we had to have a significant amount of slack. - With the new configuration, we have a guaranteed texture memory pool, so the slack can be significantly smaller, meaning we can give more memory to the CPU, which is where most of our memory pressure is. #jira FORT-50825 #jira FORT-49688 #jira FORT-49695 #jira FORT-50054 Change 3596556 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Enable GC clustering for actors and blueprints in Fortnite - This shaves off about 10 ms on GC frames in Athena on PS4 (~52 ms -> 42 ms) - Clustering doesn't work on building actors because they're very dynamic, but general Fort static meshes and blueprints are clustered! - This gets us into the realm of shippability on console for very large UObject counts [FYI] bob.tellez,peter.knepley,michael.noland #jira AT-1440 #ROBOMERGE-SOURCE: CL 3596552 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3593994 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Force largest distance field atlas size in Athena - We now force the largest distance field atlas size before preloading Athena content (512x512x1024 = 256 MB). This helps with load times because it's expensive to re-create this texture on consoles, and typically it gets resized over a dozen times. - Added new CVar "r.DistanceFields.ForceMaxAtlasSize" (defaults to zero) - Important: Currently we never "reset" this atlas texture. This will be a problem when going back to play Campaigns after preloading to play Athena. I will look into this soon! [CODEREVIEW] peter.knepley,marcus.wassmer,michael.noland,daniel.wright #jira AT-1477 #ROBOMERGE-SOURCE: CL 3593992 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592096 by robomerge #ROBOMERGE-AUTHOR: ben.salem Prototype of gauntlet memory soak test. Not fully fiinished, but want changes in tonight's cook so we can experiment on cooked build tomorrow morning. #jira FORT-0 #ROBOMERGE-SOURCE: CL 3592025 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592085 by robomerge #ROBOMERGE-AUTHOR: mike.fricker HLOD: Added support for a fixed distance override via CVar - Use this to force all HLODs to transition at a specific distance, regardless of their TransitionSize/MinDrawDistance/LODDrawDistance - New CVar: r.HLOD.DistanceOverride (defaults to 0) - Fortnite uses 350m for this distance, fornow [CODEREVIEW] jurre.debaare #jira AT-1462 #ROBOMERGE-SOURCE: CL 3591929 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3587391 by Michael.Noland Fortnite: Lots of memory tracking stuff - Added memory logging to game state transitions and overall health tracking for the entire session - Added support for Gauntlet-based tests to Fortnite - Enabled the Gauntlet plugin (and fixed spaces instead of tabs in the .uproject file) - Added code to set gauntlet state based on the current subclass of AFortGameState - Added a base controller and a memory report controller (WIP, ported from equivalents in Paragon) - Updated FortniteClient to use MALLOC_LEAKDETECTION=1, PLATFORM_USES_FIXED_GMalloc_CLASS=0, and AllowASLRInShipping=false in Development builds (may enable them in Test builds in a future CL, to match Paragon) #jira FORT-50567 Change 3583307 by Peter.Knepley Need non-jittered ViewToClip matrix in order to do "after tonemapper" postprocess blendable material that's positioned in view space Modify the AttachScope material function to use "ViewSpaceTransformToClipSpace" instead of going back to world space first. This also means it can utilitize the ViewToClipNoAA matrix. #jira AT-733 Change 3582378 by Luke.Thatcher [FORTNITE] [~] Unify Xbox and PS4 scalability settings and device profiles. - All Xbox and PS4 r. CVars are overriden in their platform's Scalability.ini file. The device profile only selects sg. groups. - Fixed the Neo 4K profile for Fortnite. Previously players with 4K monitors would choose the Neo_4K profile, which looks worse than Neo, but still renders at 1080p. - Console specific settings have to live in the Base/Default .ini's, as the cooker doesn't load the console specific files. This is fixed in UE4 Main. #jira FORT-50206 Change 3580934 by Luke.Thatcher [FORTNITE] [PS4] [+] Support different garlic and onion heap sizes in the old memory system for base and neo. - Neo has 512 MB more direct memory than a base kit. - Increased the garlic heap size by 416 MB on Neo, and CPU heap by 96 MB. #jira FORT-50206 Change 3576664 by Bart.Hawthorne Re-enable Oodle and add Mac implementation. Also includes fixed oodle libraries by MichaelT. #jira FORT-49986 #tests Connected to PC server with editor -game build on Mac in Athena Change 3575671 by Nick.Darnell Athena - The gameplay ability system now supports adding Gameplay Cue's with params. Now using cues instead of gameplay effects in order to notify when the bandaging/shielding begin and end. THe new method should properly show and disappear on time, b/c it's all client side. Added a way in the Athena Context to easily hook gameplay "UI" cues that are rebroadcast from the Athena Pawn. #jira AT-644 Change 3575534 by Peter.Knepley Ability montage replication optimizations #jira AT-955 Change 3573305 by Lukasz.Furman disabled path section update when crowd simulated AI is moving through navlink, fixed AI getting stuck in some corners #jira FORT-49748 Change 3566775 by John.Abercrombie Optimizations from Dev-Athena - Tested with PIE & and 2 Player local server game #ue4-athena - (merge CLs 3345771 and 3363030 from Framework) - Refactored CharacterMovementComponent determination of net send rate when combining moves into a virtual function GetClientNetSendDeltaTime(). Added configurable values to GameNetworkManager under [/Script/Engine.GameNetworkManager]. For Fortnite, set unthrottled (<= 10 player) limit to 60Hz (from 90Hz), and trying throttled at 30Hz (from 45Hz). #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545535 by Zak.Middleton on 2017/07/19 20:15:17. #ue4-athena - (merge CL 3377054 from Framework) - Fix CharacterMovementComponent updated with very high delta time on server when initially joining. Make sure the ServerTimeStamp is initialized to current world time rather than zero to prevent large delta. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545452 by Zak.Middleton on 2017/07/19 18:57:45. #athena - If network smoothing mode is not linear, don't replicate ReplicatedServerLastTransformUpdateTimeStamp. Only AI use linear smoothing in FN. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545559 by Zak.Middleton on 2017/07/19 20:47:18. #ue4-athena - Converted all RPCs on UCharacterMovementComponent to be on ACharacter instead, to avoid the bandwidth overhead of calling RPCs on a component. Existing overrides of _Implementation and _Validate functions should remain unchanged. If for some reason someone overrode the old RPC virtuals, those are now non-virtual on UCharacterMovementComponent but are still virtual on ACharacter. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3557564 by Zak.Middleton on 2017/07/26 20:13:43. #ue4-athena - Throttle character movement server corrections and acks to the client based on time since last adjustment. Cuts down on network traffic for character movement. Added configurable settings to control this. Set times to zero to disable this. - NetworkMinTimeBetweenClientAckGoodMove - NetworkMinTimeBetweenClientAdjustments - NetworkMinTimeBetweenClientAdjustmentsLargeCorrection - NetworkLargeClientCorrectionDistance #ue4-athena - Perf: (EditMerge CL 3492200 from Dev-Framework): Always reset the input array in AActor::GetComponents(), but do so without affecting allocated size. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561669 by Zak.Middleton on 2017/07/28 14:16:19. #ue4-athena - Perf: (EditMerge CL 3468253 from Dev-AnimPhys): Remove the need for calling constructors for physx PxRaycastHit in the dynamic hit result buffer. Saves 30% of the cost of doing small raycasts. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561672 by Zak.Middleton on 2017/07/28 14:17:12. #ue4-athena - Perf: (EditMerge CL 3359553 from Dev-Framework): Optimization in CharacterMovement tick to not extract transform values twice. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561674 by Zak.Middleton on 2017/07/28 14:18:04. #ue4-athena - Perf: (EditMerge CL 3426174 from Dev-Framework): Avoid call to virtual getSimulationFilterData() to only use it when needed in PreFilter if we actually have items in the IgnoreComponents list (which is rare). The sim filter data 'word2' stores the component ID. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561709 by Zak.Middleton on 2017/07/28 14:32:11. #ue4-athena - Perf: (EditMerge CL 3382054 from Dev-Framework): Optimize CharacterMovementComponent::GetPredictionData_Client_Character() and GetPredictionData_Server_Character() to remove virtual calls. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561856 by Zak.Middleton on 2017/07/28 15:11:57. #ue4-athena - Use less bandwidth for CharacterMovement RPCs when the character is not standing on any component (ie during jumps and falling). Added separate "...NoBase()" versions of ServerMove() and ServerMoveDual(). Undid part of 3557564 and restored the CMC functions to be virtual, and removed virtual keyword from matching Character functions, so that overrides are in one consistent place. Also guarantees backwards compat for licensees. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3564858 by Zak.Middleton on 2017/07/31 15:24:39. #jira Fort-1 Change 3562825 by Chris.Gagnon Added CommonCustomNavigation Widget, this widget can be used to capture navigation requests to handle in custom ways. #jira FORT-0 Change 3562098 by Josh.Markiewicz #UE4 Encryption token/ack changes - moved encryption token request/ack to delegates - moved FNetworkNotify to NetworkDelegates.h - moved connection logic out of GameInstance and back into networking code -- GameInstance sends an enum and the network code does the right thing based on that #review-3559694 @ryan.gerleve #tests PC dedicated server connections golden path and forced failures #jira FORT-0 Change 3559354 by Luke.Thatcher [FORTNITE] [PS4] [^] Merging (as edit) support for setting flip rate on PS4 (CLs 3555687 and 3558843) from //Fortnite/Dev-Athena/... to //Fortnite/Main/... - Allowed rates are now 60Hz, 30Hz and 20Hz. - Exposed by r.PS4FlipRate CVar, set to 60Hz by default. Requires r.Vsync 1. #jira FORT-49463 Change 3532644 by Jeff.Campeau Fix mapping current culture to movie audio channels using data table to map languages to track indices. Don't rewind cinematics (they all start from the begining because we load them and play them once). Seeks cause us to have to redecode video frames at a large perf cost. Delay cutscene playback by 0.5 seconds to give us time to build up a buffer of decoded video. (Temporary workaround for audio/video sync). Generic implementation for getting current languages in BP. Fix more issues with calling into media source functionality when using the source reader (potential hangs). #jira FORT-44376,FORT-48209,FORT-48040 #testedon Preflight from last night combined with Bob's changes from today clear all known issues. This change tested on Xbox and PC multiple times each. Change 3527761 by Chris.Gagnon Fixed various issues in the widget switcher, also added Advanced calls that allow the user to specify if activation/deactivation should occur. #jira FORT-47988, FORT-47984 Change 3525390 by Jeff.Campeau Remove media player log spam #jira FORT-47393 #testedon compiled client Change 3518692 by Chris.Gagnon Added CleanOperation Adding which will remove unneeded op combinations from the op queue. Also added the ability to suspend starting operation queue processing to allow complex operations to accumulate and in turn allow the Clean Op adding code to be effective. GameFeedback, and the widget switcer utilize this to avoid unnesacary activations of a screen that is immediately being deactivated. Root issue of the mentioned bug is that activation of the quest screen created a latent navigation du to the deferal of scrolling into view. This is still an issue in general, there isn't much we can do about it. Other than avoid activating a panel that will deactivated that frame as we did with the code changes in this CL. #jira FORT-47395 Change 3514658 by Jeff.Campeau Fixed a media player threading issue where the OnMediaOpened event could be called before the media Init script completed. Moved the event Cinematic used when setting up and playing media after media file load to use a delayed event from the MovieWidget so that it will always happen after the movie widget processing. Fixed an issue that could cause samples to leak in MfMedia plugin and cause ReadSample to lockup. Fixed an issue where a default texture is displayed for movies before the movie starts playing (the player may be active before the first frame of the video is decoded). Default is now all black as it is expected that this texture will be displayed for several frames. #jira FORT-46801 #testedon Xbox through rocket launch cinematic including vintertip for stairs, skill tree nodes, and victory result video Change 3507896 by Ryan.Gerleve Changed the net.UseEncryptionToken to be more useful and renamed it to net.AllowEncryption. This cvar, if 0, will prevent the PacketHandler from adding the configured encryption component, and prevent UPendingNetGame and AOnlineBeaconClient from filling out the EncryptionToken parameter of NMT_Hello - which prevents the extra encryption handshake connection step. #jira FORT-46878 #review-3507897 @josh.markiewicz Change 3503928 by Ryan.Gerleve Add safety checks around some of the encryption functionality. Fixes a server crash seen during load testing. #jira FORT-46772 #review-3503929 bob.tellez #robomerge ReleaseNext [CL 3673993 by Bob Tellez in Main branch]
2017-09-30 03:42:01 -04:00
MaximumSize = (MaximumSize.X < InMaterialLODSettings.DiffuseTextureSize.X) ? InMaterialLODSettings.DiffuseTextureSize : MaximumSize ;
MaximumSize = (InMaterialLODSettings.bSpecularMap && (MaximumSize.X < InMaterialLODSettings.SpecularTextureSize.X)) ? InMaterialLODSettings.SpecularTextureSize : MaximumSize;
MaximumSize = (InMaterialLODSettings.bMetallicMap && (MaximumSize.X < InMaterialLODSettings.MetallicTextureSize.X)) ? InMaterialLODSettings.MetallicTextureSize : MaximumSize;
MaximumSize = (InMaterialLODSettings.bRoughnessMap && (MaximumSize.X < InMaterialLODSettings.RoughnessTextureSize.X)) ? InMaterialLODSettings.RoughnessTextureSize : MaximumSize;
MaximumSize = (InMaterialLODSettings.bNormalMap && (MaximumSize.X < InMaterialLODSettings.NormalTextureSize.X)) ? InMaterialLODSettings.NormalTextureSize : MaximumSize;
MaximumSize = (InMaterialLODSettings.bEmissiveMap && (MaximumSize.X < InMaterialLODSettings.EmissiveTextureSize.X)) ? InMaterialLODSettings.EmissiveTextureSize : MaximumSize;
MaximumSize = (InMaterialLODSettings.bOpacityMap && (MaximumSize.X < InMaterialLODSettings.OpacityTextureSize.X)) ? InMaterialLODSettings.OpacityTextureSize : MaximumSize;
MaximumSize = (InMaterialLODSettings.bOpacityMaskMap && (MaximumSize.X < InMaterialLODSettings.OpacityMaskTextureSize.X)) ? InMaterialLODSettings.OpacityMaskTextureSize : MaximumSize;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
Material.RenderSize = MaximumSize;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
Material.SetPropertySize(EFlattenMaterialProperties::Diffuse, InMaterialLODSettings.DiffuseTextureSize);
Material.SetPropertySize(EFlattenMaterialProperties::Specular, InMaterialLODSettings.bSpecularMap ? InMaterialLODSettings.SpecularTextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Metallic, InMaterialLODSettings.bMetallicMap ? InMaterialLODSettings.MetallicTextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Roughness, InMaterialLODSettings.bRoughnessMap ? InMaterialLODSettings.RoughnessTextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Normal, InMaterialLODSettings.bNormalMap ? InMaterialLODSettings.NormalTextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Emissive, InMaterialLODSettings.bEmissiveMap ? InMaterialLODSettings.EmissiveTextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Opacity, InMaterialLODSettings.bOpacityMap ? InMaterialLODSettings.OpacityTextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::OpacityMask, InMaterialLODSettings.bOpacityMaskMap ? InMaterialLODSettings.OpacityMaskTextureSize : FIntPoint::ZeroValue);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
else if (InMaterialLODSettings.TextureSizingType == TextureSizingType_UseAutomaticBiasedSizes)
{
Material.RenderSize = InMaterialLODSettings.TextureSize;
int NormalSize = InMaterialLODSettings.TextureSize.X;
int DiffuseSize = FMath::Max(InMaterialLODSettings.TextureSize.X >> 1, 32);
int OtherSize = FMath::Max(InMaterialLODSettings.TextureSize.X >> 2, 16);
FIntPoint PropertiesSize = FIntPoint(OtherSize, OtherSize);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
Material.SetPropertySize(EFlattenMaterialProperties::Diffuse, FIntPoint(DiffuseSize, DiffuseSize));
Material.SetPropertySize(EFlattenMaterialProperties::Normal, (InMaterialLODSettings.bNormalMap) ? FIntPoint(NormalSize, NormalSize) : FIntPoint::ZeroValue);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
Material.SetPropertySize(EFlattenMaterialProperties::Specular, (InMaterialLODSettings.bSpecularMap) ? PropertiesSize : FIntPoint::ZeroValue );
Material.SetPropertySize(EFlattenMaterialProperties::Metallic, (InMaterialLODSettings.bMetallicMap) ? PropertiesSize : FIntPoint::ZeroValue );
Material.SetPropertySize(EFlattenMaterialProperties::Roughness, (InMaterialLODSettings.bRoughnessMap) ? PropertiesSize : FIntPoint::ZeroValue );
Material.SetPropertySize(EFlattenMaterialProperties::Emissive, (InMaterialLODSettings.bEmissiveMap) ? PropertiesSize : FIntPoint::ZeroValue );
Material.SetPropertySize(EFlattenMaterialProperties::Opacity, (InMaterialLODSettings.bOpacityMap) ? PropertiesSize : FIntPoint::ZeroValue );
Material.SetPropertySize(EFlattenMaterialProperties::OpacityMask, (InMaterialLODSettings.bOpacityMaskMap) ? PropertiesSize : FIntPoint::ZeroValue);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Merging from //UE4/Fortnite-Staging up to CL#3673800 based on CL#3664064 from //Fortnite/Main #rb none #lockdown Nick.Penwarden ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS AND/OR RESTRICTED FOLDERS. YOU MUST REVIEW THESE MANUALLY AND APPEND THEM TO THE DESCRIPTIONS FOR THE APPROPRIATE PLATFORMS. ================================================================================================= Change 3662267 by Nick.Darnell Engine - Fixing a bug in GetAccurateRealTime, it wasn't subtracting GStartTime, which if you don't prevents accurate platform time when you try to store it in a float. #jira nojira Change 3662176 by Ben.Marsh Disable image integrity report generation if a debugger is attached, and in editor builds. #jira FORT-55656 Change 3656958 by Luke.Thatcher [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 (D3D12.SyncInterval, D3D11.SyncInterval, r.PS4FlipRate, RHI.SyncIntervalOgl) into one: rhi.SyncInterval - 1 == 60Hz - 2 == 30Hz - 3 == 20Hz [-] Removed large number in XboxOneTime. Adding this arbitrary number prevents us from comparing timestamps from FPlatformTime::Seconds() and various OS callbacks (e.g. flip timings). #jira FORT-50803 Change 3655598 by Lukasz.Furman added filtering for navmesh's low height spans to fix crash on layer partitioning % of span reductions depends on presence of stair or roof building in navmesh tile, changed failsafes in layer code to ignore entire tile if heightfield is too complex to partition instead of reallocating memory #jira FORT-35375 Change 3648972 by Keith.Judge Add analytics to help diagnose default parameter collection buffer issue. +++ REMOVE ONCE CORE ISSUE IS SOLVED +++ #jira FORT-54690 Change 3648756 by Bart.Hawthorne Integrate 3645298 from //UE4/Dev-Networking Deprecate GetNetworkObjectInfo in favor of separate FindNetworkObjectInfo and FindOrCreateNetworkObjectInfo methods. #jira none Change 3643090 by Josh.Markiewicz #UE4 - proper handling of "pending connection lost" - triggered only if a connection is lost and there no "owning actor" to deal with the connection loss -- added Rejoin and CleanedUp states to connection to make sure that the pending connection lost delegate only fires at the appropriate time - delegate returns the unique id of the player if known (still possible to be unknown if connection lost after NMT_Hello) - changed debug output on timeout if the net connection was already in the process of being destroyed -- occurs when game hitches during the pending destroy 2 second wait -- ReceivedAcks should have been called to clean things up quietly in those 2 seconds but blocking the game thread will cause the cleanup to look like a timeout - added userid to UNetConnection::Describe - bad split screen player handling of unique id -- splitscreen uniqueid was overwriting the primary player id -- only store the id on the child connection - added some clarifying comments #review-3642816 @ryan.gerleve, @bob.tellez, @sam.zamani, @bart.hawthorne, @dave.ratti #jira FORT-26776 Change 3639043 by Alex.Thurman Fix CommonTreeView SetSelection to correctly update list navigation, and behave similarly to CommonListView's SetSelectedItem. #JIRA FORT-45841 Change 3632275 by Seth.Weedin #JIRA FORT-54203 - Add clamps to ActiveSound fade interpolation to prevent unwanted volume spikes. Remove 0.01 start time for single-fire audio cues. Should remove the sudden pops sometimes heard when firing weapons, as well as smooth out fade volume in general. Change 3626944 by Josh.Markiewicz #UE4 - added "updates connection status" flag to ServiceConfigMCP - disable updates on Cloud and Friend services (Fortnite only) - removed overloaded ProcessConnectionStatus function in cloud service #jira FORT-53113 Change 3626226 by Stewart.Lynch LLM Update - Memory reductions, Summary page, enum scopes, refactor and cleanup of tags * Remove all static arrays and hard limits from LLM. Everything is now dynamically allocated using the internal LLM allocators. The overhead when LLM is disabled is now only 48K (was 40MB) * re-wrote LLMMap. Now stores an int32 index rather then pointer in the HashMap array. Also, changed the Values to be arrays for structs instead of structs of arrays. Means that the tag can be stored in a single byte. Changed the size of the allocation size from int64 to int32. All this takes the memory down from around 600MB to 100MB. It was 120 bytes per allocation, now 29 bytes. * changed all LLM scopes over to enums. This has a number of benefits; LLM can be enable in Test, less CPU overhead, stored in a byte (LLM overhead /= 8) * summary page for content creators where all lower-level stats are grouped under one Engine stat * renamed ELLMScopeTag enum to ELLMTag * renamed LLM_SCOPED_TAG_WITH_ENUM macro to LLM_SCOPE * removed Tracker arg from LLM_SCOPE and added LLM_PLATFORM_SCOPE macro * fixed GenericPlatformMallocCrash stat. Although it seems not be be used anymore * fixed BackupOOMMemoryPool stat (now shows in both default and platform pages) * added separate LLM enums for XB1, PS4 and D3D12 (PS4LLM.cpp/h etc.) * lots of changes adding/removing/renaming tags * added LLMArray and FLLMObjectAllocator classes * disabled asset tag tracking by default because it takes up so much memory even when not used * enable LLM in all non-shipping builds. In Test the on screendisplay won't show because it uses the stats system but it till still write out the csv. * all the stat macros have been left as they were and can be enabled on the LLM_STAT_TAGS_ENABLED define. These are needed for the asset tagging. * disabled LLM_TRACK_PEAK_MEMORY because there is a problem with the way it adds the peaks for multiple threads. This needs to be fixed. * added a CVar to control the csv write interval: LLM.LLMWriteInterval * added static arrays for the enum tags setup. Easier to manage and removes need for slow switch statements. * renamed FLLMThreadStateManager to FLLMTracker to make it consistent with the enum * fixed program size stat which was broken recently on PS4. This was due to initialisation order and global platform stats setup #jira NONE-01 Change 3622978 by Lukasz.Furman changed WeaponStatus BT decorator to be event driven, fixes AI trying to check ranged weapon abilities without valid weapon includes copy of CL# 3620700 #jira FORT-45914 #review-3622979 John.Abercrombie Change 3622340 by Josh.Markiewicz #UE4 - playerid netconnection variable setup properly on clients and servers for both beacons and game net drivers - ipconnection prints uniqueid with lowleveldescribe #jira fort-0 Change 3621386 by Tim.Tillotson Add the ability to retry HTTP operations by VERB. This allows us to automatically retry cloud save PUT operations. #JIRA FORT-53717 #review-3621317 @Josh.Markiewicz @Ian.Fox @Carlos.Cuello Change 3620517 by Keith.Judge Xbox One - Revert iOS behaviour for the depth bias back to how it was, and make separate XB1 change use its own define to avoid confusion. #jira FORT-53928 Change 3620248 by Lukasz.Furman changed behavior of UBTTask_MoveTo.bStopOnOverlap flag after recent AcceptanceRadius fix, updated comments to be more detailed #jira nojira Change 3616187 by Bob.Tellez #UE4 Throwing an error (for now) if you attempt to use both the malloc profiler and leak detection at the same time since it causes a deadlock. #JIRA UE-0 Change 3613935 by Peter.Knepley More logging on update launcher launching #jira nojira #robomerge rp rn Change 3613537 by Marcus.Wassmer Safety asserts around the MarkPendingKill feature for rendering classes. #jira FORT-50385 Change 3613399 by Arne.Schober Extended ShowMaterialDrawEvents to enable it only in very specific passes and default enabled Depth for Fortnite on PS4 to track down a crash. #RB Marcus.Wassmer #jira FORT-53610 Change 3610794 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce UMG class memory #jira UE-52043 #ROBOMERGE-SOURCE: CL 3610792 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3610144 by Stewart.Lynch General LLM improvements * added tracking for misc task graph tasks (moves 20MB out of Untagged) * renamed EngineTick to EngineMisc * added tracking for FName * added tracking for GC_ProcessObjectArray potential leak * renamed index & vertex buffers stat to Meshes * added hooks for MemPro to track allocations from a single category. Currently defined out. I haven't added MemPro.cpp/h. * removed AVAILABLE_PHYSICAL stat from LLM csv * csv files now include the date in the filename * fixed potential threading bug when reading stat values to csv * made IsDebugMemoryEnabled() always return false in shipping and if not runnong on a dev-kit (PS4). The reason is that the function is a bit hacky, and should only be used for debug purposes, such as displaying the on screen warning. * added lots more scopes * started changing Stat scopes to enum scopes. Stat scopes will be phased out. * added tracking of FName memory * added llmplatform tracking for XBoxSymbols * added llm tracking for CPU symbol allocations (20MB) * wrote an allocator for XBoxOneStack reading so that it doesn't go through Malloc and get tracked by LLM. * added tracking for GC * fixed tracking for TransientMemoryAllocator * added tracking for networking memory * added more audio memory tracking * added tracking for blueprints * added tracking for static meshes * show on screen warning if debug memory is enabled * added tracking for particles * renamed Phys to PhysX and added more scopes * renamed Slate to UI and added more scopes * much better coverage of networking memory * improved coverage of audio #jira FORT-53420 Change 3610136 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce size of UStaticMeshComponent by 224 bytes (cumulative, 64 bytes exclusive) Reduce size of UPrimitiveComponent by 176 bytes (cumulative, 64 bytes exclusive). Reduce size of USceneComponent by 112 bytes. Reduce size of FLightingChannels from 3 bytes to 1. Reduce size of FBodyInstance by 16 bytes. #jira FORT-52043 #ROBOMERGE-SOURCE: CL 3610134 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607937 by robomerge #ROBOMERGE-AUTHOR: paul.moore #jira FORT-53105 - Fix websocket not providing information when the peer closes the connection. #ROBOMERGE-SOURCE: CL 3607933 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607042 by Bart.Hawthorne Move replay.Loop functionality into the demo net driver and rename it demo.Loop #jira none Change 3605448 by robomerge #ROBOMERGE-AUTHOR: seth.weedin #Athena - Pass owner to ActiveSounds created using PlaySoundAtLocation/PlaySound2D to allow "Limit to Owner" concurrency rules to work. Hook up for weapon sounds. #JIRA FORT-53180 #ROBOMERGE-SOURCE: CL 3605443 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3604787 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Initial support for hotfixing live assets from .ini files - This allows clients and server to patch certain assets in memory whenever .ini file hotfixes are downloaded - Only CurveTables and DataTables are supported for now - The new asset content must be in Json format, the same format the editor uses for importing - Assets that are hotfixed will be synchronously loaded if they're not already in memory. They'll be retained in memory afterwards. - IMPORTANT: Json data must be supplied on a single line, and all double quotes must be escaped! - The changes must go in the Game.ini file and use the following syntax: [AssetHotfix] +CurveTable=("/Game/Folder/MyCurveTable","[{\"Name\":\"Default\"}]") +DataTable=("/Game/Folder2/MyDataTable","[{\"Name\":\"Foo\"}]") #jira FORT-52099 [CODEREVIEW] frank.gigliotti [FYI] peter.knepley,bob.tellez #ROBOMERGE-SOURCE: CL 3604784 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3602067 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Loading time improvements - This shaves off up to 10 seconds of load time on PS4 in Athena Details: - Fixed multiple sub-levels not being able to be enqueued for loading in a single client frame. Athena has ~300 sub-levels, so this ended up wasting up many seconds. - Fixed 3D world being rendered while loading (frees up game thread cycles for throttled streaming) - UWorld::AllowLevelLoadRequests() was not allowing load requests to go through while an async load was in progress and the match had started. It now allows this as long as the world isn't being rendered (loading screen.) - Eliminated extra 2 second delay before loading screen is dismissed (in Athena only) - Note: A side effect of this change is that the progress bar may not update as smoothly on loading screen. We'll look at tuning the throttle settings if it ends up being a problem. [CODEREVIEW] ori.cohen #jira AT-1477 #ROBOMERGE-SOURCE: CL 3602061 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3601951 by Luke.Thatcher [FORTNITE] [PS4] [!] Fix memory stats in the old PS4 memory system - Physical memory stat now includes garlic and onion allocations. CPU OOMs will result in "AvailablePhysical" being close to 0. - Added garlic, onion and defrag stats to the platform memory stats struct. - Added fixed pool sizes to platform memory stats. - Modified the Fortnite heartbeat logging to include extra details of PS4 fixed sized pools. #jira FORT-52910 Change 3600340 by robomerge #ROBOMERGE-AUTHOR: wes.hunt All Fort analytics events now contain a GameState attribute indicating the active GameState ClassName when the event is sent. Added some new context to crashreporter to help identify Athena matches near and long term. * Near Term: GameNameSuffix - set via FCoreDelegates::CrashOverrideParamsChanged * Added bools to the params to indicate WHICH ones are changing * Allows you to set only some values, and clear them out. * Hooked up in FortGameState::PostInitializeComponents. * FortGameState clears it (for returning to main menu). * FortGameStateAthena sets it (for going into an Athena match). * Only does this when it's a true GameMode GameState instance (ie, not PIE) so PIE crashes aren't modified. * Long Term: GameStateName - set via FCoreDelegates::GameStateClassChanged. * This works for ANY crash on ANY game. * Hooked up in GameState::HandleMatchIsWaitingToStart. #jira AT-1457 #jira AT-519 [CODEREVIEW] peter.knepley,josh.markiewicz #ROBOMERGE-SOURCE: CL 3600278 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3597593 by Ben.Zeigler #jira FORT-50722 Fix issues where AssetBundles weren't being correctly updated during cook, which is blocking both Noland and Abercrombie Partial copy of CL #3402335 and #3526538 #robomerge rp, rn Change 3597577 by Luke.Thatcher [FORTNITE] [PS4] [~] Modified the way memory is allocated on Playstation to make more memory available to the CPU. - Previously the amount of texture memory wasn╞t fixed due to the way the defrag memory is allocated on PS4. This meant we had to have a significant amount of slack. - With the new configuration, we have a guaranteed texture memory pool, so the slack can be significantly smaller, meaning we can give more memory to the CPU, which is where most of our memory pressure is. #jira FORT-50825 #jira FORT-49688 #jira FORT-49695 #jira FORT-50054 Change 3596556 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Enable GC clustering for actors and blueprints in Fortnite - This shaves off about 10 ms on GC frames in Athena on PS4 (~52 ms -> 42 ms) - Clustering doesn't work on building actors because they're very dynamic, but general Fort static meshes and blueprints are clustered! - This gets us into the realm of shippability on console for very large UObject counts [FYI] bob.tellez,peter.knepley,michael.noland #jira AT-1440 #ROBOMERGE-SOURCE: CL 3596552 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3593994 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Force largest distance field atlas size in Athena - We now force the largest distance field atlas size before preloading Athena content (512x512x1024 = 256 MB). This helps with load times because it's expensive to re-create this texture on consoles, and typically it gets resized over a dozen times. - Added new CVar "r.DistanceFields.ForceMaxAtlasSize" (defaults to zero) - Important: Currently we never "reset" this atlas texture. This will be a problem when going back to play Campaigns after preloading to play Athena. I will look into this soon! [CODEREVIEW] peter.knepley,marcus.wassmer,michael.noland,daniel.wright #jira AT-1477 #ROBOMERGE-SOURCE: CL 3593992 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592096 by robomerge #ROBOMERGE-AUTHOR: ben.salem Prototype of gauntlet memory soak test. Not fully fiinished, but want changes in tonight's cook so we can experiment on cooked build tomorrow morning. #jira FORT-0 #ROBOMERGE-SOURCE: CL 3592025 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592085 by robomerge #ROBOMERGE-AUTHOR: mike.fricker HLOD: Added support for a fixed distance override via CVar - Use this to force all HLODs to transition at a specific distance, regardless of their TransitionSize/MinDrawDistance/LODDrawDistance - New CVar: r.HLOD.DistanceOverride (defaults to 0) - Fortnite uses 350m for this distance, fornow [CODEREVIEW] jurre.debaare #jira AT-1462 #ROBOMERGE-SOURCE: CL 3591929 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3587391 by Michael.Noland Fortnite: Lots of memory tracking stuff - Added memory logging to game state transitions and overall health tracking for the entire session - Added support for Gauntlet-based tests to Fortnite - Enabled the Gauntlet plugin (and fixed spaces instead of tabs in the .uproject file) - Added code to set gauntlet state based on the current subclass of AFortGameState - Added a base controller and a memory report controller (WIP, ported from equivalents in Paragon) - Updated FortniteClient to use MALLOC_LEAKDETECTION=1, PLATFORM_USES_FIXED_GMalloc_CLASS=0, and AllowASLRInShipping=false in Development builds (may enable them in Test builds in a future CL, to match Paragon) #jira FORT-50567 Change 3583307 by Peter.Knepley Need non-jittered ViewToClip matrix in order to do "after tonemapper" postprocess blendable material that's positioned in view space Modify the AttachScope material function to use "ViewSpaceTransformToClipSpace" instead of going back to world space first. This also means it can utilitize the ViewToClipNoAA matrix. #jira AT-733 Change 3582378 by Luke.Thatcher [FORTNITE] [~] Unify Xbox and PS4 scalability settings and device profiles. - All Xbox and PS4 r. CVars are overriden in their platform's Scalability.ini file. The device profile only selects sg. groups. - Fixed the Neo 4K profile for Fortnite. Previously players with 4K monitors would choose the Neo_4K profile, which looks worse than Neo, but still renders at 1080p. - Console specific settings have to live in the Base/Default .ini's, as the cooker doesn't load the console specific files. This is fixed in UE4 Main. #jira FORT-50206 Change 3580934 by Luke.Thatcher [FORTNITE] [PS4] [+] Support different garlic and onion heap sizes in the old memory system for base and neo. - Neo has 512 MB more direct memory than a base kit. - Increased the garlic heap size by 416 MB on Neo, and CPU heap by 96 MB. #jira FORT-50206 Change 3576664 by Bart.Hawthorne Re-enable Oodle and add Mac implementation. Also includes fixed oodle libraries by MichaelT. #jira FORT-49986 #tests Connected to PC server with editor -game build on Mac in Athena Change 3575671 by Nick.Darnell Athena - The gameplay ability system now supports adding Gameplay Cue's with params. Now using cues instead of gameplay effects in order to notify when the bandaging/shielding begin and end. THe new method should properly show and disappear on time, b/c it's all client side. Added a way in the Athena Context to easily hook gameplay "UI" cues that are rebroadcast from the Athena Pawn. #jira AT-644 Change 3575534 by Peter.Knepley Ability montage replication optimizations #jira AT-955 Change 3573305 by Lukasz.Furman disabled path section update when crowd simulated AI is moving through navlink, fixed AI getting stuck in some corners #jira FORT-49748 Change 3566775 by John.Abercrombie Optimizations from Dev-Athena - Tested with PIE & and 2 Player local server game #ue4-athena - (merge CLs 3345771 and 3363030 from Framework) - Refactored CharacterMovementComponent determination of net send rate when combining moves into a virtual function GetClientNetSendDeltaTime(). Added configurable values to GameNetworkManager under [/Script/Engine.GameNetworkManager]. For Fortnite, set unthrottled (<= 10 player) limit to 60Hz (from 90Hz), and trying throttled at 30Hz (from 45Hz). #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545535 by Zak.Middleton on 2017/07/19 20:15:17. #ue4-athena - (merge CL 3377054 from Framework) - Fix CharacterMovementComponent updated with very high delta time on server when initially joining. Make sure the ServerTimeStamp is initialized to current world time rather than zero to prevent large delta. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545452 by Zak.Middleton on 2017/07/19 18:57:45. #athena - If network smoothing mode is not linear, don't replicate ReplicatedServerLastTransformUpdateTimeStamp. Only AI use linear smoothing in FN. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545559 by Zak.Middleton on 2017/07/19 20:47:18. #ue4-athena - Converted all RPCs on UCharacterMovementComponent to be on ACharacter instead, to avoid the bandwidth overhead of calling RPCs on a component. Existing overrides of _Implementation and _Validate functions should remain unchanged. If for some reason someone overrode the old RPC virtuals, those are now non-virtual on UCharacterMovementComponent but are still virtual on ACharacter. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3557564 by Zak.Middleton on 2017/07/26 20:13:43. #ue4-athena - Throttle character movement server corrections and acks to the client based on time since last adjustment. Cuts down on network traffic for character movement. Added configurable settings to control this. Set times to zero to disable this. - NetworkMinTimeBetweenClientAckGoodMove - NetworkMinTimeBetweenClientAdjustments - NetworkMinTimeBetweenClientAdjustmentsLargeCorrection - NetworkLargeClientCorrectionDistance #ue4-athena - Perf: (EditMerge CL 3492200 from Dev-Framework): Always reset the input array in AActor::GetComponents(), but do so without affecting allocated size. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561669 by Zak.Middleton on 2017/07/28 14:16:19. #ue4-athena - Perf: (EditMerge CL 3468253 from Dev-AnimPhys): Remove the need for calling constructors for physx PxRaycastHit in the dynamic hit result buffer. Saves 30% of the cost of doing small raycasts. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561672 by Zak.Middleton on 2017/07/28 14:17:12. #ue4-athena - Perf: (EditMerge CL 3359553 from Dev-Framework): Optimization in CharacterMovement tick to not extract transform values twice. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561674 by Zak.Middleton on 2017/07/28 14:18:04. #ue4-athena - Perf: (EditMerge CL 3426174 from Dev-Framework): Avoid call to virtual getSimulationFilterData() to only use it when needed in PreFilter if we actually have items in the IgnoreComponents list (which is rare). The sim filter data 'word2' stores the component ID. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561709 by Zak.Middleton on 2017/07/28 14:32:11. #ue4-athena - Perf: (EditMerge CL 3382054 from Dev-Framework): Optimize CharacterMovementComponent::GetPredictionData_Client_Character() and GetPredictionData_Server_Character() to remove virtual calls. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561856 by Zak.Middleton on 2017/07/28 15:11:57. #ue4-athena - Use less bandwidth for CharacterMovement RPCs when the character is not standing on any component (ie during jumps and falling). Added separate "...NoBase()" versions of ServerMove() and ServerMoveDual(). Undid part of 3557564 and restored the CMC functions to be virtual, and removed virtual keyword from matching Character functions, so that overrides are in one consistent place. Also guarantees backwards compat for licensees. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3564858 by Zak.Middleton on 2017/07/31 15:24:39. #jira Fort-1 Change 3562825 by Chris.Gagnon Added CommonCustomNavigation Widget, this widget can be used to capture navigation requests to handle in custom ways. #jira FORT-0 Change 3562098 by Josh.Markiewicz #UE4 Encryption token/ack changes - moved encryption token request/ack to delegates - moved FNetworkNotify to NetworkDelegates.h - moved connection logic out of GameInstance and back into networking code -- GameInstance sends an enum and the network code does the right thing based on that #review-3559694 @ryan.gerleve #tests PC dedicated server connections golden path and forced failures #jira FORT-0 Change 3559354 by Luke.Thatcher [FORTNITE] [PS4] [^] Merging (as edit) support for setting flip rate on PS4 (CLs 3555687 and 3558843) from //Fortnite/Dev-Athena/... to //Fortnite/Main/... - Allowed rates are now 60Hz, 30Hz and 20Hz. - Exposed by r.PS4FlipRate CVar, set to 60Hz by default. Requires r.Vsync 1. #jira FORT-49463 Change 3532644 by Jeff.Campeau Fix mapping current culture to movie audio channels using data table to map languages to track indices. Don't rewind cinematics (they all start from the begining because we load them and play them once). Seeks cause us to have to redecode video frames at a large perf cost. Delay cutscene playback by 0.5 seconds to give us time to build up a buffer of decoded video. (Temporary workaround for audio/video sync). Generic implementation for getting current languages in BP. Fix more issues with calling into media source functionality when using the source reader (potential hangs). #jira FORT-44376,FORT-48209,FORT-48040 #testedon Preflight from last night combined with Bob's changes from today clear all known issues. This change tested on Xbox and PC multiple times each. Change 3527761 by Chris.Gagnon Fixed various issues in the widget switcher, also added Advanced calls that allow the user to specify if activation/deactivation should occur. #jira FORT-47988, FORT-47984 Change 3525390 by Jeff.Campeau Remove media player log spam #jira FORT-47393 #testedon compiled client Change 3518692 by Chris.Gagnon Added CleanOperation Adding which will remove unneeded op combinations from the op queue. Also added the ability to suspend starting operation queue processing to allow complex operations to accumulate and in turn allow the Clean Op adding code to be effective. GameFeedback, and the widget switcer utilize this to avoid unnesacary activations of a screen that is immediately being deactivated. Root issue of the mentioned bug is that activation of the quest screen created a latent navigation du to the deferal of scrolling into view. This is still an issue in general, there isn't much we can do about it. Other than avoid activating a panel that will deactivated that frame as we did with the code changes in this CL. #jira FORT-47395 Change 3514658 by Jeff.Campeau Fixed a media player threading issue where the OnMediaOpened event could be called before the media Init script completed. Moved the event Cinematic used when setting up and playing media after media file load to use a delayed event from the MovieWidget so that it will always happen after the movie widget processing. Fixed an issue that could cause samples to leak in MfMedia plugin and cause ReadSample to lockup. Fixed an issue where a default texture is displayed for movies before the movie starts playing (the player may be active before the first frame of the video is decoded). Default is now all black as it is expected that this texture will be displayed for several frames. #jira FORT-46801 #testedon Xbox through rocket launch cinematic including vintertip for stairs, skill tree nodes, and victory result video Change 3507896 by Ryan.Gerleve Changed the net.UseEncryptionToken to be more useful and renamed it to net.AllowEncryption. This cvar, if 0, will prevent the PacketHandler from adding the configured encryption component, and prevent UPendingNetGame and AOnlineBeaconClient from filling out the EncryptionToken parameter of NMT_Hello - which prevents the extra encryption handshake connection step. #jira FORT-46878 #review-3507897 @josh.markiewicz Change 3503928 by Ryan.Gerleve Add safety checks around some of the encryption functionality. Fixes a server crash seen during load testing. #jira FORT-46772 #review-3503929 bob.tellez #robomerge ReleaseNext [CL 3673993 by Bob Tellez in Main branch]
2017-09-30 03:42:01 -04:00
else if (InMaterialLODSettings.TextureSizingType == TextureSizingType_UseSingleTextureSize)
{
Material.RenderSize = InMaterialLODSettings.TextureSize;
Material.SetPropertySize(EFlattenMaterialProperties::Diffuse, InMaterialLODSettings.TextureSize);
Material.SetPropertySize(EFlattenMaterialProperties::Specular, (InMaterialLODSettings.bSpecularMap) ? InMaterialLODSettings.TextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Metallic, (InMaterialLODSettings.bMetallicMap) ? InMaterialLODSettings.TextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Roughness, (InMaterialLODSettings.bRoughnessMap) ? InMaterialLODSettings.TextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Normal, (InMaterialLODSettings.bNormalMap) ? InMaterialLODSettings.TextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Emissive, (InMaterialLODSettings.bEmissiveMap) ? InMaterialLODSettings.TextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::Opacity, (InMaterialLODSettings.bOpacityMap) ? InMaterialLODSettings.TextureSize : FIntPoint::ZeroValue);
Material.SetPropertySize(EFlattenMaterialProperties::OpacityMask, (InMaterialLODSettings.bOpacityMaskMap) ? InMaterialLODSettings.TextureSize : FIntPoint::ZeroValue);
Merging from //UE4/Fortnite-Staging up to CL#3673800 based on CL#3664064 from //Fortnite/Main #rb none #lockdown Nick.Penwarden ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS AND/OR RESTRICTED FOLDERS. YOU MUST REVIEW THESE MANUALLY AND APPEND THEM TO THE DESCRIPTIONS FOR THE APPROPRIATE PLATFORMS. ================================================================================================= Change 3662267 by Nick.Darnell Engine - Fixing a bug in GetAccurateRealTime, it wasn't subtracting GStartTime, which if you don't prevents accurate platform time when you try to store it in a float. #jira nojira Change 3662176 by Ben.Marsh Disable image integrity report generation if a debugger is attached, and in editor builds. #jira FORT-55656 Change 3656958 by Luke.Thatcher [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 (D3D12.SyncInterval, D3D11.SyncInterval, r.PS4FlipRate, RHI.SyncIntervalOgl) into one: rhi.SyncInterval - 1 == 60Hz - 2 == 30Hz - 3 == 20Hz [-] Removed large number in XboxOneTime. Adding this arbitrary number prevents us from comparing timestamps from FPlatformTime::Seconds() and various OS callbacks (e.g. flip timings). #jira FORT-50803 Change 3655598 by Lukasz.Furman added filtering for navmesh's low height spans to fix crash on layer partitioning % of span reductions depends on presence of stair or roof building in navmesh tile, changed failsafes in layer code to ignore entire tile if heightfield is too complex to partition instead of reallocating memory #jira FORT-35375 Change 3648972 by Keith.Judge Add analytics to help diagnose default parameter collection buffer issue. +++ REMOVE ONCE CORE ISSUE IS SOLVED +++ #jira FORT-54690 Change 3648756 by Bart.Hawthorne Integrate 3645298 from //UE4/Dev-Networking Deprecate GetNetworkObjectInfo in favor of separate FindNetworkObjectInfo and FindOrCreateNetworkObjectInfo methods. #jira none Change 3643090 by Josh.Markiewicz #UE4 - proper handling of "pending connection lost" - triggered only if a connection is lost and there no "owning actor" to deal with the connection loss -- added Rejoin and CleanedUp states to connection to make sure that the pending connection lost delegate only fires at the appropriate time - delegate returns the unique id of the player if known (still possible to be unknown if connection lost after NMT_Hello) - changed debug output on timeout if the net connection was already in the process of being destroyed -- occurs when game hitches during the pending destroy 2 second wait -- ReceivedAcks should have been called to clean things up quietly in those 2 seconds but blocking the game thread will cause the cleanup to look like a timeout - added userid to UNetConnection::Describe - bad split screen player handling of unique id -- splitscreen uniqueid was overwriting the primary player id -- only store the id on the child connection - added some clarifying comments #review-3642816 @ryan.gerleve, @bob.tellez, @sam.zamani, @bart.hawthorne, @dave.ratti #jira FORT-26776 Change 3639043 by Alex.Thurman Fix CommonTreeView SetSelection to correctly update list navigation, and behave similarly to CommonListView's SetSelectedItem. #JIRA FORT-45841 Change 3632275 by Seth.Weedin #JIRA FORT-54203 - Add clamps to ActiveSound fade interpolation to prevent unwanted volume spikes. Remove 0.01 start time for single-fire audio cues. Should remove the sudden pops sometimes heard when firing weapons, as well as smooth out fade volume in general. Change 3626944 by Josh.Markiewicz #UE4 - added "updates connection status" flag to ServiceConfigMCP - disable updates on Cloud and Friend services (Fortnite only) - removed overloaded ProcessConnectionStatus function in cloud service #jira FORT-53113 Change 3626226 by Stewart.Lynch LLM Update - Memory reductions, Summary page, enum scopes, refactor and cleanup of tags * Remove all static arrays and hard limits from LLM. Everything is now dynamically allocated using the internal LLM allocators. The overhead when LLM is disabled is now only 48K (was 40MB) * re-wrote LLMMap. Now stores an int32 index rather then pointer in the HashMap array. Also, changed the Values to be arrays for structs instead of structs of arrays. Means that the tag can be stored in a single byte. Changed the size of the allocation size from int64 to int32. All this takes the memory down from around 600MB to 100MB. It was 120 bytes per allocation, now 29 bytes. * changed all LLM scopes over to enums. This has a number of benefits; LLM can be enable in Test, less CPU overhead, stored in a byte (LLM overhead /= 8) * summary page for content creators where all lower-level stats are grouped under one Engine stat * renamed ELLMScopeTag enum to ELLMTag * renamed LLM_SCOPED_TAG_WITH_ENUM macro to LLM_SCOPE * removed Tracker arg from LLM_SCOPE and added LLM_PLATFORM_SCOPE macro * fixed GenericPlatformMallocCrash stat. Although it seems not be be used anymore * fixed BackupOOMMemoryPool stat (now shows in both default and platform pages) * added separate LLM enums for XB1, PS4 and D3D12 (PS4LLM.cpp/h etc.) * lots of changes adding/removing/renaming tags * added LLMArray and FLLMObjectAllocator classes * disabled asset tag tracking by default because it takes up so much memory even when not used * enable LLM in all non-shipping builds. In Test the on screendisplay won't show because it uses the stats system but it till still write out the csv. * all the stat macros have been left as they were and can be enabled on the LLM_STAT_TAGS_ENABLED define. These are needed for the asset tagging. * disabled LLM_TRACK_PEAK_MEMORY because there is a problem with the way it adds the peaks for multiple threads. This needs to be fixed. * added a CVar to control the csv write interval: LLM.LLMWriteInterval * added static arrays for the enum tags setup. Easier to manage and removes need for slow switch statements. * renamed FLLMThreadStateManager to FLLMTracker to make it consistent with the enum * fixed program size stat which was broken recently on PS4. This was due to initialisation order and global platform stats setup #jira NONE-01 Change 3622978 by Lukasz.Furman changed WeaponStatus BT decorator to be event driven, fixes AI trying to check ranged weapon abilities without valid weapon includes copy of CL# 3620700 #jira FORT-45914 #review-3622979 John.Abercrombie Change 3622340 by Josh.Markiewicz #UE4 - playerid netconnection variable setup properly on clients and servers for both beacons and game net drivers - ipconnection prints uniqueid with lowleveldescribe #jira fort-0 Change 3621386 by Tim.Tillotson Add the ability to retry HTTP operations by VERB. This allows us to automatically retry cloud save PUT operations. #JIRA FORT-53717 #review-3621317 @Josh.Markiewicz @Ian.Fox @Carlos.Cuello Change 3620517 by Keith.Judge Xbox One - Revert iOS behaviour for the depth bias back to how it was, and make separate XB1 change use its own define to avoid confusion. #jira FORT-53928 Change 3620248 by Lukasz.Furman changed behavior of UBTTask_MoveTo.bStopOnOverlap flag after recent AcceptanceRadius fix, updated comments to be more detailed #jira nojira Change 3616187 by Bob.Tellez #UE4 Throwing an error (for now) if you attempt to use both the malloc profiler and leak detection at the same time since it causes a deadlock. #JIRA UE-0 Change 3613935 by Peter.Knepley More logging on update launcher launching #jira nojira #robomerge rp rn Change 3613537 by Marcus.Wassmer Safety asserts around the MarkPendingKill feature for rendering classes. #jira FORT-50385 Change 3613399 by Arne.Schober Extended ShowMaterialDrawEvents to enable it only in very specific passes and default enabled Depth for Fortnite on PS4 to track down a crash. #RB Marcus.Wassmer #jira FORT-53610 Change 3610794 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce UMG class memory #jira UE-52043 #ROBOMERGE-SOURCE: CL 3610792 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3610144 by Stewart.Lynch General LLM improvements * added tracking for misc task graph tasks (moves 20MB out of Untagged) * renamed EngineTick to EngineMisc * added tracking for FName * added tracking for GC_ProcessObjectArray potential leak * renamed index & vertex buffers stat to Meshes * added hooks for MemPro to track allocations from a single category. Currently defined out. I haven't added MemPro.cpp/h. * removed AVAILABLE_PHYSICAL stat from LLM csv * csv files now include the date in the filename * fixed potential threading bug when reading stat values to csv * made IsDebugMemoryEnabled() always return false in shipping and if not runnong on a dev-kit (PS4). The reason is that the function is a bit hacky, and should only be used for debug purposes, such as displaying the on screen warning. * added lots more scopes * started changing Stat scopes to enum scopes. Stat scopes will be phased out. * added tracking of FName memory * added llmplatform tracking for XBoxSymbols * added llm tracking for CPU symbol allocations (20MB) * wrote an allocator for XBoxOneStack reading so that it doesn't go through Malloc and get tracked by LLM. * added tracking for GC * fixed tracking for TransientMemoryAllocator * added tracking for networking memory * added more audio memory tracking * added tracking for blueprints * added tracking for static meshes * show on screen warning if debug memory is enabled * added tracking for particles * renamed Phys to PhysX and added more scopes * renamed Slate to UI and added more scopes * much better coverage of networking memory * improved coverage of audio #jira FORT-53420 Change 3610136 by robomerge #ROBOMERGE-AUTHOR: marc.audy Reduce size of UStaticMeshComponent by 224 bytes (cumulative, 64 bytes exclusive) Reduce size of UPrimitiveComponent by 176 bytes (cumulative, 64 bytes exclusive). Reduce size of USceneComponent by 112 bytes. Reduce size of FLightingChannels from 3 bytes to 1. Reduce size of FBodyInstance by 16 bytes. #jira FORT-52043 #ROBOMERGE-SOURCE: CL 3610134 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607937 by robomerge #ROBOMERGE-AUTHOR: paul.moore #jira FORT-53105 - Fix websocket not providing information when the peer closes the connection. #ROBOMERGE-SOURCE: CL 3607933 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3607042 by Bart.Hawthorne Move replay.Loop functionality into the demo net driver and rename it demo.Loop #jira none Change 3605448 by robomerge #ROBOMERGE-AUTHOR: seth.weedin #Athena - Pass owner to ActiveSounds created using PlaySoundAtLocation/PlaySound2D to allow "Limit to Owner" concurrency rules to work. Hook up for weapon sounds. #JIRA FORT-53180 #ROBOMERGE-SOURCE: CL 3605443 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3604787 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Initial support for hotfixing live assets from .ini files - This allows clients and server to patch certain assets in memory whenever .ini file hotfixes are downloaded - Only CurveTables and DataTables are supported for now - The new asset content must be in Json format, the same format the editor uses for importing - Assets that are hotfixed will be synchronously loaded if they're not already in memory. They'll be retained in memory afterwards. - IMPORTANT: Json data must be supplied on a single line, and all double quotes must be escaped! - The changes must go in the Game.ini file and use the following syntax: [AssetHotfix] +CurveTable=("/Game/Folder/MyCurveTable","[{\"Name\":\"Default\"}]") +DataTable=("/Game/Folder2/MyDataTable","[{\"Name\":\"Foo\"}]") #jira FORT-52099 [CODEREVIEW] frank.gigliotti [FYI] peter.knepley,bob.tellez #ROBOMERGE-SOURCE: CL 3604784 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3602067 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Loading time improvements - This shaves off up to 10 seconds of load time on PS4 in Athena Details: - Fixed multiple sub-levels not being able to be enqueued for loading in a single client frame. Athena has ~300 sub-levels, so this ended up wasting up many seconds. - Fixed 3D world being rendered while loading (frees up game thread cycles for throttled streaming) - UWorld::AllowLevelLoadRequests() was not allowing load requests to go through while an async load was in progress and the match had started. It now allows this as long as the world isn't being rendered (loading screen.) - Eliminated extra 2 second delay before loading screen is dismissed (in Athena only) - Note: A side effect of this change is that the progress bar may not update as smoothly on loading screen. We'll look at tuning the throttle settings if it ends up being a problem. [CODEREVIEW] ori.cohen #jira AT-1477 #ROBOMERGE-SOURCE: CL 3602061 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3601951 by Luke.Thatcher [FORTNITE] [PS4] [!] Fix memory stats in the old PS4 memory system - Physical memory stat now includes garlic and onion allocations. CPU OOMs will result in "AvailablePhysical" being close to 0. - Added garlic, onion and defrag stats to the platform memory stats struct. - Added fixed pool sizes to platform memory stats. - Modified the Fortnite heartbeat logging to include extra details of PS4 fixed sized pools. #jira FORT-52910 Change 3600340 by robomerge #ROBOMERGE-AUTHOR: wes.hunt All Fort analytics events now contain a GameState attribute indicating the active GameState ClassName when the event is sent. Added some new context to crashreporter to help identify Athena matches near and long term. * Near Term: GameNameSuffix - set via FCoreDelegates::CrashOverrideParamsChanged * Added bools to the params to indicate WHICH ones are changing * Allows you to set only some values, and clear them out. * Hooked up in FortGameState::PostInitializeComponents. * FortGameState clears it (for returning to main menu). * FortGameStateAthena sets it (for going into an Athena match). * Only does this when it's a true GameMode GameState instance (ie, not PIE) so PIE crashes aren't modified. * Long Term: GameStateName - set via FCoreDelegates::GameStateClassChanged. * This works for ANY crash on ANY game. * Hooked up in GameState::HandleMatchIsWaitingToStart. #jira AT-1457 #jira AT-519 [CODEREVIEW] peter.knepley,josh.markiewicz #ROBOMERGE-SOURCE: CL 3600278 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3597593 by Ben.Zeigler #jira FORT-50722 Fix issues where AssetBundles weren't being correctly updated during cook, which is blocking both Noland and Abercrombie Partial copy of CL #3402335 and #3526538 #robomerge rp, rn Change 3597577 by Luke.Thatcher [FORTNITE] [PS4] [~] Modified the way memory is allocated on Playstation to make more memory available to the CPU. - Previously the amount of texture memory wasn╞t fixed due to the way the defrag memory is allocated on PS4. This meant we had to have a significant amount of slack. - With the new configuration, we have a guaranteed texture memory pool, so the slack can be significantly smaller, meaning we can give more memory to the CPU, which is where most of our memory pressure is. #jira FORT-50825 #jira FORT-49688 #jira FORT-49695 #jira FORT-50054 Change 3596556 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Enable GC clustering for actors and blueprints in Fortnite - This shaves off about 10 ms on GC frames in Athena on PS4 (~52 ms -> 42 ms) - Clustering doesn't work on building actors because they're very dynamic, but general Fort static meshes and blueprints are clustered! - This gets us into the realm of shippability on console for very large UObject counts [FYI] bob.tellez,peter.knepley,michael.noland #jira AT-1440 #ROBOMERGE-SOURCE: CL 3596552 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3593994 by robomerge #ROBOMERGE-AUTHOR: mike.fricker Force largest distance field atlas size in Athena - We now force the largest distance field atlas size before preloading Athena content (512x512x1024 = 256 MB). This helps with load times because it's expensive to re-create this texture on consoles, and typically it gets resized over a dozen times. - Added new CVar "r.DistanceFields.ForceMaxAtlasSize" (defaults to zero) - Important: Currently we never "reset" this atlas texture. This will be a problem when going back to play Campaigns after preloading to play Athena. I will look into this soon! [CODEREVIEW] peter.knepley,marcus.wassmer,michael.noland,daniel.wright #jira AT-1477 #ROBOMERGE-SOURCE: CL 3593992 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592096 by robomerge #ROBOMERGE-AUTHOR: ben.salem Prototype of gauntlet memory soak test. Not fully fiinished, but want changes in tonight's cook so we can experiment on cooked build tomorrow morning. #jira FORT-0 #ROBOMERGE-SOURCE: CL 3592025 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3592085 by robomerge #ROBOMERGE-AUTHOR: mike.fricker HLOD: Added support for a fixed distance override via CVar - Use this to force all HLODs to transition at a specific distance, regardless of their TransitionSize/MinDrawDistance/LODDrawDistance - New CVar: r.HLOD.DistanceOverride (defaults to 0) - Fortnite uses 350m for this distance, fornow [CODEREVIEW] jurre.debaare #jira AT-1462 #ROBOMERGE-SOURCE: CL 3591929 in //Fortnite/Release-Prep/... #ROBOMERGE-BOT: FORTNITE (Release-Prep -> Main) Change 3587391 by Michael.Noland Fortnite: Lots of memory tracking stuff - Added memory logging to game state transitions and overall health tracking for the entire session - Added support for Gauntlet-based tests to Fortnite - Enabled the Gauntlet plugin (and fixed spaces instead of tabs in the .uproject file) - Added code to set gauntlet state based on the current subclass of AFortGameState - Added a base controller and a memory report controller (WIP, ported from equivalents in Paragon) - Updated FortniteClient to use MALLOC_LEAKDETECTION=1, PLATFORM_USES_FIXED_GMalloc_CLASS=0, and AllowASLRInShipping=false in Development builds (may enable them in Test builds in a future CL, to match Paragon) #jira FORT-50567 Change 3583307 by Peter.Knepley Need non-jittered ViewToClip matrix in order to do "after tonemapper" postprocess blendable material that's positioned in view space Modify the AttachScope material function to use "ViewSpaceTransformToClipSpace" instead of going back to world space first. This also means it can utilitize the ViewToClipNoAA matrix. #jira AT-733 Change 3582378 by Luke.Thatcher [FORTNITE] [~] Unify Xbox and PS4 scalability settings and device profiles. - All Xbox and PS4 r. CVars are overriden in their platform's Scalability.ini file. The device profile only selects sg. groups. - Fixed the Neo 4K profile for Fortnite. Previously players with 4K monitors would choose the Neo_4K profile, which looks worse than Neo, but still renders at 1080p. - Console specific settings have to live in the Base/Default .ini's, as the cooker doesn't load the console specific files. This is fixed in UE4 Main. #jira FORT-50206 Change 3580934 by Luke.Thatcher [FORTNITE] [PS4] [+] Support different garlic and onion heap sizes in the old memory system for base and neo. - Neo has 512 MB more direct memory than a base kit. - Increased the garlic heap size by 416 MB on Neo, and CPU heap by 96 MB. #jira FORT-50206 Change 3576664 by Bart.Hawthorne Re-enable Oodle and add Mac implementation. Also includes fixed oodle libraries by MichaelT. #jira FORT-49986 #tests Connected to PC server with editor -game build on Mac in Athena Change 3575671 by Nick.Darnell Athena - The gameplay ability system now supports adding Gameplay Cue's with params. Now using cues instead of gameplay effects in order to notify when the bandaging/shielding begin and end. THe new method should properly show and disappear on time, b/c it's all client side. Added a way in the Athena Context to easily hook gameplay "UI" cues that are rebroadcast from the Athena Pawn. #jira AT-644 Change 3575534 by Peter.Knepley Ability montage replication optimizations #jira AT-955 Change 3573305 by Lukasz.Furman disabled path section update when crowd simulated AI is moving through navlink, fixed AI getting stuck in some corners #jira FORT-49748 Change 3566775 by John.Abercrombie Optimizations from Dev-Athena - Tested with PIE & and 2 Player local server game #ue4-athena - (merge CLs 3345771 and 3363030 from Framework) - Refactored CharacterMovementComponent determination of net send rate when combining moves into a virtual function GetClientNetSendDeltaTime(). Added configurable values to GameNetworkManager under [/Script/Engine.GameNetworkManager]. For Fortnite, set unthrottled (<= 10 player) limit to 60Hz (from 90Hz), and trying throttled at 30Hz (from 45Hz). #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545535 by Zak.Middleton on 2017/07/19 20:15:17. #ue4-athena - (merge CL 3377054 from Framework) - Fix CharacterMovementComponent updated with very high delta time on server when initially joining. Make sure the ServerTimeStamp is initialized to current world time rather than zero to prevent large delta. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545452 by Zak.Middleton on 2017/07/19 18:57:45. #athena - If network smoothing mode is not linear, don't replicate ReplicatedServerLastTransformUpdateTimeStamp. Only AI use linear smoothing in FN. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3545559 by Zak.Middleton on 2017/07/19 20:47:18. #ue4-athena - Converted all RPCs on UCharacterMovementComponent to be on ACharacter instead, to avoid the bandwidth overhead of calling RPCs on a component. Existing overrides of _Implementation and _Validate functions should remain unchanged. If for some reason someone overrode the old RPC virtuals, those are now non-virtual on UCharacterMovementComponent but are still virtual on ACharacter. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3557564 by Zak.Middleton on 2017/07/26 20:13:43. #ue4-athena - Throttle character movement server corrections and acks to the client based on time since last adjustment. Cuts down on network traffic for character movement. Added configurable settings to control this. Set times to zero to disable this. - NetworkMinTimeBetweenClientAckGoodMove - NetworkMinTimeBetweenClientAdjustments - NetworkMinTimeBetweenClientAdjustmentsLargeCorrection - NetworkLargeClientCorrectionDistance #ue4-athena - Perf: (EditMerge CL 3492200 from Dev-Framework): Always reset the input array in AActor::GetComponents(), but do so without affecting allocated size. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561669 by Zak.Middleton on 2017/07/28 14:16:19. #ue4-athena - Perf: (EditMerge CL 3468253 from Dev-AnimPhys): Remove the need for calling constructors for physx PxRaycastHit in the dynamic hit result buffer. Saves 30% of the cost of doing small raycasts. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561672 by Zak.Middleton on 2017/07/28 14:17:12. #ue4-athena - Perf: (EditMerge CL 3359553 from Dev-Framework): Optimization in CharacterMovement tick to not extract transform values twice. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561674 by Zak.Middleton on 2017/07/28 14:18:04. #ue4-athena - Perf: (EditMerge CL 3426174 from Dev-Framework): Avoid call to virtual getSimulationFilterData() to only use it when needed in PreFilter if we actually have items in the IgnoreComponents list (which is rare). The sim filter data 'word2' stores the component ID. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561709 by Zak.Middleton on 2017/07/28 14:32:11. #ue4-athena - Perf: (EditMerge CL 3382054 from Dev-Framework): Optimize CharacterMovementComponent::GetPredictionData_Client_Character() and GetPredictionData_Server_Character() to remove virtual calls. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3561856 by Zak.Middleton on 2017/07/28 15:11:57. #ue4-athena - Use less bandwidth for CharacterMovement RPCs when the character is not standing on any component (ie during jumps and falling). Added separate "...NoBase()" versions of ServerMove() and ServerMoveDual(). Undid part of 3557564 and restored the CMC functions to be virtual, and removed virtual keyword from matching Character functions, so that overrides are in one consistent place. Also guarantees backwards compat for licensees. #AUTOMERGE using branch //Fortnite/Main-To-//Fortnite/Dev-Athena (reversed) of change#3564858 by Zak.Middleton on 2017/07/31 15:24:39. #jira Fort-1 Change 3562825 by Chris.Gagnon Added CommonCustomNavigation Widget, this widget can be used to capture navigation requests to handle in custom ways. #jira FORT-0 Change 3562098 by Josh.Markiewicz #UE4 Encryption token/ack changes - moved encryption token request/ack to delegates - moved FNetworkNotify to NetworkDelegates.h - moved connection logic out of GameInstance and back into networking code -- GameInstance sends an enum and the network code does the right thing based on that #review-3559694 @ryan.gerleve #tests PC dedicated server connections golden path and forced failures #jira FORT-0 Change 3559354 by Luke.Thatcher [FORTNITE] [PS4] [^] Merging (as edit) support for setting flip rate on PS4 (CLs 3555687 and 3558843) from //Fortnite/Dev-Athena/... to //Fortnite/Main/... - Allowed rates are now 60Hz, 30Hz and 20Hz. - Exposed by r.PS4FlipRate CVar, set to 60Hz by default. Requires r.Vsync 1. #jira FORT-49463 Change 3532644 by Jeff.Campeau Fix mapping current culture to movie audio channels using data table to map languages to track indices. Don't rewind cinematics (they all start from the begining because we load them and play them once). Seeks cause us to have to redecode video frames at a large perf cost. Delay cutscene playback by 0.5 seconds to give us time to build up a buffer of decoded video. (Temporary workaround for audio/video sync). Generic implementation for getting current languages in BP. Fix more issues with calling into media source functionality when using the source reader (potential hangs). #jira FORT-44376,FORT-48209,FORT-48040 #testedon Preflight from last night combined with Bob's changes from today clear all known issues. This change tested on Xbox and PC multiple times each. Change 3527761 by Chris.Gagnon Fixed various issues in the widget switcher, also added Advanced calls that allow the user to specify if activation/deactivation should occur. #jira FORT-47988, FORT-47984 Change 3525390 by Jeff.Campeau Remove media player log spam #jira FORT-47393 #testedon compiled client Change 3518692 by Chris.Gagnon Added CleanOperation Adding which will remove unneeded op combinations from the op queue. Also added the ability to suspend starting operation queue processing to allow complex operations to accumulate and in turn allow the Clean Op adding code to be effective. GameFeedback, and the widget switcer utilize this to avoid unnesacary activations of a screen that is immediately being deactivated. Root issue of the mentioned bug is that activation of the quest screen created a latent navigation du to the deferal of scrolling into view. This is still an issue in general, there isn't much we can do about it. Other than avoid activating a panel that will deactivated that frame as we did with the code changes in this CL. #jira FORT-47395 Change 3514658 by Jeff.Campeau Fixed a media player threading issue where the OnMediaOpened event could be called before the media Init script completed. Moved the event Cinematic used when setting up and playing media after media file load to use a delayed event from the MovieWidget so that it will always happen after the movie widget processing. Fixed an issue that could cause samples to leak in MfMedia plugin and cause ReadSample to lockup. Fixed an issue where a default texture is displayed for movies before the movie starts playing (the player may be active before the first frame of the video is decoded). Default is now all black as it is expected that this texture will be displayed for several frames. #jira FORT-46801 #testedon Xbox through rocket launch cinematic including vintertip for stairs, skill tree nodes, and victory result video Change 3507896 by Ryan.Gerleve Changed the net.UseEncryptionToken to be more useful and renamed it to net.AllowEncryption. This cvar, if 0, will prevent the PacketHandler from adding the configured encryption component, and prevent UPendingNetGame and AOnlineBeaconClient from filling out the EncryptionToken parameter of NMT_Hello - which prevents the extra encryption handshake connection step. #jira FORT-46878 #review-3507897 @josh.markiewicz Change 3503928 by Ryan.Gerleve Add safety checks around some of the encryption functionality. Fixes a server crash seen during load testing. #jira FORT-46772 #review-3503929 bob.tellez #robomerge ReleaseNext [CL 3673993 by Bob Tellez in Main branch]
2017-09-30 03:42:01 -04:00
}
else
{
UE_LOG(LogMaterialUtilities, Error, TEXT("Unsupported TextureSizingType value. You should resolve the material texture size first with ResolveTextureSize()"));
}
return Material;
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
void FMaterialUtilities::AnalyzeMaterial(UMaterialInterface* InMaterial, const struct FMaterialProxySettings& InMaterialSettings, int32& OutNumTexCoords, bool& OutRequiresVertexData)
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
OutRequiresVertexData = false;
OutNumTexCoords = 0;
bool PropertyBeingBaked[MP_Tangent + 1];
PropertyBeingBaked[MP_BaseColor] = true;
PropertyBeingBaked[MP_Specular] = InMaterialSettings.bSpecularMap;
PropertyBeingBaked[MP_Roughness] = InMaterialSettings.bRoughnessMap;
PropertyBeingBaked[MP_Anisotropy] = InMaterialSettings.bAnisotropyMap;
PropertyBeingBaked[MP_Metallic] = InMaterialSettings.bMetallicMap;
PropertyBeingBaked[MP_Normal] = InMaterialSettings.bNormalMap;
PropertyBeingBaked[MP_Tangent] = InMaterialSettings.bTangentMap;
PropertyBeingBaked[MP_Metallic] = InMaterialSettings.bOpacityMap;
PropertyBeingBaked[MP_EmissiveColor] = InMaterialSettings.bEmissiveMap;
for (int32 PropertyIndex = 0; PropertyIndex < UE_ARRAY_COUNT(PropertyBeingBaked); ++PropertyIndex)
{
if (PropertyBeingBaked[PropertyIndex])
{
EMaterialProperty Property = (EMaterialProperty)PropertyIndex;
if (PropertyIndex == MP_Opacity)
{
if (IsMaskedBlendMode(*InMaterial))
{
Property = MP_OpacityMask;
}
else if (IsTranslucentBlendMode(*InMaterial))
{
Property = MP_Opacity;
}
else
{
continue;
}
}
// Analyze this material channel.
int32 NumTextureCoordinates = 0;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
bool bUseVertexData = false;
InMaterial->AnalyzeMaterialProperty(Property, NumTextureCoordinates, bUseVertexData);
// Accumulate data.
OutNumTexCoords = FMath::Max(NumTextureCoordinates, OutNumTexCoords);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
OutRequiresVertexData |= bUseVertexData;
}
}
}
void FMaterialUtilities::AnalyzeMaterial(class UMaterialInterface* InMaterial, const TArray<EMaterialProperty>& Properties, int32& OutNumTexCoords, bool& OutRequiresVertexData)
{
OutRequiresVertexData = false;
OutNumTexCoords = 0;
for (EMaterialProperty Property : Properties)
{
if (Property == MP_Opacity)
{
if (IsMaskedBlendMode(*InMaterial))
{
Property = MP_OpacityMask;
}
else if (IsTranslucentBlendMode(*InMaterial))
{
Property = MP_Opacity;
}
else
{
continue;
}
}
// Analyze this material channel.
int32 NumTextureCoordinates = 0;
bool bUseVertexData = false;
InMaterial->AnalyzeMaterialProperty(Property, NumTextureCoordinates, bUseVertexData);
// Accumulate data.
OutNumTexCoords = FMath::Max(NumTextureCoordinates, OutNumTexCoords);
OutRequiresVertexData |= bUseVertexData;
}
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
void FMaterialUtilities::RemapUniqueMaterialIndices(const TArray<FSectionInfo>& InSections, const TArray<FRawMeshExt>& InMeshData, const TMap<FMeshIdAndLOD, TArray<int32> >& InMaterialMap, const FMaterialProxySettings& InMaterialProxySettings, const bool bBakeVertexData, const bool bMergeMaterials, TArray<bool>& OutMeshShouldBakeVertexData, TMap<FMeshIdAndLOD, TArray<int32> >& OutMaterialMap, TArray<FSectionInfo>& OutSections)
{
// Gather material properties
TMap<UMaterialInterface*, int32> MaterialNumTexCoords;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
TMap<UMaterialInterface*, bool> MaterialUseVertexData;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
for (int32 SectionIndex = 0; SectionIndex < InSections.Num(); SectionIndex++)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
const FSectionInfo& Section = InSections[SectionIndex];
if (MaterialNumTexCoords.Find(Section.Material) != nullptr)
{
// This material was already processed.
continue;
}
if (!bBakeVertexData || !bMergeMaterials)
{
// We are not baking vertex data at all, don't analyze materials.
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
MaterialNumTexCoords.Add(Section.Material, 0);
MaterialUseVertexData.Add(Section.Material, false);
continue;
}
int32 NumTexCoords = 0;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
bool bUseVertexData = false;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
FMaterialUtilities::AnalyzeMaterial(Section.Material, InMaterialProxySettings, NumTexCoords, bUseVertexData);
MaterialNumTexCoords.Add(Section.Material, NumTexCoords);
MaterialUseVertexData.Add(Section.Material, bUseVertexData);
}
for (int32 MeshIndex = 0; MeshIndex < InMeshData.Num(); MeshIndex++)
{
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
for (int32 LODIndex = 0; LODIndex < MAX_STATIC_MESH_LODS; ++LODIndex)
{
TVertexAttributesRef<FVector3f> VertexPositions = InMeshData[MeshIndex].MeshLODData[LODIndex].RawMesh->GetVertexPositions();
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
if (InMeshData[MeshIndex].bShouldExportLOD[LODIndex])
{
checkf(VertexPositions.GetNumElements(), TEXT("No vertex data found in mesh LOD"));
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
const TArray<int32>& MeshMaterialMap = InMaterialMap[FMeshIdAndLOD(MeshIndex, LODIndex)];
int32 NumTexCoords = 0;
bool bUseVertexData = false;
// Accumulate data of all materials.
for (int32 LocalMaterialIndex = 0; LocalMaterialIndex < MeshMaterialMap.Num(); LocalMaterialIndex++)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
UMaterialInterface* Material = InSections[MeshMaterialMap[LocalMaterialIndex]].Material;
NumTexCoords = FMath::Max(NumTexCoords, MaterialNumTexCoords[Material]);
bUseVertexData |= MaterialUseVertexData[Material];
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
// Store data.
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
OutMeshShouldBakeVertexData[MeshIndex] |= bUseVertexData || (NumTexCoords >= 2);
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
}
}
}
// Build new material map.
// Structure used to simplify material merging.
struct FMeshMaterialData
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
FSectionInfo SectionInfo;
UStaticMesh* Mesh;
bool bHasVertexColors;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
FMeshMaterialData(const FSectionInfo& InSection, UStaticMesh* InMesh, bool bInHasVertexColors)
: SectionInfo(InSection)
, Mesh(InMesh)
, bHasVertexColors(bInHasVertexColors)
{
}
bool operator==(const FMeshMaterialData& Other) const
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
return SectionInfo == Other.SectionInfo && Mesh == Other.Mesh && bHasVertexColors == Other.bHasVertexColors;
}
};
TArray<FMeshMaterialData> MeshMaterialData;
OutMaterialMap.Empty();
for (int32 MeshIndex = 0; MeshIndex < InMeshData.Num(); MeshIndex++)
{
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
for (int32 LODIndex = 0; LODIndex < MAX_STATIC_MESH_LODS; ++LODIndex)
{
TVertexAttributesRef<FVector3f> VertexPositions = InMeshData[MeshIndex].MeshLODData[LODIndex].RawMesh->GetVertexPositions();
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
if (InMeshData[MeshIndex].bShouldExportLOD[LODIndex])
{
checkf(VertexPositions.GetNumElements(), TEXT("No vertex data found in mesh LOD"));
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
const TArray<int32>& MeshMaterialMap = InMaterialMap[FMeshIdAndLOD(MeshIndex, LODIndex)];
TArray<int32>& NewMeshMaterialMap = OutMaterialMap.Add(FMeshIdAndLOD(MeshIndex, LODIndex));
UStaticMesh* StaticMesh = InMeshData[MeshIndex].SourceStaticMesh;
Copying //UE4/Release-Staging-4.12 to //UE4/Dev-Main (Source: //UE4/Release-4.12 @ 2962397) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2962397 on 2016/05/02 by Dmitriy.Dyomin Fixed: Crash generating LOD for a Landscape #jira UE-30144 Change 2962367 on 2016/05/01 by Zachary.Wilson Building lighting on QA-Effects #jira UE-29618 Change 2962363 on 2016/05/01 by Zachary.Wilson Updating Reflection Capture Test Content #jira UE-29618 Change 2962362 on 2016/05/01 by Benjamin.Hyder Built Lighting in QA-PostProcessing level #jira UE-29618 Change 2962361 on 2016/05/01 by Zachary.Wilson Adding testing content for Custom Resolutions and Cubemaps for Sky Cubemaps and Reflection Probes. #jira UE-29618 Change 2962357 on 2016/05/01 by Benjamin.Hyder Built Lighting for Tm_SceneTexture #jira UE-29618 Change 2962356 on 2016/05/01 by Benjamin.Hyder Adding PlayerStart to TM-TranslucencyLghtingMode map #jira UE-29618 Change 2962351 on 2016/05/01 by Benjamin.Hyder Adding high Precision GBuffer Normal Encoding example to TM-Shadermodels #jira UE-29618 Change 2962349 on 2016/05/01 by Benjamin.Hyder Correcting Planar Reflection in TM-Shadermodels #Jira UE-29618 Change 2962348 on 2016/05/01 by Benjamin.Hyder Adding Planar Reflection Test Case content to TM-Shadermodels #jira UE-29618 Change 2962347 on 2016/05/01 by Zachary.Wilson Adding testing content for Dual Normal Clfar Coat Material Expression #jira UE-29618 Change 2962340 on 2016/05/01 by Zachary.Wilson Adding testing content for engine scalability (WIP) #jira UE-29618 Change 2962173 on 2016/04/30 by Ben.Marsh Fix typo. Change 2962172 on 2016/04/30 by Ben.Marsh Disable Vulkan in installed UE4 buids. Build machines don't have the Vulkan SDK installed so they can't generate static libraries for VulkanRHI, so if we try to link against it on user's machines they'll fail due to the missing LIB. #jira UE-30156 Change 2961782 on 2016/04/29 by Mike.Beach Guarding against an invalid (null) target for the Blueprint debugger (watch viewer) panel. #jira UE-30110 Change 2961780 on 2016/04/29 by Mike.Beach Guarding against interface arrays with null entries (null checking in property editor processing code). #jira UE-30015 Change 2961580 on 2016/04/29 by Owen.Stupka #jira UE-29796 Rollback //UE4/Release-4.12/Samples/NotForLicensees/ProtoStar/Content/Blueprints/NickD/StarCoreSliceNick.uasset to revision 2 Change 2961531 on 2016/04/29 by Ryan.Gerleve Fix for an assert that could occur in monolithic builds when seamless traveling while recording a replay. #jira UE-22047 Change 2961499 on 2016/04/29 by Marc.Audy Use accessor instead of variable directly. #jira UE-00000 Change 2961492 on 2016/04/29 by Chris.Babcock Android Vulkan dynamic loader with fallback to ES2 - works with either NDK r11c+ or VulkanSDK (does not require .so) #jira UEPLAT-1249 #jira UEMOB-103 #ue4 #android Change 2961462 on 2016/04/29 by Chris.Babcock Fix issue with stripping symbols for non-armv7 architectures #jira UE-30138 #android #ue4 Change 2961442 on 2016/04/29 by Marc.Audy Fix undo/redo of attachment between an IWCE and blueprint constructed component not working #jira UE-28948 Change 2961400 on 2016/04/29 by Samuel.Proctor Test assets for FiB test cases. #jira UE-29618 Change 2961382 on 2016/04/29 by Daniel.Lamb Fix for shadowed variables. #jira UE-29470 Change 2961319 on 2016/04/29 by mitchell.wilson #jira UE-29618 - Adding TM-LandscapeFoliage map Change 2961278 on 2016/04/29 by Chris.Babcock Fix 64-bit cast #jira UE-30132 #ue4 #android Change 2961263 on 2016/04/29 by Daniel.Lamb Fixed issue with iterative cooking missing dependent sublevels when checking for dependent timestamps. #jira UE-29470 Change 2961227 on 2016/04/29 by Taizyd.Korambayil #jira UE-30068 Resaved Some assets and Updated TexturePool in DefaultEninge.ini Change 2961208 on 2016/04/29 by Nick.Darnell UMG - Unable to reproduce the issue of the designer crashing because it popping more messages than it has, but adding a check to make sure the array isn't already empty before popping. #jira UE-29919 Change 2961190 on 2016/04/29 by Nick.Darnell UMG - Unable to reproduce the issue of the designer crashing because it popping more messages than it has, but adding a check to make sure the array isn't already empty before popping. #jira UE-29919 Change 2961161 on 2016/04/29 by Gareth.Martin Added warnings when trying to use the Landscape Visibility Tool without the landscape material having a "Landscape Visibility Mask" node. #jira UE-30032 Change 2961109 on 2016/04/29 by Keith.Judge Xbox One - Enable USE_NEW_LOCK_FREE_LISTS, and refactor code to allow VS2015 to compile it (was using a non-standard GCC/Clang behaviour). Lots of duplicated code, but there already was... #jira UEPLAT-1288 Change 2961055 on 2016/04/29 by Mike.Beach Mirroring CL 2961019: Temporarily disabling InitProperties() spawning optimization, as it was causing GC issues. #jira UE-29940 Change 2961018 on 2016/04/29 by Rolando.Caloca UE4.12 - Compile fix for shipping #jira UE-30096 Change 2960921 on 2016/04/29 by Matthew.Griffin Updated AutoSDK used by Android so that arm64 will build Change 2960920 on 2016/04/29 by Martin.Wilson Missing files from 2960847 #jira ue-25715 Change 2960906 on 2016/04/29 by Peter.Sauerbrei added more explicit message when the deployment fails due to device not on provision #jira UE-19875 Change 2960869 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960847 on 2016/04/29 by Martin.Wilson Fix setting incorrect animation assets on anim player nodes. #jira ue-25715 Change 2960842 on 2016/04/29 by Keith.Judge Xbox One - Remove SetGpuMemoryPriority() call as it turns out most actual game titles are CPU bound, and this is just hurting them. #jira UEPLAT-1288 Change 2960841 on 2016/04/29 by Keith.Judge Xbox One - Make temporary buffers last for three frames. #jira UEPLAT-1288 Change 2960838 on 2016/04/29 by Keith.Judge Xbox One - Change the MemoryBarrier function to be FORCENOINLINE so that the compiler doesn't reorder writes around it. #jira UEPLAT-1288 Change 2960834 on 2016/04/29 by Keith.Judge Xbox One - Change GPUMalloc memory type to write combined, as cached non-coherent caused major UMG flickering issues, and would appear to be unsafe, according to the latest XDK docs. #jira UEPLAT-1288 Change 2960829 on 2016/04/29 by Keith.Judge Xbox One - Fix RHIUpdateTexture2D not actually updating the texture. It was silently failing because the GPU_READONLY flag was set on the memory. Grrrrrr! #jira UEPLAT-1288 Change 2960826 on 2016/04/29 by Keith.Judge Xbox One - Turn on GSupportsEfficientAsyncCompute and GSupportsParallelOcclusionQueries. Duplcated from Dev-Platform. #jira UEPLAT-1288 Change 2960820 on 2016/04/29 by Keith.Judge Xbox One - Replicate Windows critical section changes. Duplicated from Dev-Platform. #jira UEPLAT-1288 Change 2960819 on 2016/04/29 by Marc.Audy Owned components are once again referenced by their Owning actor for GC purposes #jira UE-29131 Change 2960817 on 2016/04/29 by Keith.Judge Xbox One - Further fix for flickering HUD. Also seems to fix weird bloom when Fast Semantics are enabled. Duplicated from Dev-Platform. #jira UEPLAT-1288 Change 2960814 on 2016/04/29 by Keith.Judge Xbox One - Fix crash when creating odd sized textures with initial data. Duplicated from Dev-Platform. #jira UEPLAT-1288 Change 2960805 on 2016/04/29 by Keith.Judge Fix .ini.ini filename issue (duplicated fix from Dev-Platform). #jira UES-2270 Change 2960797 on 2016/04/29 by Mason.Seay Deleting asset associated with crashing map, just to be safe (neither are needed anymore) #jira UE-25215 Change 2960793 on 2016/04/29 by Mason.Seay Deleting map that's causing a crash #jira UE-25215 Change 2960774 on 2016/04/29 by Robert.Manuszewski (temp) Fix for missing packages after cooking. #jira UE-29876 Change 2960747 on 2016/04/29 by Jurre.deBaare Mac build fixes #jira abc-123 Change 2960739 on 2016/04/29 by Benn.Gallagher Use mesh update mode to update cloth rather than whether or not it was rendered. #jira UE-25934 Change 2960707 on 2016/04/29 by Jurre.deBaare HLOD cluster dirtying from changes in static mesh component and spline mesh component, required making the HierarchicalLODUtilities Module to have an abstract interface (for dynamic loading in the Engine module) #jira UE-24378 Change 2960704 on 2016/04/29 by Matthew.Griffin Added Architectures and GPUArchitectures to UEBuildConfiguration that can be passed through on the UBT command line Changed Android Tool Chain so that it checks the command line architectures as an additional way to setup which ones to build Added option to pass architectures on command line when precompiling monolithic targets via UAT (with armv7, arm64 & es2 set for Android for now) Added code to read precompiled architectures in Rocket build and write out additional Installed Platform Info entries for each one #jira UEB-560 Change 2960694 on 2016/04/29 by Robert.Manuszewski Log free disk space when DirectoryWatcher's File Cache fails to move a file. #jira UE-24660 Change 2960687 on 2016/04/29 by Benn.Gallagher Demoted eINTERNAL_ERROR (PhysX error code) to warning as we were flagging things too zealously (degenerate poly failing a cook) #jira UE-30053 Change 2960381 on 2016/04/28 by Chris.Babcock Handle movie playback not covering full surface #jira UE-28705 #ue4 #android Change 2960162 on 2016/04/28 by Ryan.Vance #jira UE-30099 Re-enabling the occlusion area mask for the Rift. Any Rift HMD's newer than the CB prototype will use the CV1 masks. We'll need to revist this in the future. We need to ensure we always set the InstancedEyeIndex uniform if it's bound. Otherwise passes that aren't using instanced stereo will resolve their views using an uninitialized variable (translucency). Change 2960100 on 2016/04/28 by Andrew.Porter Removing old sub sequences. #jira UE-29618 Change 2959962 on 2016/04/28 by Peter.Sauerbrei fix for enabling InApp purchasing not enabling Online Subsystem IOS #jira UE-25512 Change 2959937 on 2016/04/28 by Patrick.Donovan Screen aligned UVs test material for QAGame for testing if they work in VR. #jira UE-29618 Change 2959914 on 2016/04/28 by Dan.Oconnor Fix for copy paste error, likely of no consequence because nothing calls IsExporting(), found with PVS-Studio by Robert Troughton #jira UE-30058 Change 2959859 on 2016/04/28 by Ryan.Gerleve Fix for fatal error crash when loading the default map fails. Now we load a dummy world and request graceful exit in standalone, or shutdown the current play session in PIE. #jira UE-26634 Change 2959856 on 2016/04/28 by Chris.Babcock Fix scaling on low-resolution devices in Match3 #jira UE-28706 #ue4 #match3 Change 2959839 on 2016/04/28 by Dan.Oconnor Fix IsControlCharacter result for 'pop directional isolate' character (u2069), found with PVS-Studio by Robert Troughton #jira UE-30058 Change 2959836 on 2016/04/28 by Dan.Oconnor Remove unused local variable, found with PVS-Studio by Robert Troughton #jira UE-30058 Change 2959829 on 2016/04/28 by Dan.Oconnor Using OverridePredrawBatchTime and OverridePredrawBatchTime correctly, found with PVS-Studio by Robert Troughton #jira UE-30058 Change 2959817 on 2016/04/28 by Peter.Sauerbrei fix for parsing the IOS Device ID addition of iPhone SE (courtesy davidrpozesky, PR2307) addition of iPadPro 9.7 #jira UE-21921 Change 2959808 on 2016/04/28 by Nick.Darnell UBT - Restoring GetModuleFilename to the RulesCompiler but only to deprecate it, and point users at the method they should now be using. #jira ue-none Change 2959805 on 2016/04/28 by Chad.Taylor Merging //UE4/Dev-VR/Engine/... to //UE4/Release-4.12/Engine/... #jira UEBP-188 Change 2959798 on 2016/04/28 by Dan.Oconnor Manually integrate 2947850, also found with PVS-Studio by Robert Troughton #jira UE-30058 Change 2959796 on 2016/04/28 by Aaron.McLeran Duplicating CL 2959785 from //UE4/Dev-Framework #jira UE-30083 Sound concatenator node doesn't progress if child nodes don't produce wave instances #tests created new sound cue with concat node with child nodes that don't play sound-instances, concat node continues playing Change 2959793 on 2016/04/28 by Dan.Oconnor Fixed setter that did nothing, found with PVS-Studio by Robert Troughton. This code will be removed soon. #jira UE-30058 Change 2959739 on 2016/04/28 by Ori.Cohen Remove box2d ensure as it's confusing for legit crashes since it shows up in the end of the log. #JIRA UE-29932 Change 2959709 on 2016/04/28 by Nick.Darnell Slate - Menu Stack no longer crashes when forcefully dismissing multiple menus in the stack at once. #jira UE-30087 Change 2959701 on 2016/04/28 by Nick.Darnell Slate - The MoviePlayer now has an OnPrepareLoadingScreen callback that modules can hook instead of relying on the PreLoadMap, which depending on when you hook it, you may be before or after the movie player. Therefore to aleviate that ordering problem - if the movie player goes to play a loading screen and one has not yet been configured this callback will be triggered so that hopefully one is supplied. #jira UE-30085 Change 2959691 on 2016/04/28 by Nick.Darnell UMG - Fixed Aspect ratios now correctly size the right side of the screen, allowing right anchored content to be fit properly inside the black frame borders. #jira UE-30084 Change 2959678 on 2016/04/28 by mason.seay Updated test sound cue asset, as it appeared to be partially filled out. Moved it out of developer folder. Also rebuilt lighting on associated test map. #jira UE-29618 Change 2959514 on 2016/04/28 by Aaron.McLeran Duplicating CL 2959506 from //UE4/Dev-Framework #jira UE-30000 PR #2330: Fix for ambient sounds not stopping when active and told to play again (Contributed by hgamiel) #tests Playing another looping sound on an audio component will stop the previous looping sound. Change 2959486 on 2016/04/28 by Bob.Tellez Duplicating CL#2948431 from //Orion/Dev-General CL#s 2919775 and 2942793 integrated to prevent annotation map performance problems on shutdown and asserts in PIE. #JIRA UE-29625 #tests Ran editor Change 2959414 on 2016/04/28 by Chad.Taylor IStereoLayers API and Oculus Rift implementation #jira UEBP-185 Change 2959395 on 2016/04/28 by Taizyd.Korambayil #jira UE-29710 Resaved Kite Demo Maps and Audio files to Fix Build Warnings Change 2959386 on 2016/04/28 by Richard.TalbotWatkin Replicated from CL 2959360 in //UE4/Dev-Editor/ Fixed potential crash when mesh painting actors whose geometry adapters are no longer registered. #jira UE-29615 - [CrashReport] UE4Editor_MeshPaint!FEdModeMeshPaint::DoPaint() [meshpaintedmode.cpp:1127] Change 2959377 on 2016/04/28 by Matthew.Griffin Added 2015 versions of OpenSSL dlls to list of RuntimeDependencies, so that they will be included in the binary build #jira UE-30024 Change 2959367 on 2016/04/28 by Alexis.Matte #jira OR-20622 make sure LOD import Materials get map with LOD 0 material index Change 2959302 on 2016/04/28 by Jamie.Dale Removed invalid assert #jira UE-30042 Change 2959263 on 2016/04/28 by Peter.Sauerbrei fix for virtual joysticks showing up on tvOS removed usage of ES2 define for tvOS #jira UE-26122 Change 2959235 on 2016/04/28 by Taizyd.Korambayil #jira UE-29744 Resaved Vehicle Game maps to Fix Build Warnings Change 2959177 on 2016/04/28 by Thomas.Sarkanen Fixed curve names getting incorrectly duplicated when DuplicateObject was called Fixes crash when trying to convert curves to metadata after newly importing a sequence. #jira UE-29988 - Crash when converting custom curve to metadata in persona Change 2959170 on 2016/04/28 by Taizyd.Korambayil #jira UE-29683 Resaved Maps to Fix Build Warnings #jira UE-29685 #jira UE-29679 #jira UE-29684 Change 2959154 on 2016/04/28 by Dan.Bullard Added Media Player assets and added example to TM-ShaderModels. #jira UE-29618 Change 2959112 on 2016/04/28 by Jamie.Dale Fixed a long time IME crash that could happen under certain circumtances #jira OPP-5607 Change 2959086 on 2016/04/28 by Jamie.Dale Refreshing the editable text layout now makes sure the layout is up-to-date This addresses some update issues when the widget is being ticked, but not running a layout pass. #jira UE-30054 Change 2958927 on 2016/04/28 by Phillip.Kavan [UE-30040] Fix broken editor UI display of values for int32 properties tagged as bitmask fields when the high bit is set. #jira UE-30040 Change 2958730 on 2016/04/28 by Phillip.Kavan [UE-23087] Don't apply near-zero delta values while drag-scaling inside the Blueprint editor's preview viewport. #jira UE-23087 Change 2958566 on 2016/04/27 by Marcus.Wassmer Fix material preview and PostProcessAmbient #jira UE-29994 Change 2958459 on 2016/04/27 by mason.seay Test assets for Sound Class Override #jira UE-29618 Change 2958399 on 2016/04/27 by Owen.Stupka #jira UE-29924 Back out CL 2958355, change was in wrong position. Change 2958395 on 2016/04/27 by Aaron.McLeran Duplicating CL#2950482 from //UE4/Dev-Framework #jira FORT-22973 SoundMix Fade Time not fading audio properly - Bug was due to bApplyToChildren case where the FSoundClassAdjuster wasn't getting the interpolated value before calling RecursiveApplyAdjuster in the case of non-overriden sound mixes. #tests Apply a sound mix using a child sound class with apply-to-children enabled. Sound mix properly interpolates. Change 2958387 on 2016/04/27 by Aaron.McLeran Duplicating CL#2954865 from //UE4/Dev-Framework #jira UE-29763 Use HMD audio device only in VR preview mode, not for other PIE session types. #tests run editor in PIE with HMD connected, audio only plays on PC, then run in VR-Preview with HMD connected, audio plays on HMD audio device Change 2958381 on 2016/04/27 by Josh.Adams - Fixed compile error in IOSDeviceHelperMac.cpp #lockdown nick.penwarden #jira UE-30037 Change 2958355 on 2016/04/27 by Owen.Stupka #jira UE-29924 Fix for UAT issues on Mac. Change 2958351 on 2016/04/27 by Aaron.McLeran Duplicating CL#2957953 from //UE4/Dev-Framework #jira UE-30018 Fixing up audio component ref-counting to prevent triggering notifications when an audio component is still active after a sound finishes playing. #tests run audio component with auto-activate, call play, setup notification callback in BP, note that only triggered once Change 2958344 on 2016/04/27 by Taizyd.Korambayil #jira UE-29720 Resaved Audio Files to fix NodeGUID Warnings Change 2958342 on 2016/04/27 by mitchell.wilson #jira UE-29618 updating shot_002 to fix an issue with snapping. Change 2958315 on 2016/04/27 by Marc.Audy No longer use component pooling, but instead spawn Actors for thumbnail display #jira UE-17453 Change 2958289 on 2016/04/27 by Marc.Audy Don't crash rerunning construction script on a child actor that belongs to a ownerless child actor component #jira UE-30033 Change 2958280 on 2016/04/27 by Taizyd.Korambayil #jira UE-29723 Resaved Maps and Audio Files Change 2958237 on 2016/04/27 by Taizyd.Korambayil #jira UE-29687 Resaved Some Assets to Fix Build Warnings Change 2958176 on 2016/04/27 by Taizyd.Korambayil #jira UE-29701 Resaved Some Assets to Fix Build Warnings Change 2958172 on 2016/04/27 by Ori.Cohen Back out changelist 2955134 #JIRA UE-30030 Change 2958121 on 2016/04/27 by Taizyd.Korambayil #jira UE-29706 Resaved Some Assets to Fix Build Warnings Change 2958070 on 2016/04/27 by Peter.Sauerbrei fix for launch on to tvOS from PC properly filter out tvOS devices when launching to IOS and vice versa #jira UE-29928 Change 2958029 on 2016/04/27 by Andrew.Rodham Fixed SMenuAnchor::bIsCollapsedByParent not being respected #jira UE-30016 Change 2957962 on 2016/04/27 by Alexis.Matte #jira UE-29984 Pixel inspector crash Fix the viewport id Change 2957908 on 2016/04/27 by Andrew.Rodham Sequencer: Fixed being unable to render out 4K image sequences using matinee or sequencer #jira UE-29171 Change 2957880 on 2016/04/27 by Peter.Sauerbrei fix for metal not being enabled in iOS 8 added some checks for bSupportsResourceOptions in Lock/Unlock #jira UE-29268 Change 2957860 on 2016/04/27 by Gareth.Martin Fixed landscape grass not updating when using a material instance as the landscape material and changing parameters #jira UE-29471 Change 2957833 on 2016/04/27 by Taizyd.Korambayil #jira UE-29707 Replaced Deprecated Nodes and Resaved Audio Files to Fix Build Warnings Change 2957805 on 2016/04/27 by Max.Chen Sequencer: Fix crash in UMG when a property changes and there's no movie scene. #jira UE-30008 Change 2957803 on 2016/04/27 by Taizyd.Korambayil #jira UE-29718 Resaved Audio Files and Maps to Fix NodeGuid Warnings Change 2957799 on 2016/04/27 by Max.Chen Sequencer: Fix visibility track name so that it says "Visibility" #jira UE-29996 Change 2957777 on 2016/04/27 by Allan.Bentham Workaround ES31 HQ DoF producing no effect with vulkan rhi. #jira UE-30006 Change 2957763 on 2016/04/27 by Taizyd.Korambayil #jira UE-29678 Resaved Maps to Fix Build Errors Change 2957740 on 2016/04/27 by Taizyd.Korambayil #jira UE-29628 Resaved Maps to fix Build Warnings Change 2957713 on 2016/04/27 by Taizyd.Korambayil #jira UE-29715 Resaved Maps to Fix Build Warnings Change 2957678 on 2016/04/27 by Taizyd.Korambayil #jira UE-29677 Fixed up AnimBP and resaved some assets to fix Build Warnings Change 2957627 on 2016/04/27 by Frank.Fella UMG - Sequencer - Fix material animation for materials on struct properties e.g. style materials, and fix the naming so that it's [Original Name]_Animated #Jira UE-29319 #Jira UE-29321 Change 2957625 on 2016/04/27 by Taizyd.Korambayil #jira UE-29689 Replaced deprecated Nodes and Resaved some assets to Fix Warnings Change 2957603 on 2016/04/27 by mitchell.wilson #jira UE-29618 updating Test-Animation for UMG test. Adding M_SequenceUMG material for UMG testing Change 2957577 on 2016/04/27 by Ben.Marsh EC: Increase the number of changes queried to display the EC dashboard. Some changes are getting filtered out. Change 2957569 on 2016/04/27 by Maciej.Mroz #jira UE-27735 Enumerators are not set correctly in packaged games if Nativize Blueprint Assets is set to true merged from Dev-Blueprints 2957564 Change 2957565 on 2016/04/27 by Taizyd.Korambayil #jira UE-29721 Resaved Some Content to Fix Empty Engine Version Error Change 2957558 on 2016/04/27 by Matthew.Griffin Updated Installed Engine Filters now that Linux has dropped the architecture from its .target files #jira UE-29899 Change 2957504 on 2016/04/27 by Marc.Audy Persist component instance data cache through blueprint construction that results in "disaster recovery mode" #jira UE-20385 Change 2957162 on 2016/04/26 by Dmitriy.Dyomin Fixed: Some Unicode letters are not properly displayed with FCanvasTextItem in Android device #jira UE-25861 Change 2957117 on 2016/04/26 by Dan.Oconnor PR #2289: Exposing "IsValidIndex" Array function to Blueprints (Contributed by eXifreXi) Modifications: typo fix in Array.h, made blueprint description consistent with native function, removed redundant nullptr check, added P_NATIVE timer macros, added custom thunk implementation for cpp backend #jira UE-29563 Change 2957057 on 2016/04/26 by Dan.Oconnor Tweak logic used to make variable nodes more accessible Motivation was PR#2202 by Lucyberad #jira UE-28802 Change 2956884 on 2016/04/26 by Jamie.Dale Removed an assert that can be triggered by certain IMEs #jira UE-19744 Change 2956876 on 2016/04/26 by Dan.Oconnor PR #2288: Adjustment of RInterpTo and RInterpTo_Constant descriptions to match function. (Contributed by CelPlays) #jira UE-29495 Change 2956860 on 2016/04/26 by Max.Preussner Sockets: Fixed incorrect socket timeout when value < 1 ms (UE-29973) #jira: UE-29973 Change 2956801 on 2016/04/26 by Rolando.Caloca UE4.12 - vk - Added r.Vulkan.SubmitOnCopyToResolve to help track down submit issues #jira UE-28140 Change 2956679 on 2016/04/26 by Andrew.Rodham Editor: Fixed not being able to switch between cinematic/default viewport types #jira UE-29942 Change 2956674 on 2016/04/26 by James.Fox Updated Blueprint Bitmask test asset to include Bitwise OR. #jira UE-29618 Change 2956573 on 2016/04/26 by Rolando.Caloca UE4.12 - vk - Added TRANSFER_BIT to swapchain images since it's required for clearing #jira UE-28140 Change 2956572 on 2016/04/26 by Rolando.Caloca UE4.12 - vk - Added alignment to buffer offsets depending on usage #jira UE-28140 Change 2956502 on 2016/04/26 by Peter.Sauerbrei fix for missing particles on iPhone 5 when compiling for size re-enable compile for size for Match 3 #jira UE-28721 Change 2956445 on 2016/04/26 by Taizyd.Korambayil #jira UE-29691 Resaved some Animation Assets to Fix Build Warnings Change 2956382 on 2016/04/26 by Taizyd.Korambayil #jira UE-29688 Resaved Maps in Infiltrator Demo t oFix Some Build Warnings Change 2956332 on 2016/04/26 by Patrick.Donovan Adding physics asset set up for Capsule shadows for easy testing of capsule shadows in VR and with instanced stereo enabled. #jira UE-29618 Change 2956301 on 2016/04/26 by Ben.Marsh Disable notification emails for warnings in Rocket sample builds. Change 2956264 on 2016/04/26 by Peter.Sauerbrei fix for binary release generation of bp-only project files for IOS on Mac #jira UE-29934 Change 2956247 on 2016/04/26 by Jurre.deBaare Fix for Mac compile #jira UE-123ABC Change 2956192 on 2016/04/26 by Jurre.deBaare - Changed signatures for merging static mesh (LOD index now incorporated in merge data structure) - Proxy mesh and Mesh merging now just merges one specific LOD index per input mesh (instead of looping over all LOD levels) - Moved SourceStaticMesh and addex ExportLODIndex to FMeshMergeData structure - LightMap Index for merged static meshes is now set correctly - Added enum to MaterialProxySettings for distinction between (non-)Simplygon uses of the struct - Move MergeActor tab spawner out of experimental (removed option from config) and moved into Developer Tools/Misc #jira UE-28319 Change 2956183 on 2016/04/26 by mitchell.wilson #jira UE-29618 Adding new sequence for assign actor testing. Updating sequencer levels for assign actor testing Change 2956152 on 2016/04/26 by Lina.Halper - removed invalid ensure because it doesn't check recursive, it does have different value with validation #jira : UE-29945 Change 2956034 on 2016/04/26 by Andrew.Rodham Sequencer: Skeletal animation tracks now evaluate the nearest section where no animation section is present - This is more consistent with how other tracks evaluate, and guarantees a deterministic animated state #jira UE-28073 Change 2956002 on 2016/04/26 by Taizyd.Korambayil #jira UE-29729 Resaved Blueprints to Fix Build Warnings Change 2955999 on 2016/04/26 by Max.Chen Sequencer: Refresh instances when done recording. This fixes a bug where spawned recorded actors aren't visible when done recording. #jira UE-29841 Change 2955983 on 2016/04/26 by Andrew.Rodham Removing Saved, Intermediate, and DerivedDataCache folders from SubwaySequencer sample project. #jira UE-29938 Change 2955979 on 2016/04/26 by Taizyd.Korambayil #jira UE-29728 Resaved Some assets to Fix Build Warnings Change 2955941 on 2016/04/26 by Taizyd.Korambayil #jira UE-29730 Resaved Maps to Fix Build Warnings Change 2955937 on 2016/04/26 by Andrew.Rodham Sequencer: When recording actors as spawnables, we no longer duplicate the object, rather create a new instance of the same class - This fixes issues caused by undersiable state being saved into the spawnable defaults Merged from //UE4/Dev-Sequencer/...@2952610 #jira UE-29774 Change 2955888 on 2016/04/26 by mitchell.wilson #jira UE-29618 Updating shots for sequencer testing Change 2955635 on 2016/04/26 by Max.Chen Sequencer: Fix filtering so that folders that contain filtered nodes will also appear. #jira UE-28213 [CL 2969385 by Matthew Griffin in Main branch]
2016-05-06 15:20:28 -04:00
if (!OutMeshShouldBakeVertexData[MeshIndex])
{
// No vertex data needed - could merge materials with other meshes.
// Set to 'nullptr' if don't need to bake vertex data to be able to merge materials with any meshes
// which don't require vertex data baking too.
StaticMesh = nullptr;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
for (int32 LocalMaterialIndex = 0; LocalMaterialIndex < MeshMaterialMap.Num(); LocalMaterialIndex++)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
FMeshMaterialData Data(InSections[MeshMaterialMap[LocalMaterialIndex]], StaticMesh, false);
int32 Index = MeshMaterialData.Find(Data);
if (Index == INDEX_NONE)
{
// Not found, add new entry.
Index = MeshMaterialData.Add(Data);
}
NewMeshMaterialMap.Add(Index);
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
}
else
{
// Mesh with vertex data baking, and with vertex colors - don't share materials at all.
for (int32 LocalMaterialIndex = 0; LocalMaterialIndex < MeshMaterialMap.Num(); LocalMaterialIndex++)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
FMeshMaterialData Data(InSections[MeshMaterialMap[LocalMaterialIndex]], StaticMesh, true);
int32 Index = MeshMaterialData.Add(Data);
NewMeshMaterialMap.Add(Index);
}
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
}
}
}
// Build new material list - simply extract MeshMaterialData[i].Material.
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
OutSections.Empty();
OutSections.AddDefaulted(MeshMaterialData.Num());
for (int32 MaterialIndex = 0; MaterialIndex < MeshMaterialData.Num(); MaterialIndex++)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
OutSections[MaterialIndex] = MeshMaterialData[MaterialIndex].SectionInfo;
}
}
void FMaterialUtilities::OptimizeFlattenMaterial(FFlattenMaterial& InFlattenMaterial)
{
// Try to optimize each individual property sample
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
for (int32 PropertyIndex = 0; PropertyIndex < (int32)EFlattenMaterialProperties::NumFlattenMaterialProperties; ++PropertyIndex)
{
EFlattenMaterialProperties Property = (EFlattenMaterialProperties)PropertyIndex;
FIntPoint Size = InFlattenMaterial.GetPropertySize(Property);
OptimizeSampleArray(InFlattenMaterial.GetPropertySamples(Property), Size);
InFlattenMaterial.SetPropertySize(Property, Size);
}
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
void FMaterialUtilities::ResizeFlattenMaterial(FFlattenMaterial& InFlattenMaterial, const struct FMeshProxySettings& InMeshProxySettings)
{
const FMaterialProxySettings& MaterialSettings = InMeshProxySettings.MaterialSettings;
if (MaterialSettings.TextureSizingType == TextureSizingType_UseAutomaticBiasedSizes)
{
int NormalSizeX, DiffuseSizeX, PropertiesSizeX;
NormalSizeX = MaterialSettings.TextureSize.X;
DiffuseSizeX = FMath::Max(MaterialSettings.TextureSize.X >> 1, 32);
PropertiesSizeX = FMath::Max(MaterialSettings.TextureSize.X >> 2, 16);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Diffuse).X != DiffuseSizeX)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Diffuse).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Diffuse).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Diffuse), DiffuseSizeX, DiffuseSizeX, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Diffuse).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Diffuse).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Diffuse, FIntPoint(DiffuseSizeX, DiffuseSizeX));
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular).Num() && MaterialSettings.bSpecularMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Specular).X != PropertiesSizeX)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Specular).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Specular).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular), PropertiesSizeX, PropertiesSizeX, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Specular, FIntPoint(PropertiesSizeX, PropertiesSizeX));
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic).Num() && MaterialSettings.bMetallicMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Metallic).X != PropertiesSizeX)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Metallic).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Metallic).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic), PropertiesSizeX, PropertiesSizeX, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Metallic, FIntPoint(PropertiesSizeX, PropertiesSizeX));
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness).Num() && MaterialSettings.bRoughnessMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Roughness).X != PropertiesSizeX)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Roughness).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Roughness).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness), PropertiesSizeX, PropertiesSizeX, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Roughness, FIntPoint(PropertiesSizeX, PropertiesSizeX));
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal).Num() && MaterialSettings.bNormalMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Normal).X != NormalSizeX)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Normal).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Normal).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal), NormalSizeX, NormalSizeX, NewSamples, true);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Normal, FIntPoint(NormalSizeX, NormalSizeX));
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive).Num() && MaterialSettings.bEmissiveMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Emissive).X != PropertiesSizeX)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Emissive).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Emissive).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive), PropertiesSizeX, PropertiesSizeX, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Emissive, FIntPoint(PropertiesSizeX, PropertiesSizeX));
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity).Num() && MaterialSettings.bOpacityMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Opacity).X != PropertiesSizeX)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Opacity).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Opacity).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity), PropertiesSizeX, PropertiesSizeX, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Opacity, FIntPoint(PropertiesSizeX, PropertiesSizeX));
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask).Num() && MaterialSettings.bOpacityMaskMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::OpacityMask).X != PropertiesSizeX)
{
TArray<FColor> NewSamples;
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::OpacityMask).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::OpacityMask).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask), PropertiesSizeX, PropertiesSizeX, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::OpacityMask, FIntPoint(PropertiesSizeX, PropertiesSizeX));
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
else if (MaterialSettings.TextureSizingType == TextureSizingType_UseManualOverrideTextureSize)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Diffuse) != MaterialSettings.DiffuseTextureSize)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Diffuse).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Diffuse).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Diffuse), MaterialSettings.DiffuseTextureSize.X, MaterialSettings.DiffuseTextureSize.Y, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Diffuse).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Diffuse).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Diffuse, MaterialSettings.DiffuseTextureSize);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular).Num() && MaterialSettings.bSpecularMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Specular) != MaterialSettings.SpecularTextureSize)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Specular).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Specular).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular), MaterialSettings.SpecularTextureSize.X, MaterialSettings.SpecularTextureSize.Y, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Specular).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Specular, MaterialSettings.SpecularTextureSize);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic).Num() && MaterialSettings.bMetallicMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Metallic) != MaterialSettings.MetallicTextureSize)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Metallic).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Metallic).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic), MaterialSettings.MetallicTextureSize.X, MaterialSettings.MetallicTextureSize.Y, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Metallic).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Metallic, MaterialSettings.MetallicTextureSize);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness).Num() && MaterialSettings.bRoughnessMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Roughness) != MaterialSettings.RoughnessTextureSize)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Roughness).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Roughness).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness), MaterialSettings.RoughnessTextureSize.X, MaterialSettings.RoughnessTextureSize.Y, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Roughness).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Roughness, MaterialSettings.RoughnessTextureSize);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal).Num() && MaterialSettings.bNormalMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Normal) != MaterialSettings.NormalTextureSize)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Normal).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Normal).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal), MaterialSettings.NormalTextureSize.X, MaterialSettings.NormalTextureSize.Y, NewSamples, true);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Normal).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Normal, MaterialSettings.NormalTextureSize);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive).Num() && MaterialSettings.bEmissiveMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Emissive) != MaterialSettings.EmissiveTextureSize)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Emissive).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Emissive).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive), MaterialSettings.EmissiveTextureSize.X, MaterialSettings.EmissiveTextureSize.Y, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Emissive).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Emissive, MaterialSettings.EmissiveTextureSize);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity).Num() && MaterialSettings.bOpacityMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Opacity) != MaterialSettings.OpacityTextureSize)
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
{
TArray<FColor> NewSamples;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Opacity).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::Opacity).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity), MaterialSettings.OpacityTextureSize.X, MaterialSettings.OpacityTextureSize.Y, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::Opacity).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::Opacity, MaterialSettings.OpacityTextureSize);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
if (InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask).Num() && MaterialSettings.bOpacityMaskMap && InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::OpacityMask) != MaterialSettings.OpacityMaskTextureSize)
{
TArray<FColor> NewSamples;
FImageUtils::ImageResize(InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::OpacityMask).X, InFlattenMaterial.GetPropertySize(EFlattenMaterialProperties::OpacityMask).Y, InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask), MaterialSettings.OpacityMaskTextureSize.X, MaterialSettings.OpacityMaskTextureSize.Y, NewSamples, false);
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask).Reset(NewSamples.Num());
InFlattenMaterial.GetPropertySamples(EFlattenMaterialProperties::OpacityMask).Append(NewSamples);
InFlattenMaterial.SetPropertySize(EFlattenMaterialProperties::OpacityMask, MaterialSettings.OpacityMaskTextureSize);
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2720406 on 2015/10/07 by Aaron.McLeran Audio optimization Don't search for nearest listener if there's only 1 listener. Change 2720411 on 2015/10/07 by Aaron.McLeran Fixing HRTF spatialization code with recent changes to stereo spatialization. HRTF emitter posiition doesn't need to be converted to XAudio2 coordinates. Change 2723829 on 2015/10/09 by Mieszko.Zielinski Fixed NavigationSystem trying to set label of newly spawned navigation data #UE4 UE-21880 Change 2723873 on 2015/10/09 by Mieszko.Zielinski Fixed a bug in FNavAgentProperties::IsEquivalent resulting in failing the test for FNavAgentProperties instances having default AgentStepHeight value (-1) #UE4 UE-21977 Change 2724834 on 2015/10/12 by Ori.Cohen PR #1634: Add PxVehicleDriveNW support to PhysXVehicleManager.cpp (Contributed by zeduk) Change 2724850 on 2015/10/12 by Marc.Audy Fix sound not restarting in matinee preview when jumping back along timeline after reaching end #codereview Nick.Darnell Change 2726499 on 2015/10/13 by Ori.Cohen Fix edge case where sphyl length and radius are 0 and they are not properly clamped to 0.1 Change 2726689 on 2015/10/13 by Marc.Audy Make UPackage::PackageFlags private Add debugging for UE-21181 to try and track down when EditorWorld's PackageFlags are getting flagged as PlayInEditor #codereview Mike.Fricker Change 2726862 on 2015/10/13 by Lukasz.Furman removed unused code from DetourNavMeshQuery #ue4 UE-21988 Change 2726888 on 2015/10/13 by Lukasz.Furman fixed observer abort: both mode in behavior tree's cone check decorator #ue4 UE-19375 Change 2726913 on 2015/10/13 by Lukasz.Furman navmesh raycast will use nearest poly containing ray origin instead of just closest one #ue4 UE-19334 Change 2726920 on 2015/10/13 by Marc.Audy Re-unify ULevelStreaming::GetWorldAssetPackageName and GetWorldAssetPackageFName #codereview Dmitriy.Dyomin, Bob.Tellez Change 2726931 on 2015/10/13 by Lukasz.Furman fixed missing Tick event in aborting behavior tree tasks from abandoned subtree #ue4 UE-21777 Change 2728093 on 2015/10/14 by Ori.Cohen Fix edge case of sphyl scale take two. The previous approach did double scaling Change 2728577 on 2015/10/14 by Mieszko.Zielinski Improved navmesh labeling condition #UE4 Change suggested by github user #rb Lukasz.Furman Change 2728587 on 2015/10/14 by Lukasz.Furman fixed crowd simulation for auto possessed pawns placed on level #ue4 #rb Mieszko.Zielinski Change 2728629 on 2015/10/14 by Lukasz.Furman fixed influence of navmesh edges on crowd simulation near end of path #ue4 UE-21380 #rb Mieszko.Zielinski Change 2728678 on 2015/10/14 by Lukasz.Furman added Z check to detour's crowd avoidance segment gathering #ue4 UE-20889 #rb Mieszko.Zielinski Change 2728745 on 2015/10/14 by Lukasz.Furman fixed copy&paste operation in behavior tree's composite decorators subgraphs #ue4 UE-18740 Change 2729276 on 2015/10/14 by Stan.Melax ensure all actors get recreated with new collision shape specification. this wasn't being done for a couple of editing methods. todo: this should be merged into 4.10 #UE-20961 #rb ori.cohen Change 2730709 on 2015/10/15 by Marc.Audy Prevent memory corruption when an invalid controller ID is passed in to the forcefeedback channel functions #rb Lina.Halper Change 2733590 on 2015/10/19 by Benn.Gallagher Fixed various crashes when using undo and redo while manipulating state machines UE 22088 Change 2735143 on 2015/10/20 by Lukasz.Furman clearing behavior tree debugger's state when displayed subtree becomes inactive #ue4 #rb Mieszko.Zielinski Change 2735144 on 2015/10/20 by Lukasz.Furman rebuilding behavior tree graph node order when node is being moved #ue4 #rb Mieszko.Zielinski Change 2735403 on 2015/10/20 by sebastian.kowalczyk Integrated fix for issue UE-18594 "Gameplay Debugger is hijacking the Canvas" issue from 4.10 (2735391). Extended previous fix to care about OSX users - it's possible to configure shortcuts in engine config file now (little different ones for osx platform). Change 2736406 on 2015/10/21 by sebastian.kowalczyk Added new GameplayDebugger as a plugin. Old gameplay debugger is still here to keep backward compatibility but it's deprecated now. Current projects should be moved to use new plugin soon. Change 2736436 on 2015/10/21 by sebastian.kowalczyk Fixed crash in gameplay debugger with player set as debug target. Change 2736437 on 2015/10/21 by sebastian.kowalczyk Added visual indicator around selected pawn to fix FORT-10273 issue. (FN is not using new gd plugin yet). Change 2736489 on 2015/10/21 by sebastian.kowalczyk Hide internal and debug hud classes from drop down lists. Change 2736504 on 2015/10/21 by sebastian.kowalczyk Fix for UE-18548 "EnableGDT does not work correctly in PIE". Change 2736529 on 2015/10/21 by sebastian.kowalczyk Fixed UE-18548 "EnableGDT does not work correctly in PIE" Change 2736588 on 2015/10/21 by sebastian.kowalczyk Removed old log visualizer classes. Change 2736700 on 2015/10/21 by sebastian.kowalczyk Fixed UE-19256 "Perception debug data doesn't get replicated by Gameplay Debuger" for old gameplay debugger module. Change 2737180 on 2015/10/21 by Zak.Middleton #ue4 - Fix UPrimitiveComponent::GetCollisionShape not correctly enforcing bounds limits. #rb Aaron.Mcleran #jira UE-22436 Change 2738084 on 2015/10/22 by sebastian.kowalczyk Better indication of selected pawn for Gameplay Debugger. Change 2738413 on 2015/10/22 by Marc.Audy Disable duplication of worlds/maps via the content browser #jira UE-22200 #rb James.Golding Change 2739743 on 2015/10/23 by bruce.nesbit UE-18707 - Issue with drawing material triangle on canvas #1387 Added DrawTriangleUsingVertexColor Change 2739751 on 2015/10/23 by bruce.nesbit Revised bShowDebugForReticleTarget should not be static #1539 Change 2739788 on 2015/10/23 by bruce.nesbit Revised the 2 functions that used FTriangleRenderer::DrawTriangle to use FTriangleRenderer::DrawTriangleUsingVertexColor Fixed compile error Change 2739870 on 2015/10/23 by Marc.Audy Avoid issues while detaching child components if OnAttachmentChange were to remove a sibling component itself. #jira UE-22362 #rb Zak.Middleton Change 2739882 on 2015/10/23 by sebastian.kowalczyk Fix for UE-20901 "VisualLog redirections are broken after PIE finishes" issue. Change 2740140 on 2015/10/23 by Marc.Audy Ensure that components reregister tick functions after seamless travel #jira UE-20892 #rb Zak.Middleton Change 2740614 on 2015/10/23 by Ori.Cohen Fix linker issues for people wanting to use physics lock lambdas Change 2740674 on 2015/10/23 by Aaron.McLeran Sound Focus Feature Added new parameters to SoundAttenuation settings to allow audio to change behavior based on its angle to the listener - Define the min/max azimuth angle to establish in-focus and non-focus regions - Can scale the priority of a sound based on focus angle - Can attenuate the volume of a sound based on focus angle - Can scale the listener-emitter distance based on focus angle - Distance scale is applied when determining max audible distance for USoundBase - Can opt-out of focus effects for a sound at the USoundBase level #rb Ryan.Vance Change 2741542 on 2015/10/26 by Lukasz.Furman lowered min value clamping in navigation filter properties #ue4 #rb Mieszko.Zielinski Change 2743227 on 2015/10/27 by Marc.Audy Make ASceneCaptureCube subclassable outside of Engine module #jira UE-22609 Make USceneCaptureComponentCube::UpdateContent callable outside of Engine module #jira UE-22610 #rb Jeff.Farris Change 2743255 on 2015/10/27 by Marc.Audy Wrap FActorSpawnParameters class with deprecation warning disable pragma instead of hand implementing copy constructor #rb Jeff.Farris Change 2743729 on 2015/10/27 by Ori.Cohen Fix case where we spawn and adjust location which gives us implicit velocity. #codereview Stan.Melax Change 2746135 on 2015/10/29 by sebastian.kowalczyk Fixed UE-21668 "Saving log filters selected in LogVisualizer causes insane ini file sizes! And doesn't really work." Change 2746437 on 2015/10/29 by Lukasz.Furman pass on verifying behavior tree stack before accessing its elements #ue4 #rb Mieszko.Zielinski Change 2748028 on 2015/10/30 by sebastian.kowalczyk Changed GameplayDebugger's console variable from gd.EQSOnHUD to ai.gd.EQSOnHUD" after suggestion with MieszkoZ. Change 2748184 on 2015/10/30 by Aaron.McLeran UE-22693 Fix for streaming bug - 3rd decoded buffer in initial 3 buffers was not getting submitted to xaudio2 voice resulting in garbled/skipped audio. - Wasn't able to repro the 'cannot read chunk' part of the bug #rb ryan.vance Change 2749255 on 2015/10/31 by sebastian.kowalczyk Fixed ai.gd.EQSOnHUD console variable after rename from gd.EQSOnHUD. Change 2749276 on 2015/10/31 by sebastian.kowalczyk Added switch to toggle highlight of selected actor to GameplayDebugger. Change 2749318 on 2015/10/31 by sebastian.kowalczyk New Gameplay Debugger plugin can be used with old module simultaneously. It's best to configure different keyboard binding for plugin when using old module (it can be set in project settings, for new gameplay debugger plugin - when activated for project). Change 2749337 on 2015/10/31 by sebastian.kowalczyk Fixed GameplayDebugger compilation in shipping/test builds. Change 2749376 on 2015/10/31 by sebastian.kowalczyk Small clean-up in gameplay debugger class for BT. Change 2749931 on 2015/11/02 by James.Golding Add stats to ProcMeshComp Change 2749932 on 2015/11/02 by James.Golding Remove PhysicsThrusterComponent.h from Engine.h Change 2749960 on 2015/11/02 by James.Golding - Fix PS4 compile errors in ActiveSound.cpp - Constructor order of FActiveSound - Shadowed AudioComponent var in CheckOcclusion #RB thomas.sarkanen #codereview aaron.mcleran Change 2749961 on 2015/11/02 by James.Golding Fix PS4 compile errors in GameplayDebuggerBaseObject.cpp - Shadowed DefaultContext function param, now just Context, which matches declaration #RB thomas.sarkanen #codereview sebastian.kowalczyk Change 2750026 on 2015/11/02 by Thomas.Sarkanen Anim Multithreading: thread-safety refactor Segregated access to various parts of anim update data by spitting off a new proxy class (FAnimInstanceProxy) containing all data accessed in Update() and Evaluate() passes. Gated access to the proxy data on the game thread in a number of ways: - Explicit access via GetValueOnGameThread() - this blocks on any existing task, completes and then allows control to return to the accessing function. This allows stuff like Blueprints to continue to operate as normal. - Explicit access via GetValueOnAnyThread() - this ensures that in the limited set of circumstances we need this (Blueprint pure functions mostly) that conditions are met about concurrent access. - Deprecating many APIs on UAnimInstance that should not be used (and in fact are not used at present, happily). Derived classes of UAnimInstance can override the creation of the proxy class to create their own type. We do this for UAnimSingleNodeInstance etc. Any API deprecation should continue to function - no functions have been removed yet. The only things that are not backwards-compatible are direct access to some public member variables for which there is no way to support (e.g. via references, for example UngroupedActivePlayerArrays). Some APIs have been changed to more specifically represent the dependencies involved. For example TickAssetPlayerInstance() used to take a UAnimInstance*, only to use it to simply queue notifies. This has been deprecated and replaced with a new FNotifyQueue API. FNotifyQueue also uses a thread-safe FRandomStream instead of FMath::Rand. Many changes are due to substituting accessor functions for direct variable access. Removed 'service' tick group as we no longer need to segregate the running of our parallel update. Anim nodes that need to do some game thread-side update should register for a pre-update callback delegate in the proxy. See FAnimNode_AnimDynamics for an example of this. Moved UpdateActiveVertexAnims into FAnimRuntime so I can subsume some of the code that was in USkeletalMeshComponent::EvaluateAnimation into UAnimInstance (and hence keep the proxy access private). #rb Martin.Wilson,Lina.Halper #codereview Michael.Noland Change 2750077 on 2015/11/02 by Marc.Audy Expose UInputComponent::BindAction that supports WithKey delegate signature Change 2751767 on 2015/11/03 by Thomas.Sarkanen Added extra support to Anim Blueprint 'fast-path' Added support for negated bools (value gets negated during copy). Added support for copying from struct members (via break struct) and split struct pins. Removed potentially troublesome references to BP-constructed UProperties, replacing them with the property FName. This adds some extra Initialize() overhead, but prevents various crash-on load issues (one when generating the class CRC). Added guard to prevent multiple initialization to save this more expensive work being done more often. #rb Martin.Wilson Change 2752158 on 2015/11/03 by Jeff.Farris Fixed UGameplayStatics::SpawnEmitterAttached() to register the ParticleSystemComponent after it spawns. #rb marc.audy Change 2752159 on 2015/11/03 by Jeff.Farris Improvements to camera lens effects to (EmitterCameraLensEffectBase) - can now specify a transform to align the emitter with the camera - exposed several key parameters to Blueprints - ENGINE_API now applies to the entire class #rb marc.audy Change 2753454 on 2015/11/04 by Thomas.Sarkanen Fixup deprecation warnings fallout from multithreaded update changes. Fixed up use of AnimInstance in Vicon plugin. Fixed up use of AnimInstance in slope warping node. Un-deprecated some APIs to become warning free (these APIs are safe to call but just a 'bad idea if you want to do it right'). Also an extra API to allow for smoother transition: Allow custom allocation/deallocation (including using a proxy member struct) by providing an override point for proxy destruction. #rb Martin.Wilson Change 2754099 on 2015/11/04 by Ori.Cohen Fix for task threads dropping stats (from Gil) #rb Gil.Gribb Change 2754449 on 2015/11/04 by Marc.Audy Ensure that components created from an Actor's blueprint BeginPlay implementation get BeginPlay called on them and register their component ticks #jira UE-20853 Reorganize some booleans to get better bit packing #rb Jeff.Farris #codereview Mieszko.Zielinski Change 2754573 on 2015/11/04 by Aaron.McLeran Fixing audio component PostLoad code to not set all LowPassFilterFrequency values to 0.0f Change 2755345 on 2015/11/05 by Thomas.Sarkanen Added deprecated constructors for various animation contexts Allows existing code to compile if it creates its own contexts from UAnimInstance. #rb James.Golding Change 2755348 on 2015/11/05 by James.Golding Add BP-exposed SetBoundsScale function to PrimitiveComponent #RB thomas.sarkanen Change 2755437 on 2015/11/05 by Marc.Audy Fix compile errors #codereview Thomas.Sarkanen, Mieszko.Zielinski, Aaron.McLeran Change 2755982 on 2015/11/05 by Marc.Audy Move HeaderParse changes for deprecation macro from Core Fix world settings warning Change 2756028 on 2015/11/05 by Marc.Audy Fix shadow variable issue Change 2756090 on 2015/11/05 by Ori.Cohen Improve budget tool so that task threads are computed automatically. #rb Gil.Gribb Change 2756120 on 2015/11/05 by Mieszko.Zielinski Fixed AIController::MoveTo not using DefaultQueryExtent of its navigation data #UE4 #rb Lukasz.Furman Change 2756243 on 2015/11/05 by Mieszko.Zielinski Fixed AI perception sight's "auto-visibility" mechanism totally skipping distance and vision cone checks #UE4 The old way was resulting in false positives when for example observer teleported somewhere far #rb Lukasz.Furman #codereview John.Abercrombie Change 2756280 on 2015/11/05 by Mieszko.Zielinski Minor VLog code cleanup and dumb-fixing visual logger accessing timer manager off of game thread #UE4 #rb Lukasz.Furman Change 2756500 on 2015/11/05 by Mieszko.Zielinski Added sanity-checking to BlueprintNodeHelpers::HasBlueprintFunction and cleaned up its usage #UE4 Also, refactored its parameters into references over pointers. #rb Lukasz.Furman Change 2757041 on 2015/11/06 by Thomas.Sarkanen Removed check() in UAnimInstance::GetProxyOnAnyThread() The check was no longer needed as if we are on the game thread we block until tasks are completed below, and if we are on any other thread we are 'safe' anyway. #rb James.Golding Change 2757207 on 2015/11/06 by Ori.Cohen Fix incorrect root body cache which causes a single frame "freak out" when simulating physics from an animation #rb Lina.Halper Change 2757238 on 2015/11/06 by Marc.Audy Force compiler generated functions to be generated for FHierarchicalSimplification in WorldSettings.h so that they are generated while the deprecation warnings are disabled. #rb Mike.Fricker Change 2757284 on 2015/11/06 by Stan.Melax tapered capsule drawing cloth collision happens with spheres and for the hull or tapered capsule goemetry between any specified pair of spheres. (this was already code reviewed before, but missed the check-in window before streamtime) #rb ori.cohen Change 2757743 on 2015/11/06 by Lukasz.Furman fixed node memory allocations for injected behavior tree decorators #ue4 UE-22783 #rb Mieszko.Zielinski Change 2757772 on 2015/11/06 by Lukasz.Furman added setters for crowd avoidance #ue4 UE-22785 #rb Mieszko.Zielinski Change 2758422 on 2015/11/07 by Lina.Halper Potential fix for invalid root bone index input #jira :/UE-23086 #code review: Ori.Cohen Change 2758429 on 2015/11/07 by Mieszko.Zielinski Reimplemented a fix for AI Sight's "auto seeing" mechanics in a more flexible way #UE4 #jira UE-23089 Change 2758571 on 2015/11/08 by Mieszko.Zielinski Modified ensure condition in UAIPerceptionComponent::OnRegister so it doesn't go off when BP does it's magic when components are being added to a BP actor class #UE4 #jira UE-23080 Change 2758821 on 2015/11/09 by Thomas.Sarkanen Fixed animations no longer playing when using a dedicated server. Uses correct logic to determine whether we are running as a server or not. #rb Martin.Wilson Change 2758920 on 2015/11/09 by Marc.Audy Don't dereference weak object pointers repeatedly in FBoneContainer::Initialize #rb Lina.Halper Change 2758944 on 2015/11/09 by Ori.Cohen Fix crash when stats are only on one thread and budget mode is used Change 2758967 on 2015/11/09 by Benn.Gallagher Fix for crash undoing notify socket changes in Persona, needed to recache the notify track data after the transaction had reserialized the sequence. #jira UE-22963 Change 2758973 on 2015/11/09 by Benn.Gallagher Added new 'Random Player' node for anim graphs allowing the user to play a selection of animations in a random order with certain randomised paramers. Also allows 'Shuffle Mode' to act more like a playlist in that it will play everything on the list before repeating. #rb Bruce.Nesbit Change 2759219 on 2015/11/09 by Ori.Cohen Character perf test is now looking at stats directly and sending to analytics #RB Ben.Salem Change 2759398 on 2015/11/09 by Lina.Halper Fix issue where placed montages are not playing. - the issue is that IsPlaying does not consider montage, but SetPlaying does. It is asymmetry, so I made it same. However, there are other functions that need to be re-looked at wr.t. montage #code review: Thomas.Sarkanen #RB: Marc.Audy Change 2759491 on 2015/11/09 by Lina.Halper #Anim: Fix not getting input correctly for Copy Pose node #RB: Marc.Audy Change 2759602 on 2015/11/09 by Marc.Audy Fix imporperly named struct Change 2759795 on 2015/11/09 by Aaron.McLeran UE-23145 Adding a Priority value to USoundBase to use in concurrency evaluation and sorting wave instances for voice stealing. #rb zak.middleton Change 2760081 on 2015/11/09 by Aaron.McLeran UE-23091 Adding more logging for NaN checks and fixing one source of NaNs for audio. OmniDirectional Math Explanation: For XAudio2, because we do our own distance-attenuation calculations, we use the X3dAudio2 API to simply compute a speaker-map for spatialization and force the listener to be at the origin and the emitter to be on the unit-circle. Thus, from XAudio2's perspective, all distances for every listener-emitter pair will be 1.0. So in order to use the InnerRadius blending feature, we need to trick it into doing a an inner radius blend relative to a distance of 1.0. For example, if OmniRadius and Distance are the same, then the "NormalizedOmniRadius" is 1.0 and XAudio2 will begin its "blend" of the sound to an omni-directional speaker map. If Emitter-listener distance is less than the OmniRadius, we'll want to do more blending to an omni-directional speaker map, but we need to set the InnerRadius to something greater than 1.0 (i.e. so that the normalized distance of 1.0 will be treated as less than the InnerRadius). To do "full" omni-directional blending, the emitter-listener distance will be 0 or close to zero, and the NormalizedOmniRadius will be very large (i.e. close to infiinity). The previous math just set the NormalizedOmniRadius to FLT_MAX which is fine but that number is eventually squared before making the API call. FLT_MAX squared is INF. Note: I do not think we need to square the OmniRadius in: Emitter.InnerRadius = OmniRadius*OmniRadius; But I am keeping it t here because of legacy content which depends on that behavior. #rb zak.middleton hange 2760401 on 2015/11/10 by Thomas.Sarkanen@Thomas.Sarkanen-Dev-Framework Re-instated deleted protected functions in UAnimInstance. Fixed access of UAnimInstance in FAnimNode_StateMachine. #rb Martin.Wilson Change 2760407 on 2015/11/10 by Jurre.deBaare Construct raw meshes for spline meshes now uses the render data instead of original model data (preserves tangents/normals) Change 2760468 on 2015/11/10 by Benn.Gallagher Anim Dynamics optimizations, cached iteration independant data to reduce footprint of iteration on limits. #rb Graeme.Thornton Change 2760613 on 2015/11/10 by Jeff.Farris Fixed async collision completion delegate potentially firing repeatedly. (UE-23149) #cr marc.audy #codereview lina.halper Change 2760795 on 2015/11/10 by Marc.Audy Don't compile in pointless AddReferencedObjects when with editoronly data not defined Minor coding standard cleanup (NULL and auto) Change 2760848 on 2015/11/10 by Benn.Gallagher Fix to anim instance proxy to not rely on state machine initialization to bind native delegates as nested state machines are not guaranteed to be initialized. This was fixed in UAnimInstance originally but broken again by the proxy instance code. #jira UE-23164 #rb Martin.Wilson Change 2760866 on 2015/11/10 by Marc.Audy Manage transient visualization components for camera component in the same way that sprite component for other actor components are #rb Mike.Beach Change 2760963 on 2015/11/10 by Marc.Audy Since construction script can cause actors to be spawned don't use a ranged for to iterate #jira UE-22639 #rb Jeff.Farris #codereview Dmitriy.Dyomin Change 2762297 on 2015/11/11 by James.Golding UE-23086 Don't ensure in SetRootBodyIndex when Bodies array is empty (ie no physics state created) #rb martin.wilson #codereview ori.cohen, lina.halper Change 2763566 on 2015/11/11 by Lina.Halper FAnimNode_CopyPoseFromMesh::Evaluate - was accessing skeleton joint, not mesh joint. #RB: Laurent.Delayen Change 2763926 on 2015/11/12 by Thomas.Sarkanen Fix anim notifies not firing from single anim instances UE-23248 - Anim Notifies are not working for Animation Sequences UE-23249 - Anim Notifies using Sound Cues do not work #rb James.Golding Change 2764039 on 2015/11/12 by Jurre.deBaare Fix for issue with incorrect material indices after reducing a skeletal mesh with non LOD0 mesh as BaseLOD (OR-9243) #rb Lina.Halper Change 2764307 on 2015/11/12 by Jurre.deBaare VS2015 SSF library Change 2764314 on 2015/11/12 by Stan.Melax crashfix was putting bad bodies to sleep at start Fatal error! Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000 UE4Editor-Engine.dll!USkeletalMeshComponent::InitArticulated() [...\\engine\\source\\runtime\\engine\\private\\skeletalmeshcomponentphysics.cpp:875] On some skeletalmeshcomponent, some bodies aren't getting created correctly. Trying to force them to sleep was causing a crash - it expected instantiated physx bodies. Seems that all the rest of the code is able to tolerate bad bodies. Added check to ensure physx body exists before trying to force it to sleep. not sure if bad bodies are the norm or if this fix is just more "kicking the can down the road". #codereview ori.cohen Change 2764343 on 2015/11/12 by Jurre.deBaare - Fixed crash when building a LOD with SubActors.Num < 2 - Force HLOD level slider is now always enabled, however won't show complete image if not all HLODs are build - LODActor tree view item now scrolls into view if selected in the world - Set bAllowCullDistanceVolume to false for LODActor's static mesh components by default - Added 7zip files - Fixed issue with WinINet complaining about http-request without 'http://' prefix - Changed % reduced or original triangles display string, now uses float instead of int (for < 1% reductions) - Override texture sizes and automatic texture bias - Fixed issue with incorrect material merging, not picking up it required mesh-data during baking. Added extra conditions for rendering with mesh-data. - Now incorporate static meshes with opague materials into HLOD merging - Fixed issue with incorrect normals after merging meshes who's owning components had been negatively scaled - Fixed issue with incorrect texture size being set from MergeActor window (was only changing .X component) - Fixed issue with material merging when meshes with multiple LODs are merged, right now only merges LOD0's together if we are also merging the materials (otherwise, merge each LOD) - Added ENUM for texture scaling/resizing type that has to be applied while merging the materials - Added detail customization class for FMaterialProxySettings #rb James.Golding [CL 2765024 by Marc Audy in Main branch]
2015-11-12 18:11:48 -05:00
}
}
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
/** Computes the uniform scale from the input scales, if one exists. */
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
static float GetUniformScale(const TArray<float> Scales)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
if (Scales.Num())
{
float Average = 0;
float Mean = 0;
for (float V : Scales)
{
Average += V;
}
Average /= (float)Scales.Num();
for (float V : Scales)
{
Mean += FMath::Abs(V - Average);
}
Mean /= (float)Scales.Num();
if (Mean * 15.f < Average) // If they are almost all the same
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
return Average;
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
}
else // Otherwise do a much more expensive test by counting the number of similar values
{
// Try to find a small range where 80% of values fit within.
const int32 TryThreshold = FMath::CeilToInt(.80f * (float)Scales.Num());
int32 NextTryDomain = Scales.Num();
float NextTryMinV = 1024;
for (float V : Scales)
{
NextTryMinV = FMath::Min<float>(V, NextTryMinV);
}
while (NextTryDomain >= TryThreshold) // Stop the search it is garantied to fail.
{
float TryMinV = NextTryMinV;
float TryMaxV = TryMinV * 1.25f;
int32 TryMatches = 0;
NextTryMinV = 1024;
NextTryDomain = 0;
for (float V : Scales)
{
if (TryMinV <= V && V <= TryMaxV)
{
++TryMatches;
}
if (V > TryMinV)
{
NextTryMinV = FMath::Min<float>(V, NextTryMinV);
++NextTryDomain;
}
}
if (TryMatches >= TryThreshold)
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
return TryMinV;
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
}
}
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
return 0;
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3054480) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3045482 on 2016/07/11 by Zabir.Hoque DX12 Quries need to individually track their syncpoints. Only when resolving a query on the same frame should be stall. Change 3045929 on 2016/07/12 by Simon.Tovey Removing some deprecated node types from Niagara Change 3045951 on 2016/07/12 by Ben.Woodhouse D3D11 Log detailed live device info on shutdown if the debug layer is enabled (including resource types) Change 3046019 on 2016/07/12 by Chris.Bunner Fixed typo in material input name. #jira UE-5575 Change 3046053 on 2016/07/12 by Rolando.Caloca DR - Fix GL4 shutdown #jira UE-32799 Change 3046055 on 2016/07/12 by Rolando.Caloca DR - vk - Fix NumInstances=0 Change 3046063 on 2016/07/12 by Rolando.Caloca DR - vk - Added flat to uint layouts per glslang - Fix bad extension on dumped shaders Change 3046067 on 2016/07/12 by Rolando.Caloca DR - vk - Fix check when not using color RT - Added queue submit & present counters Change 3046088 on 2016/07/12 by Ben.Woodhouse Live GPU stats A non-hierarchical realtime high level GPU profiler with support for cumulative stat recording. Stats are added with SCOPED_GPU_STAT macros, e.g. SCOPED_GPU_STAT(RHICmdList, Stat_GPU_Distortion) The bulk of the files in this change are simply instrumentation for the renderer. The core changes are in SceneUtils.cpp/h and D3D11Query.cpp (this is the XB1/DX11X implementation of timestamp RHI queries, which was missing) Note: this is currently disabled by default. Enable with the cvar r.gpustatsenabled Tested on PC, XB1, PS4 Change 3046128 on 2016/07/12 by Olaf.Piesche Max draw distance and fade range for lights, requested by JonL Change 3046183 on 2016/07/12 by Ben.Woodhouse PR #2532: Fix SSAO being applied in unlit viewmode (Contributed by nick-penwarden) Change 3046223 on 2016/07/12 by Luke.Thatcher Fix Scene Cube Captures. SceneCaptureSource flag on the ViewFamily was not set for cube components. #jira UE-32345 Change 3046228 on 2016/07/12 by Marc.Olano Add Voronoi noise to Noise material node. Four versions with differing speed/quality levels accessed through the Quality value in the material node. Tooltips give estimates of the cost of each. Also includes spiffy new Rand3DPCG16 and Rand3DPCG32 int3 to int3 hash functions, and a 20% improvement on the computed gradient noise. Change 3046269 on 2016/07/12 by Rolando.Caloca DR - Skip flush on RHIDiscardRenderTargets and only use it on platforms that need it (ie OpenGL) Change 3046294 on 2016/07/12 by Rolando.Caloca DR - Fix static analyisis warning C6326: Potential comparison of a constant with another constant. Change 3046295 on 2016/07/12 by Rolando.Caloca DR - Fix the previous fix Change 3046731 on 2016/07/12 by Marc.Olano Fix typo in shader random number constant: repeated extra digit made it too big. Change 3046796 on 2016/07/12 by Uriel.Doyon The texture streaming manager now keeps a set of all valid textures. This is used to prevent from indirecting deleted memory upon SetTexturesRemovedTimestamp. #jira UE-33048 Change 3046800 on 2016/07/12 by Rolando.Caloca DR - vk - Added create image & renderpass dump Change 3046845 on 2016/07/12 by John.Billon Forgot to apply MaxGPUSkinBones Cvar access changes in a few locations. Change 3047023 on 2016/07/12 by Olaf.Piesche Niagara: -a bit of cleanup -now store and double buffer attributes individually, eliminating unnecessary copy of unused attributes -removed FNiagaraConstantMap, replaced with an instance of FNiagaraConstants -some code simplification -removed some deprecated structs and code used only by old content Change 3047052 on 2016/07/12 by Zabir.Hoque Unshelved from pending changelist '3044062': PR #2588: Adding blend mode BLEND_AlphaComposite (4.12) (Contributed by moritz-wundke) Change 3047727 on 2016/07/13 by Luke.Thatcher Fix Scene Capture Components only updating every other frame. #jira UE-32581 Change 3047919 on 2016/07/13 by Olaf.Piesche CMask decode, use in deferred decals, for PS4 Change 3047921 on 2016/07/13 by Uriel.Doyon "Build Texture Streaming" will now remove duplicate error msg when computing texcoord scales. Also, several texture messages are packed on the same line if they relate to the same material. Change 3047952 on 2016/07/13 by Rolando.Caloca DR - vk - Initial prep pass for separating combined images & samplers Change 3048648 on 2016/07/13 by Marcus.Wassmer Fix rare GPU hang when asynctexture reallocs would overlap with EndFrame Change 3049058 on 2016/07/13 by Rolando.Caloca DR - vk - timestamps Change 3049725 on 2016/07/14 by Marcus.Wassmer Fix autosdk bug where not having a platform directory sync'd at all would break manual SDK detection Change 3049742 on 2016/07/14 by Rolando.Caloca DR - Fix warning Change 3049902 on 2016/07/14 by Rolando.Caloca DR - Fix typo Change 3050345 on 2016/07/14 by Olaf.Piesche UE-23925 Clamping noise tessellation for beams at a high but sensible value; also making sure during beam index buffer building that we never get over 2^16 indices; this is a bit hokey, but there are so many variables that can influence triangle/index count, that this is the only way to be sure (short of nuking the entire site from orbit). Change 3050409 on 2016/07/14 by Olaf.Piesche Replicating 3049049; missing break and check for active particles when resolving a source point to avoid a potential crash Change 3050809 on 2016/07/14 by Rolando.Caloca DR - vk - Remove redundant validation layers Change 3051319 on 2016/07/15 by Ben.Woodhouse Fix for world space camera position not being exposed in decal pixel shaders; also fixes decal lighting missing spec and reflection The fix was to calculate ResolvedView at the top of the shader. Previously this was not initialized #jira UE-31976 Change 3051692 on 2016/07/15 by Rolando.Caloca DR - vk - Enable RHI thread by default Change 3052103 on 2016/07/15 by Uriel.Doyon Disabled depth offset in depth only pixel shaders when using debug view shaders (to prevent Z fighting). #jira UE-32765 Change 3052140 on 2016/07/15 by Rolando.Caloca DR - vk - Fix shader snafu Change 3052495 on 2016/07/15 by Rolando.Caloca DR - Fix for Win32 compile #jira UE-33349 Change 3052536 on 2016/07/15 by Uriel.Doyon Fixed texture streaming overbudget warning when using per texture bias. [CL 3054554 by Gil Gribb in Main branch]
2016-07-18 17:17:08 -04:00
uint32 GetTypeHash(const FMaterialUtilities::FExportErrorManager::FError& Error)
{
return GetTypeHash(Error.Material);
}
bool FMaterialUtilities::FExportErrorManager::FError::operator==(const FError& Rhs) const
{
return Material == Rhs.Material && RegisterIndex == Rhs.RegisterIndex && ErrorType == Rhs.ErrorType;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
void FMaterialUtilities::FExportErrorManager::Register(const UMaterialInterface* Material, FName TextureName, int32 RegisterIndex, EErrorType ErrorType)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3054480) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3045482 on 2016/07/11 by Zabir.Hoque DX12 Quries need to individually track their syncpoints. Only when resolving a query on the same frame should be stall. Change 3045929 on 2016/07/12 by Simon.Tovey Removing some deprecated node types from Niagara Change 3045951 on 2016/07/12 by Ben.Woodhouse D3D11 Log detailed live device info on shutdown if the debug layer is enabled (including resource types) Change 3046019 on 2016/07/12 by Chris.Bunner Fixed typo in material input name. #jira UE-5575 Change 3046053 on 2016/07/12 by Rolando.Caloca DR - Fix GL4 shutdown #jira UE-32799 Change 3046055 on 2016/07/12 by Rolando.Caloca DR - vk - Fix NumInstances=0 Change 3046063 on 2016/07/12 by Rolando.Caloca DR - vk - Added flat to uint layouts per glslang - Fix bad extension on dumped shaders Change 3046067 on 2016/07/12 by Rolando.Caloca DR - vk - Fix check when not using color RT - Added queue submit & present counters Change 3046088 on 2016/07/12 by Ben.Woodhouse Live GPU stats A non-hierarchical realtime high level GPU profiler with support for cumulative stat recording. Stats are added with SCOPED_GPU_STAT macros, e.g. SCOPED_GPU_STAT(RHICmdList, Stat_GPU_Distortion) The bulk of the files in this change are simply instrumentation for the renderer. The core changes are in SceneUtils.cpp/h and D3D11Query.cpp (this is the XB1/DX11X implementation of timestamp RHI queries, which was missing) Note: this is currently disabled by default. Enable with the cvar r.gpustatsenabled Tested on PC, XB1, PS4 Change 3046128 on 2016/07/12 by Olaf.Piesche Max draw distance and fade range for lights, requested by JonL Change 3046183 on 2016/07/12 by Ben.Woodhouse PR #2532: Fix SSAO being applied in unlit viewmode (Contributed by nick-penwarden) Change 3046223 on 2016/07/12 by Luke.Thatcher Fix Scene Cube Captures. SceneCaptureSource flag on the ViewFamily was not set for cube components. #jira UE-32345 Change 3046228 on 2016/07/12 by Marc.Olano Add Voronoi noise to Noise material node. Four versions with differing speed/quality levels accessed through the Quality value in the material node. Tooltips give estimates of the cost of each. Also includes spiffy new Rand3DPCG16 and Rand3DPCG32 int3 to int3 hash functions, and a 20% improvement on the computed gradient noise. Change 3046269 on 2016/07/12 by Rolando.Caloca DR - Skip flush on RHIDiscardRenderTargets and only use it on platforms that need it (ie OpenGL) Change 3046294 on 2016/07/12 by Rolando.Caloca DR - Fix static analyisis warning C6326: Potential comparison of a constant with another constant. Change 3046295 on 2016/07/12 by Rolando.Caloca DR - Fix the previous fix Change 3046731 on 2016/07/12 by Marc.Olano Fix typo in shader random number constant: repeated extra digit made it too big. Change 3046796 on 2016/07/12 by Uriel.Doyon The texture streaming manager now keeps a set of all valid textures. This is used to prevent from indirecting deleted memory upon SetTexturesRemovedTimestamp. #jira UE-33048 Change 3046800 on 2016/07/12 by Rolando.Caloca DR - vk - Added create image & renderpass dump Change 3046845 on 2016/07/12 by John.Billon Forgot to apply MaxGPUSkinBones Cvar access changes in a few locations. Change 3047023 on 2016/07/12 by Olaf.Piesche Niagara: -a bit of cleanup -now store and double buffer attributes individually, eliminating unnecessary copy of unused attributes -removed FNiagaraConstantMap, replaced with an instance of FNiagaraConstants -some code simplification -removed some deprecated structs and code used only by old content Change 3047052 on 2016/07/12 by Zabir.Hoque Unshelved from pending changelist '3044062': PR #2588: Adding blend mode BLEND_AlphaComposite (4.12) (Contributed by moritz-wundke) Change 3047727 on 2016/07/13 by Luke.Thatcher Fix Scene Capture Components only updating every other frame. #jira UE-32581 Change 3047919 on 2016/07/13 by Olaf.Piesche CMask decode, use in deferred decals, for PS4 Change 3047921 on 2016/07/13 by Uriel.Doyon "Build Texture Streaming" will now remove duplicate error msg when computing texcoord scales. Also, several texture messages are packed on the same line if they relate to the same material. Change 3047952 on 2016/07/13 by Rolando.Caloca DR - vk - Initial prep pass for separating combined images & samplers Change 3048648 on 2016/07/13 by Marcus.Wassmer Fix rare GPU hang when asynctexture reallocs would overlap with EndFrame Change 3049058 on 2016/07/13 by Rolando.Caloca DR - vk - timestamps Change 3049725 on 2016/07/14 by Marcus.Wassmer Fix autosdk bug where not having a platform directory sync'd at all would break manual SDK detection Change 3049742 on 2016/07/14 by Rolando.Caloca DR - Fix warning Change 3049902 on 2016/07/14 by Rolando.Caloca DR - Fix typo Change 3050345 on 2016/07/14 by Olaf.Piesche UE-23925 Clamping noise tessellation for beams at a high but sensible value; also making sure during beam index buffer building that we never get over 2^16 indices; this is a bit hokey, but there are so many variables that can influence triangle/index count, that this is the only way to be sure (short of nuking the entire site from orbit). Change 3050409 on 2016/07/14 by Olaf.Piesche Replicating 3049049; missing break and check for active particles when resolving a source point to avoid a potential crash Change 3050809 on 2016/07/14 by Rolando.Caloca DR - vk - Remove redundant validation layers Change 3051319 on 2016/07/15 by Ben.Woodhouse Fix for world space camera position not being exposed in decal pixel shaders; also fixes decal lighting missing spec and reflection The fix was to calculate ResolvedView at the top of the shader. Previously this was not initialized #jira UE-31976 Change 3051692 on 2016/07/15 by Rolando.Caloca DR - vk - Enable RHI thread by default Change 3052103 on 2016/07/15 by Uriel.Doyon Disabled depth offset in depth only pixel shaders when using debug view shaders (to prevent Z fighting). #jira UE-32765 Change 3052140 on 2016/07/15 by Rolando.Caloca DR - vk - Fix shader snafu Change 3052495 on 2016/07/15 by Rolando.Caloca DR - Fix for Win32 compile #jira UE-33349 Change 3052536 on 2016/07/15 by Uriel.Doyon Fixed texture streaming overbudget warning when using per texture bias. [CL 3054554 by Gil Gribb in Main branch]
2016-07-18 17:17:08 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
if (!Material || TextureName == NAME_None) return;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3054480) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3045482 on 2016/07/11 by Zabir.Hoque DX12 Quries need to individually track their syncpoints. Only when resolving a query on the same frame should be stall. Change 3045929 on 2016/07/12 by Simon.Tovey Removing some deprecated node types from Niagara Change 3045951 on 2016/07/12 by Ben.Woodhouse D3D11 Log detailed live device info on shutdown if the debug layer is enabled (including resource types) Change 3046019 on 2016/07/12 by Chris.Bunner Fixed typo in material input name. #jira UE-5575 Change 3046053 on 2016/07/12 by Rolando.Caloca DR - Fix GL4 shutdown #jira UE-32799 Change 3046055 on 2016/07/12 by Rolando.Caloca DR - vk - Fix NumInstances=0 Change 3046063 on 2016/07/12 by Rolando.Caloca DR - vk - Added flat to uint layouts per glslang - Fix bad extension on dumped shaders Change 3046067 on 2016/07/12 by Rolando.Caloca DR - vk - Fix check when not using color RT - Added queue submit & present counters Change 3046088 on 2016/07/12 by Ben.Woodhouse Live GPU stats A non-hierarchical realtime high level GPU profiler with support for cumulative stat recording. Stats are added with SCOPED_GPU_STAT macros, e.g. SCOPED_GPU_STAT(RHICmdList, Stat_GPU_Distortion) The bulk of the files in this change are simply instrumentation for the renderer. The core changes are in SceneUtils.cpp/h and D3D11Query.cpp (this is the XB1/DX11X implementation of timestamp RHI queries, which was missing) Note: this is currently disabled by default. Enable with the cvar r.gpustatsenabled Tested on PC, XB1, PS4 Change 3046128 on 2016/07/12 by Olaf.Piesche Max draw distance and fade range for lights, requested by JonL Change 3046183 on 2016/07/12 by Ben.Woodhouse PR #2532: Fix SSAO being applied in unlit viewmode (Contributed by nick-penwarden) Change 3046223 on 2016/07/12 by Luke.Thatcher Fix Scene Cube Captures. SceneCaptureSource flag on the ViewFamily was not set for cube components. #jira UE-32345 Change 3046228 on 2016/07/12 by Marc.Olano Add Voronoi noise to Noise material node. Four versions with differing speed/quality levels accessed through the Quality value in the material node. Tooltips give estimates of the cost of each. Also includes spiffy new Rand3DPCG16 and Rand3DPCG32 int3 to int3 hash functions, and a 20% improvement on the computed gradient noise. Change 3046269 on 2016/07/12 by Rolando.Caloca DR - Skip flush on RHIDiscardRenderTargets and only use it on platforms that need it (ie OpenGL) Change 3046294 on 2016/07/12 by Rolando.Caloca DR - Fix static analyisis warning C6326: Potential comparison of a constant with another constant. Change 3046295 on 2016/07/12 by Rolando.Caloca DR - Fix the previous fix Change 3046731 on 2016/07/12 by Marc.Olano Fix typo in shader random number constant: repeated extra digit made it too big. Change 3046796 on 2016/07/12 by Uriel.Doyon The texture streaming manager now keeps a set of all valid textures. This is used to prevent from indirecting deleted memory upon SetTexturesRemovedTimestamp. #jira UE-33048 Change 3046800 on 2016/07/12 by Rolando.Caloca DR - vk - Added create image & renderpass dump Change 3046845 on 2016/07/12 by John.Billon Forgot to apply MaxGPUSkinBones Cvar access changes in a few locations. Change 3047023 on 2016/07/12 by Olaf.Piesche Niagara: -a bit of cleanup -now store and double buffer attributes individually, eliminating unnecessary copy of unused attributes -removed FNiagaraConstantMap, replaced with an instance of FNiagaraConstants -some code simplification -removed some deprecated structs and code used only by old content Change 3047052 on 2016/07/12 by Zabir.Hoque Unshelved from pending changelist '3044062': PR #2588: Adding blend mode BLEND_AlphaComposite (4.12) (Contributed by moritz-wundke) Change 3047727 on 2016/07/13 by Luke.Thatcher Fix Scene Capture Components only updating every other frame. #jira UE-32581 Change 3047919 on 2016/07/13 by Olaf.Piesche CMask decode, use in deferred decals, for PS4 Change 3047921 on 2016/07/13 by Uriel.Doyon "Build Texture Streaming" will now remove duplicate error msg when computing texcoord scales. Also, several texture messages are packed on the same line if they relate to the same material. Change 3047952 on 2016/07/13 by Rolando.Caloca DR - vk - Initial prep pass for separating combined images & samplers Change 3048648 on 2016/07/13 by Marcus.Wassmer Fix rare GPU hang when asynctexture reallocs would overlap with EndFrame Change 3049058 on 2016/07/13 by Rolando.Caloca DR - vk - timestamps Change 3049725 on 2016/07/14 by Marcus.Wassmer Fix autosdk bug where not having a platform directory sync'd at all would break manual SDK detection Change 3049742 on 2016/07/14 by Rolando.Caloca DR - Fix warning Change 3049902 on 2016/07/14 by Rolando.Caloca DR - Fix typo Change 3050345 on 2016/07/14 by Olaf.Piesche UE-23925 Clamping noise tessellation for beams at a high but sensible value; also making sure during beam index buffer building that we never get over 2^16 indices; this is a bit hokey, but there are so many variables that can influence triangle/index count, that this is the only way to be sure (short of nuking the entire site from orbit). Change 3050409 on 2016/07/14 by Olaf.Piesche Replicating 3049049; missing break and check for active particles when resolving a source point to avoid a potential crash Change 3050809 on 2016/07/14 by Rolando.Caloca DR - vk - Remove redundant validation layers Change 3051319 on 2016/07/15 by Ben.Woodhouse Fix for world space camera position not being exposed in decal pixel shaders; also fixes decal lighting missing spec and reflection The fix was to calculate ResolvedView at the top of the shader. Previously this was not initialized #jira UE-31976 Change 3051692 on 2016/07/15 by Rolando.Caloca DR - vk - Enable RHI thread by default Change 3052103 on 2016/07/15 by Uriel.Doyon Disabled depth offset in depth only pixel shaders when using debug view shaders (to prevent Z fighting). #jira UE-32765 Change 3052140 on 2016/07/15 by Rolando.Caloca DR - vk - Fix shader snafu Change 3052495 on 2016/07/15 by Rolando.Caloca DR - Fix for Win32 compile #jira UE-33349 Change 3052536 on 2016/07/15 by Uriel.Doyon Fixed texture streaming overbudget warning when using per texture bias. [CL 3054554 by Gil Gribb in Main branch]
2016-07-18 17:17:08 -04:00
FError Error;
Error.Material = Material->GetMaterialResource(FeatureLevel);
if (!Error.Material) return;
Error.RegisterIndex = RegisterIndex;
Error.ErrorType = ErrorType;
FInstance Instance;
Instance.Material = Material;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
Instance.TextureName = TextureName;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3054480) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3045482 on 2016/07/11 by Zabir.Hoque DX12 Quries need to individually track their syncpoints. Only when resolving a query on the same frame should be stall. Change 3045929 on 2016/07/12 by Simon.Tovey Removing some deprecated node types from Niagara Change 3045951 on 2016/07/12 by Ben.Woodhouse D3D11 Log detailed live device info on shutdown if the debug layer is enabled (including resource types) Change 3046019 on 2016/07/12 by Chris.Bunner Fixed typo in material input name. #jira UE-5575 Change 3046053 on 2016/07/12 by Rolando.Caloca DR - Fix GL4 shutdown #jira UE-32799 Change 3046055 on 2016/07/12 by Rolando.Caloca DR - vk - Fix NumInstances=0 Change 3046063 on 2016/07/12 by Rolando.Caloca DR - vk - Added flat to uint layouts per glslang - Fix bad extension on dumped shaders Change 3046067 on 2016/07/12 by Rolando.Caloca DR - vk - Fix check when not using color RT - Added queue submit & present counters Change 3046088 on 2016/07/12 by Ben.Woodhouse Live GPU stats A non-hierarchical realtime high level GPU profiler with support for cumulative stat recording. Stats are added with SCOPED_GPU_STAT macros, e.g. SCOPED_GPU_STAT(RHICmdList, Stat_GPU_Distortion) The bulk of the files in this change are simply instrumentation for the renderer. The core changes are in SceneUtils.cpp/h and D3D11Query.cpp (this is the XB1/DX11X implementation of timestamp RHI queries, which was missing) Note: this is currently disabled by default. Enable with the cvar r.gpustatsenabled Tested on PC, XB1, PS4 Change 3046128 on 2016/07/12 by Olaf.Piesche Max draw distance and fade range for lights, requested by JonL Change 3046183 on 2016/07/12 by Ben.Woodhouse PR #2532: Fix SSAO being applied in unlit viewmode (Contributed by nick-penwarden) Change 3046223 on 2016/07/12 by Luke.Thatcher Fix Scene Cube Captures. SceneCaptureSource flag on the ViewFamily was not set for cube components. #jira UE-32345 Change 3046228 on 2016/07/12 by Marc.Olano Add Voronoi noise to Noise material node. Four versions with differing speed/quality levels accessed through the Quality value in the material node. Tooltips give estimates of the cost of each. Also includes spiffy new Rand3DPCG16 and Rand3DPCG32 int3 to int3 hash functions, and a 20% improvement on the computed gradient noise. Change 3046269 on 2016/07/12 by Rolando.Caloca DR - Skip flush on RHIDiscardRenderTargets and only use it on platforms that need it (ie OpenGL) Change 3046294 on 2016/07/12 by Rolando.Caloca DR - Fix static analyisis warning C6326: Potential comparison of a constant with another constant. Change 3046295 on 2016/07/12 by Rolando.Caloca DR - Fix the previous fix Change 3046731 on 2016/07/12 by Marc.Olano Fix typo in shader random number constant: repeated extra digit made it too big. Change 3046796 on 2016/07/12 by Uriel.Doyon The texture streaming manager now keeps a set of all valid textures. This is used to prevent from indirecting deleted memory upon SetTexturesRemovedTimestamp. #jira UE-33048 Change 3046800 on 2016/07/12 by Rolando.Caloca DR - vk - Added create image & renderpass dump Change 3046845 on 2016/07/12 by John.Billon Forgot to apply MaxGPUSkinBones Cvar access changes in a few locations. Change 3047023 on 2016/07/12 by Olaf.Piesche Niagara: -a bit of cleanup -now store and double buffer attributes individually, eliminating unnecessary copy of unused attributes -removed FNiagaraConstantMap, replaced with an instance of FNiagaraConstants -some code simplification -removed some deprecated structs and code used only by old content Change 3047052 on 2016/07/12 by Zabir.Hoque Unshelved from pending changelist '3044062': PR #2588: Adding blend mode BLEND_AlphaComposite (4.12) (Contributed by moritz-wundke) Change 3047727 on 2016/07/13 by Luke.Thatcher Fix Scene Capture Components only updating every other frame. #jira UE-32581 Change 3047919 on 2016/07/13 by Olaf.Piesche CMask decode, use in deferred decals, for PS4 Change 3047921 on 2016/07/13 by Uriel.Doyon "Build Texture Streaming" will now remove duplicate error msg when computing texcoord scales. Also, several texture messages are packed on the same line if they relate to the same material. Change 3047952 on 2016/07/13 by Rolando.Caloca DR - vk - Initial prep pass for separating combined images & samplers Change 3048648 on 2016/07/13 by Marcus.Wassmer Fix rare GPU hang when asynctexture reallocs would overlap with EndFrame Change 3049058 on 2016/07/13 by Rolando.Caloca DR - vk - timestamps Change 3049725 on 2016/07/14 by Marcus.Wassmer Fix autosdk bug where not having a platform directory sync'd at all would break manual SDK detection Change 3049742 on 2016/07/14 by Rolando.Caloca DR - Fix warning Change 3049902 on 2016/07/14 by Rolando.Caloca DR - Fix typo Change 3050345 on 2016/07/14 by Olaf.Piesche UE-23925 Clamping noise tessellation for beams at a high but sensible value; also making sure during beam index buffer building that we never get over 2^16 indices; this is a bit hokey, but there are so many variables that can influence triangle/index count, that this is the only way to be sure (short of nuking the entire site from orbit). Change 3050409 on 2016/07/14 by Olaf.Piesche Replicating 3049049; missing break and check for active particles when resolving a source point to avoid a potential crash Change 3050809 on 2016/07/14 by Rolando.Caloca DR - vk - Remove redundant validation layers Change 3051319 on 2016/07/15 by Ben.Woodhouse Fix for world space camera position not being exposed in decal pixel shaders; also fixes decal lighting missing spec and reflection The fix was to calculate ResolvedView at the top of the shader. Previously this was not initialized #jira UE-31976 Change 3051692 on 2016/07/15 by Rolando.Caloca DR - vk - Enable RHI thread by default Change 3052103 on 2016/07/15 by Uriel.Doyon Disabled depth offset in depth only pixel shaders when using debug view shaders (to prevent Z fighting). #jira UE-32765 Change 3052140 on 2016/07/15 by Rolando.Caloca DR - vk - Fix shader snafu Change 3052495 on 2016/07/15 by Rolando.Caloca DR - Fix for Win32 compile #jira UE-33349 Change 3052536 on 2016/07/15 by Uriel.Doyon Fixed texture streaming overbudget warning when using per texture bias. [CL 3054554 by Gil Gribb in Main branch]
2016-07-18 17:17:08 -04:00
ErrorInstances.FindOrAdd(Error).Push(Instance);
}
void FMaterialUtilities::FExportErrorManager::OutputToLog()
{
const UMaterialInterface* CurrentMaterial = nullptr;
int32 MaxInstanceCount = 0;
FString TextureErrors;
for (TMap<FError, TArray<FInstance> >::TIterator It(ErrorInstances);; ++It)
{
if (It && !It->Value.Num()) continue;
// Here we pack texture list per material.
if (!It || CurrentMaterial != It->Value[0].Material)
{
// Flush
if (CurrentMaterial)
{
FString SimilarCount(TEXT(""));
if (MaxInstanceCount > 1)
{
SimilarCount = FString::Printf(TEXT(", %d similar"), MaxInstanceCount - 1);
}
if (CurrentMaterial == CurrentMaterial->GetMaterial())
{
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3088355 on 2016/08/13 by Max.Preussner Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643) #jira UE-34643 Change 3088331 on 2016/08/13 by Max.Preussner Media: Fixed Failing to load Precached Media Source (UE-34285) #jira UE-34285 Change 3088202 on 2016/08/12 by Zabir.Hoque Porting DX12 Fix from MS: Update D3D12 RHI for 4.13 - Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables. #jira UE-0 Change 3088149 on 2016/08/12 by Mark.Satterthwaite Duplicate CL #3087991: Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS. - Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms. - Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial. - Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there. - OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time. - Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output. - On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching. - On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code. - AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format. - Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled. #jira UE-34315 Change 3088131 on 2016/08/12 by Chris.Babcock Fix iterative deploy for new ADB #jira UE-34638 #ue4 #android Change 3088106 on 2016/08/12 by Dan.Oconnor Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references #jira UE-34564 Change 3088099 on 2016/08/12 by Zabir.Hoque Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done. #Jira UE-27026 Change 3088072 on 2016/08/12 by Max.Chen Sequencer: Level editor camera cut flag is now a one way gate This resolves issues to do with the flag being erroneously reset by external forces. #jira UE-33875 Change 3088031 on 2016/08/12 by Jeff.Campeau Fix WinXP build issues in WmfMedia and SteamVR plugins. #jira UE-32421 Change 3088025 on 2016/08/12 by Tom.Looman Updated VR Template with new VR device ID blueprint node. #jira ue-34592 Change 3088023 on 2016/08/12 by Tom.Looman Added PS Move input handling support to VR Template. #jira UE-34188 Change 3087989 on 2016/08/12 by Michael.Trepka Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts. #jira UE-34581 Change 3087907 on 2016/08/12 by mason.seay New test assets for sub instance testing #jira UE-29618 Change 3087812 on 2016/08/12 by Maciej.Mroz #jira UE-34247 Nativized UMG assets not visible Redone cl#3087726 from Dev-Blueprints Change 3087810 on 2016/08/12 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library. Allows one to set the minimum output color from reprojection processing. Can be used to mitigate certain artifacts (dark smearing, reprojection edges). See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes. #review-3087760 @nick.whiting #jira UEVR-13 Change 3087795 on 2016/08/12 by Mitchell.Wilson Added project thumbnail to subway sequencer. Added thumbnails to subway sequencer levels. Re-saved multiple files to resolve empty engine version and nodeguid warnings. #jira UE-34521 UE-34519 Change 3087730 on 2016/08/12 by Michael.Trepka Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml #jira UE-34548 Change 3087699 on 2016/08/12 by Jeff.Campeau Make resource generation fault tolerant of unset config values. #jira UE-34614 Change 3087690 on 2016/08/12 by Mitchell.Wilson Added a thumbnail for the BlueprintRenderToTarget level. #jira UE-34544 Change 3087688 on 2016/08/12 by Marc.Audy Fix headshot crash when tearing down physics when not registered #jira UE-32935 Change 3087615 on 2016/08/12 by Ben.Woodhouse Fix for crash in shadowsetup when frustum is invalid #jira UE-33014 Change 3087607 on 2016/08/12 by Max.Chen Sequencer: Fix Import/Export FBX - Import FBX now maps arbitrary float properties as well as the transform - Import/Export FBX now consistently operates on selected nodes or all nodes - Fixed exported node names so that they're consistent with Sequencer node names #jira UETOOL-534 Change 3087586 on 2016/08/12 by Chris.Babcock Add HUAWEI_Mali device model recognition for Vulkan #jira UE-34610 #ue4 #android Change 3087529 on 2016/08/12 by Jurre.deBaare Fix for crash when start index != 0 and sampling at a different rate #jira UE-34637 Change 3087519 on 2016/08/12 by Ben.Marsh Pass the -ignorejunk flag on to child UBT instance when running a clean. Change 3087455 on 2016/08/12 by Jurre.deBaare Alembic importer plugin needs proper logo #fix Replaced icon with inverted official Alembic logo #jira UE-34474 Change 3087360 on 2016/08/12 by Ben.Marsh Print out the UBT command line before running it, to help diagnose -ignorejunk problem. Change 3087285 on 2016/08/12 by Lina.Halper - Add which animation it fails to compress - Make sure it doesn't go in there unless you have skeleton #jira: UE-34490 Change 3087237 on 2016/08/12 by Alex.Delesky #jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene. Change 3087215 on 2016/08/12 by danny.bouimad #jira UE-29618 updated QA-AnimProfiles again... Change 3087212 on 2016/08/12 by Danny.Bouimad #jira UE-29618 updated TM-PhysicalAnimProfiles again Change 3087200 on 2016/08/12 by Robert.Manuszewski Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway. #jira UE-34373 Change 3087188 on 2016/08/12 by Matthew.Griffin Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually Change 3087160 on 2016/08/12 by Ben.Marsh Propagate the -ignorejunk option when we're building UHT as a child process in UBT. Change 3087148 on 2016/08/12 by Ben.Marsh Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change. Change 3087143 on 2016/08/12 by Danny.Bouimad #jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder. Change 3087140 on 2016/08/12 by Steve.Robb GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs I have no evidence that this actually fixes anything, but it doesn't harm anything to add it... #jira UE-29286 Change 3087139 on 2016/08/12 by Steve.Robb Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed. This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module. #jira UE-31575 Change 3087107 on 2016/08/12 by Jurre.deBaare Alembic Import with empty first frame will cause the editor to crash #jira UE-34515 #fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects #misc added a static const value indicating the first frame instead of hardcoded 0 array accesors #misc check condition fix in Runnable #misc log now adds new page named after the imported Alembic file Change 3087079 on 2016/08/12 by Dmitriy.Dyomin Fixed: Corrupted level package on loading cooked content #jira UE-34591 Change 3087063 on 2016/08/12 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3087048 on 2016/08/12 by Matthew.Griffin Changed Launcher Samples to create aggregate from property to avoid error in preflights Only notify about Launcher Samples trigger in non-preflight builds Change 3086985 on 2016/08/12 by Maciej.Mroz #jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102] Redone cl#3083825 from Dev-Blueprints Change 3086960 on 2016/08/12 by Matthew.Griffin Prevent Build DDC command from making DDC for platforms that aren't supported by project #jira UEB-698 Change 3086945 on 2016/08/12 by Dmitriy.Dyomin Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition #jira UE-18291 Change 3086904 on 2016/08/11 by Lina.Halper Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f #jira: UE-34570 Change 3086891 on 2016/08/11 by Lina.Halper DUPEFIX: CL 3086544 from Michael Noland Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well #jira UE-34223 #tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc... #tests (from Lina H) started the test project from JIRA and PIE, and no crash. Change 3086837 on 2016/08/11 by Nick.Whiting Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread(). This allows skel controls to use orientation and position with parallel animation #jira UE-32564 Change 3086797 on 2016/08/11 by Dmitry.Rekman Linux: fix crash on editor exit (UE-30795, UE-7519). - FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that. #jira UE-30795 Change 3086735 on 2016/08/11 by Richard.TalbotWatkin Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now. #jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash Change 3086726 on 2016/08/11 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements : 2DVR 2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen. -Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary. #jira UEVR-13 #review-3086004 @chad.taylor @nick.whiting Change 3086652 on 2016/08/11 by Dmitry.Rekman Linux: re-enable ICU (UE-34012). - Built static libs against libc++; disabled using dynamic ones. - Fixes lack of rich text formatting. #jira UE-34012 Change 3086648 on 2016/08/11 by Nick.Whiting Adding support for getting the HMD Device name from code / blueprints #jira UE-31785 Change 3086589 on 2016/08/11 by Chad.Taylor Fixing Vive resolution on packaged builds #jira UE-34535 Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt Fix skeletal mesh LODs not being imported correctly. All meshes were imported to the base LOD instead. #jira UE-34397 Change 3086529 on 2016/08/11 by Marc.Audy Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default) #jira UE-34287 Change 3086376 on 2016/08/11 by Peter.Sauerbrei remove cached file handle from iOS and Android to save memory during loads #jira UE-31720 Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt Guard against crash with corrupted editor layouts #jira UE-34364 Change 3086345 on 2016/08/11 by Dan.Oconnor ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time) #jira UE-34380 Change 3086272 on 2016/08/11 by Cody.Albert Updating First Person templates to fix cook errors #jira UE-22726 Change 3086259 on 2016/08/11 by Nick.Whiting Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used #jira UE-31617 Change 3086202 on 2016/08/11 by Marcus.Wassmer Duplicate 3086176 to fix broken shaderpipelines on PS4 #jira UE-34540 Change 3086080 on 2016/08/11 by mason.seay Test animbp for sub anim instances #jira UE-29618 Change 3086062 on 2016/08/11 by Tom.Looman Migrate from //depot/usr/ into Release-4.13 for VR Template. #jira ue-34533 Change 3086032 on 2016/08/11 by Mike.Beach Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it). #jira UE-34350 Change 3086025 on 2016/08/11 by Olaf.Piesche #jira UE-32058 Replicating fix from 3050352 Change 3085969 on 2016/08/11 by John.Pollard CIS fix #jira UE-30516 Change 3085819 on 2016/08/11 by Jurre.deBaare bForceOneSmoothingGroup not working for skeletal meshes #fix Added check for forced smoothing group and calculate normals accordingly #misc Spotted some non-referenced const TArrays being passed to CalculateTangents #jira UE-34555 Change 3085799 on 2016/08/11 by Ben.Marsh Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing. Change 3085763 on 2016/08/11 by Daniel.Lamb Fix for circular initialization of a singleton on android causing hang when using cook on the fly. #jira UE-34442 Change 3085717 on 2016/08/11 by Dmitry.Rekman Linux: better messaging around Steam initialization (UE-32052). - Also added a standalone test. #jira UE-32052 Change 3085715 on 2016/08/11 by Chris.Bunner Dropped check to an ensure as there's existing handling for invalid assets in that case. #jira UE-23902 Change 3085714 on 2016/08/11 by Olaf.Piesche #jira UE-30398 Fix offset added to particle collision locations. Replicated from 3084645 in Dev-Rendering Change 3085713 on 2016/08/11 by Chris.Babcock Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now) #jira UE-33840 #ue4 #android #ios #opengl Change 3085711 on 2016/08/11 by Olaf.Piesche #jira UE-34106 #jira UE-32784 #jira UE-31198 Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty) Replicated from 3083909 in Dev-Rendering Change 3085707 on 2016/08/11 by Matthew.Griffin Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue Change 3085656 on 2016/08/11 by Marc.Audy PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker) #jira UE-32418 #jira UE-33617 Change 3085641 on 2016/08/11 by Lina.Halper Fixed invalid compressed track data - need a better solution and added ticket for 4.14 - UE-34547 #jira: UE-34077 Change 3085606 on 2016/08/11 by Max.Preussner Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381) #jira UE-34381 Change 3085568 on 2016/08/11 by Maciej.Mroz #jira UE-34436 Ensures when copy/pasting linked anim bp nodes FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet). Change 3085532 on 2016/08/11 by Peter.Sauerbrei fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC #jira UE-30335 Change 3085528 on 2016/08/11 by Max.Chen Sequence Recorder: Fix crash when actor class to record is null. #jira UE-34543 Change 3085418 on 2016/08/11 by Maciej.Mroz #jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults Redone cl#3084313 from Dev-Blueprints Change 3085395 on 2016/08/11 by John.Pollard Don't allow hot-reloading if we're running PIE instances #jira UE-30516 Change 3085377 on 2016/08/11 by Tom.Looman Added StarterMap (WIP) to resolve JIRA. #jira ue-34311 Change 3085364 on 2016/08/11 by Ben.Woodhouse Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur. #jira UE-28561 Change 3085341 on 2016/08/11 by Dmitriy.Dyomin Fixed: Creating Launcher Profile does not always shows all project available maps #jira UE-33765 Change 3085336 on 2016/08/11 by Andrew.Rodham Sequencer: Runtime instances are no longer updated when bluprints are recompiled This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register #jira UE-34499 Change 3085332 on 2016/08/11 by Dmitriy.Dyomin Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication #jira UE-26868 Change 3085331 on 2016/08/11 by Ben.Woodhouse Fix for threading related crash with precomputed lighting volumes #jira UE-34531 Change 3085323 on 2016/08/11 by Allan.Bentham Remove android specific vulkan hack to recreate depth buffer's imageview. #jira UE-33593 #jira UE-33336 Change 3085313 on 2016/08/11 by Thomas.Sarkanen StopRecordingAnimation now uses the same maing logic as RecordAnimation This prevents inconsisten behaviour between record and stop record commands #jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor Change 3085301 on 2016/08/11 by Allan.Bentham Only allow gaussian DoF on mobile. Disable DoF for all other types. #jira UE-34217 Change 3085292 on 2016/08/11 by Thomas.Sarkanen Revert change to force shipping dlls in shipping builds #jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration Change 3085291 on 2016/08/11 by Matthew.Griffin Added nodes for Linux Editor, DDC and installed build Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products Change 3084973 on 2016/08/10 by Jeff.Campeau Use relative settings for ShooterGame manifest Package creation checks Xbox One target settings in Engine instead of Game config #jira UE-33808 Change 3084932 on 2016/08/10 by patrickr.donovan #jira UE-29618 SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing. Change 3084886 on 2016/08/10 by Daniel.Wright Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards #jira UE-33238 Change 3084878 on 2016/08/10 by Jeff.Campeau UFE launch command is generated with all devices requested instead of just the first. #jira UE-34302 Change 3084860 on 2016/08/10 by Dmitry.Rekman Fix CrashReportClient crashing on start (UE-32976, UE-34451). - Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes. #jira UE-32976 Change 3084756 on 2016/08/10 by Dmitry.Rekman Linux: clean-up compiler settings logic (UE-22715). - Includes parts of pull request #1704 by zaps166. - Disables exceptions in most builds. #jira UE-22715 Change 3084679 on 2016/08/10 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3084475 Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds. #jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server Change 3084614 on 2016/08/10 by Daniel.Wright Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene() #jira UE-34321 Change 3084607 on 2016/08/10 by Jeremiah.Waldron Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur Relates to: #jira UE-34283 Change 3084586 on 2016/08/10 by Jeff.Campeau Chunks don't assume they're done downloading at 100%. #jira UE-34386 Change 3084552 on 2016/08/10 by Lina.Halper Fix GetWorldFromContextObject to be used for another thread safer : Guard to modify static variabls by another thread #jira: UE-34416 Change 3084551 on 2016/08/10 by Mitchell.Wilson Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level. #jira UE-32855 Change 3084535 on 2016/08/10 by Mike.Beach Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names. #jira UE-34378 Change 3084526 on 2016/08/10 by Jeff.Campeau Update XDK to August 2016 #jira UEPLAT-1374 Change 3084471 on 2016/08/10 by John.Pollard Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown> #jira UE-34295 Change 3084363 on 2016/08/10 by Marc.Audy Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport #jira UE-34101 Change 3084231 on 2016/08/10 by Michael.Trepka Fixed a problem with the search box in blueprint context menu not getting focus on Mac #jira UE-20884 Change 3084229 on 2016/08/10 by Dmitry.Rekman Linux: remove hardcoded staged files (UE-24594). #jira UE-24594 Change 3084215 on 2016/08/10 by Chris.Bunner Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view. #jira UE-31936 Change 3084052 on 2016/08/10 by Jurre.deBaare Alembic skeletal mesh importer does not calculate correct smoothing groups #fix follow same routine as regular smoothing group/normal calculation #jira UE-34493 Change 3084029 on 2016/08/10 by Phillip.Kavan [UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object. Mirrored from //UE4/Dev-Blueprints (CL# 3082839). #jira UE-34458 Change 3084027 on 2016/08/10 by Ben.Woodhouse Fix for crash when applying BSP materials This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread. The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh. #jira UE-31460 Change 3083981 on 2016/08/10 by Matthew.Griffin Set Localization branch for Localise command to release version when running in the Release Branch #jira UE-34471 Change 3083970 on 2016/08/10 by Max.Preussner PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481) #jira UE-33481 Change 3083918 on 2016/08/10 by Matthew.Griffin Exclude UBT generated files from the installed build Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material #jira UE-34360 Change 3083890 on 2016/08/10 by Matthew.Griffin Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage. Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project. #jira UE-34401 Change 3083873 on 2016/08/10 by Dmitry.Rekman CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478). #jira UE-34478 Change 3083862 on 2016/08/10 by Mitchell.Wilson Rebuilt lighting on Advanced_Lighting level in Samples Content #jira UE-34383 Change 3083792 on 2016/08/10 by Benn.Gallagher PR #2671: Fix sub instance curve values. (Contributed by tmiv) PR #2668: Sub inst post anim fix (Contributed by tmiv) #jira UE-34162 #jira UE-34121 Change 3083775 on 2016/08/10 by Kevin.Rushin QAGame - Updating VRLatency Testmap, Can freelook #jira UE-29618 Change 3083771 on 2016/08/10 by Robert.Manuszewski Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit. #jira UE-34371 Change 3083742 on 2016/08/10 by Lee.Clark 4.13 - PS4 - Fix memory allocation sizes #jira UE-33270 Change 3083732 on 2016/08/10 by Ben.Marsh Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger. Change 3083690 on 2016/08/10 by Dmitriy.Dyomin Fixed: Foliage instances are not included when exporting a scene to FBX #jira UE-34214 Change 3083654 on 2016/08/10 by Keith.Judge Fix analysis warnings. Simple change from Release() to SAFE_RELEASE(). #jira UE-23059 Change 3083646 on 2016/08/10 by Thomas.Sarkanen Use shipping PhysX libs for installed builds Copy fix from UE4Game.Target.cs to apply to all packaged games #jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration Change 3083527 on 2016/08/10 by Dmitriy.Dyomin Fixed: Warning upon Undo/redo-ing of sculpting the landscape #jira UE-34443 Change 3083502 on 2016/08/10 by Dmitriy.Dyomin Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting #jira UE-34417 Change 3083349 on 2016/08/09 by Daniel.Wright Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0 #jira UE-31181 Change 3083167 on 2016/08/09 by Chad.Taylor Null deref crash fix #jira UE-33830 Change 3083144 on 2016/08/09 by Zabir.Hoque Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite. #jira UE-32980 Change 3083136 on 2016/08/09 by Chad.Taylor Stripping out egregious log spam #jira UE-34181 Change 3083116 on 2016/08/09 by John.Billon Defaulting r.D3D.RemoveUnusedInterpolators to on. #Jira UE-34461 Change 3083114 on 2016/08/09 by John.Billon Fixing static analysis warning in NullRHI. #Jira UE-34462 Change 3083070 on 2016/08/09 by Dmitry.Rekman PR #2516: CMake improvements and fixes (UE-22233, UE-32136). - Contributed by Nihlus. - Contains PR #1668 by mgerhardy Summary of changes (from PR): - Fixed an issue where CMake build files would contain invalid targets - Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion. - Fixed an issue where invalid target platforms could fall through and cause issues with the file generation. - Improved code readability throughout the generator. Can still use some more polish. - Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects. - Improved commenting throughout the generator. As with readability, can still use some more polish. - Removed unused using statements. - Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion. - Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets. #jira UE-22233 Change 3082999 on 2016/08/09 by Jeremiah.Waldron Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases #jira UE-34457 Change 3082993 on 2016/08/09 by mason.seay Fixed level BP error and updated Reverb asset #jira UE-29618 Change 3082981 on 2016/08/09 by Peter.Sauerbrei disable roughness calculation for iOS metal #jira UE-31815 Change 3082912 on 2016/08/09 by Chris.Babcock Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now #jira UE-34432 #ue4 #android Change 3082875 on 2016/08/09 by Chris.Bunner Lowered verbosity of mesh build warning when using MikkTSpace. #jira UE-23903 Change 3082867 on 2016/08/09 by Trung.Le VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses #jira UE-34227 Change 3082818 on 2016/08/09 by Mike.Beach Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert). #jira UE-34430 Change 3082794 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082760 on 2016/08/09 by Jamie.Dale Scene viewports are now centered when re-entering windowed mode #jira UE-32842 Change 3082744 on 2016/08/09 by Mitchell.Wilson Resaving assets to resolve empty engine version warnings. #jira UE-29746 Change 3082728 on 2016/08/09 by Ben.Marsh BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger. #jira UE-34329 Change 3082686 on 2016/08/09 by Marc.Audy If the GameMode is not carried over as part of a seamless travel create it. #jira UE-25569 Change 3082663 on 2016/08/09 by John.Billon Fixed SubUVAnimation asset crash when texture source is cleared. #Jira UE-34231 Change 3082650 on 2016/08/09 by John.Billon Changed an ensure the NullRHI dealing with memory allocation to be a log message. #Jira UE-32362 Change 3082644 on 2016/08/09 by Maciej.Mroz #jira UE-34240 Match 3 nativization failure Redone cl3082121 from Dev-Blueprints Change 3082633 on 2016/08/09 by Maciej.Mroz #jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172] Redone cl3082414 from Dev-Blueprints Change 3082606 on 2016/08/09 by Michael.Trepka Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler. #jira UE-34276 Change 3082579 on 2016/08/09 by Benn.Gallagher CIS fix, missed removing a few #ifs #jira UE-29180 Change 3082525 on 2016/08/09 by Tom.Looman Removed Android from supported platforms in VR Template. #jira UE-34189 Change 3082523 on 2016/08/09 by Tom.Looman Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior) Fixed typo in level text. #JIRA UE-34422 Change 3082504 on 2016/08/09 by Jurre.deBaare Crash importing alembic asset over itself after saving it in Content Browser #fix Trivial nullptr + isValid fix #jira UE-34418 Change 3082433 on 2016/08/09 by Tom.Looman Updated list of supported platforms. #jira UE-34189 Change 3082423 on 2016/08/09 by Mitchell.Wilson Resaving levels to resolve MikkTSpace warnings Updating collision on SM_Floor_Round #jira UE-30786 Change 3082361 on 2016/08/09 by Keith.Judge Xbox One - Fix a controller disconnection crash. - This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early. - Changed it to copy each connected pad object one at a time, which maintains the correct refcount. - Possibly a VS2015 Update 3 bug. #jira UE-33955 Change 3082341 on 2016/08/09 by Mitchell.Wilson Reimporting SM_GodRay_Plane Resaving levels to resolve MikkTSpace warnings Resaving multiple materials to resolve warnings #jira UE-34212 Change 3082313 on 2016/08/09 by Matthew.Griffin Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build) Change 3082294 on 2016/08/09 by Jurre.deBaare Crash when importing an Alembic file with Materials as a different asset type than one that already exists #fix Ensure that we have a valid material to assign to the assets #jira UE-34377 Change 3082291 on 2016/08/09 by Jurre.deBaare Unable to save Alembic asset with materials after importing more than once #fix Make sure we delete referenced transient materials if they are not used #jira UE-34400 Change 3082290 on 2016/08/09 by Jurre.deBaare Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on #fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14 #jira UE-34392 Change 3082274 on 2016/08/09 by Benn.Gallagher Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms. #jira UE-29780 Change 3082273 on 2016/08/09 by Benn.Gallagher Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain #jira UE-30827 Change 3082270 on 2016/08/09 by Benn.Gallagher Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted. #jira UE-29180 Change 3082257 on 2016/08/09 by Jurre.deBaare Auto align floor mesh does not work in Persona #fix Readded functionality for the auto alignment :) #jira UE-34404 Change 3082239 on 2016/08/09 by Peter.Sauerbrei make sure IPP and supporting dlls are all 64-bit #jira UE-34408 Change 3082225 on 2016/08/09 by Mitchell.Wilson Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize Reimporting SM_GodRay_Plane Saving all levels to resolve MikkTSpace warnings. #jira UE-30787 Change 3082222 on 2016/08/09 by Rolando.Caloca UE4.13 - Fix crash on opengl3 - Load proper shader map depending on feature level - int interpolators require nointerpolation modifier #jira UE-33879 Change 3082221 on 2016/08/09 by Benn.Gallagher Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop #jira UE-34384 Change 3082179 on 2016/08/09 by Ben.Woodhouse Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders. #jira UE-31461 Change 3082170 on 2016/08/09 by Graeme.Thornton Manual copy of CL 3078836 from Dev-Core to Release-4.13 Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading #jira UE-33909 Change 3082169 on 2016/08/09 by Graeme.Thornton Make FLauncherTasks have unique names so we don't end up with stat name collisions #jira UE-33849 Change 3082163 on 2016/08/09 by Matthew.Griffin Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts Added Checks for files that might not exist when creating Installed Build from Github etc. Tag the published installed build zips #jira UE-34249 Change 3082139 on 2016/08/09 by Ben.Marsh BuildGraph: Allow writing a schema without passing a script in. Change 3082109 on 2016/08/09 by Thomas.Sarkanen Fixed blendspaces producing bad data when degenerate spaces are present Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications. #jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph Change 3082080 on 2016/08/09 by Matthew.Griffin Added notifications for available triggers Change 3082054 on 2016/08/09 by Allan.Bentham Quality level override changes to high QL are now correctly picked up. #jira UE-22812 Change 3082049 on 2016/08/09 by Allan.Bentham Update shaders when mobile preview device is changed. #jira UE-22810 Change 3081866 on 2016/08/09 by Max.Chen Fbx Export: Fix build. #jira UETOOL-750 Change 3081863 on 2016/08/09 by Max.Chen Fbx Export: Fix level sequence fbx export. - Fix 3d transform track export so that it does the correct flipping for translation and rotation curves. - Fix setting rich curve tangents and interpolation modes. - Fix camera focal length export. #jira UETOOL-750 Change 3081823 on 2016/08/08 by Dmitriy.Dyomin Fixed: Crash when simulating in editor with a landscape actor selected #jira UE-34367 #coderview Gareth.Martin Change 3081647 on 2016/08/08 by Chad.Taylor OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport #jira UE-34352 Change 3081645 on 2016/08/08 by Zak.Middleton #ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback. #jira UE-30178 Change 3081639 on 2016/08/08 by Tyler.Cole Update build scripts for WEX MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3081616 on 2016/08/08 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements -2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode. -A new ini setting for morpheus bStartInVR has been added, it defaults to true. #jira UEVR-13 #review-3081284 @chad.taylor @nick.whiting Change 3081597 on 2016/08/08 by Tyler.Cole Update build scripts for Ocean MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3081476 on 2016/08/08 by Tyler.Cole Update build script for UE4 Release-4.13 stream Fortnite MCP. #jira NONE-0 Change 3081397 on 2016/08/08 by Josh.Adams - Fixing more linux case issues in UT #jira ue-33478 Change 3081391 on 2016/08/08 by Mitchell.Wilson Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap #jira UE-33843 Change 3081383 on 2016/08/08 by Aaron.McLeran #jira UE-34081 Implementing CL 3076637 into 4.13 #tests run a procedural sound wave object test Change 3081337 on 2016/08/08 by Aaron.McLeran #jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay - OR-26580 - Implementing CL 3071258 to 3.13 #tests ran paragon with change, no crashes Change 3081335 on 2016/08/08 by Max.Preussner WmfMedia: Fixed memory leak in source resolver (UE-34385) #jira UE-34385 Change 3081320 on 2016/08/08 by Max.Preussner WmfMedia: Fixed typo (UE-32421) #jira UE-32421 Change 3081276 on 2016/08/08 by Mitchell.Wilson Resaving asset to resolve MikkTSpace warning. #jira UE-31116 Change 3081269 on 2016/08/08 by Dan.Oconnor Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint #jira UE-34324 Change 3081052 on 2016/08/08 by Dan.Oconnor Making a change to test UE-34324 #jira UE-34324 Change 3081026 on 2016/08/08 by Daniel.Wright Added a heightfield painting example to BlueprintRenderToTarget content example #jira UE-34323 Change 3081025 on 2016/08/08 by Daniel.Wright CreateRenderTarget2D uses a world context object as owner, allows use in a construction script #jira UE-34321 Change 3081023 on 2016/08/08 by Aaron.McLeran #jira UE-34325 Implementing 3080958 in 4.13 - When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash - Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds. #tests ran repro case described in bug several times without crashing (was 100% repro) Change 3081020 on 2016/08/08 by Dan.Oconnor Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties #jira UE-26310 Change 3081010 on 2016/08/08 by Dan.Oconnor Fix for losing root transform when recycling objects #jira UE-28398 Change 3080972 on 2016/08/08 by Mark.Satterthwaite Duplicate CL #3080684: Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination. #jira UE-21857 Change 3080971 on 2016/08/08 by Mark.Satterthwaite Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared. #jira UE-34355 Change 3080923 on 2016/08/08 by Michael.Trepka When archiving on for Mac delete the dest icon if it exists before trying to call File.Move #jira UE-33304 Change 3080919 on 2016/08/08 by samuel.proctor Revised assets for Blueprint Debugging tests #jira UE-29618 Change 3080878 on 2016/08/08 by Ben.Marsh Fix sample build timeouts due to generating DDC using installed engine builds taking too long. * New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead. * Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead. Change 3080849 on 2016/08/08 by Marc.Audy Always stop matinee sounds when jumping around, not just if the sound changed. #jira UE-31447 Change 3080843 on 2016/08/08 by Ben.Marsh BuildGraph: Fix compile error due to duplicated variable name. Change 3080840 on 2016/08/08 by Max.Chen Fbx: Fix rich curve export being exported at the incorrect times when baked. #jira UETOOL-750 Change 3080824 on 2016/08/08 by Max.Chen Sequencer: Revert fix root component structure for level sequence actor. #jira UE-34354 Change 3080819 on 2016/08/08 by Chad.Taylor Merging Move and Vive haptic implementation from Dev-VR to Release-4.13 #jira UE-27886 Change 3080818 on 2016/08/08 by Jurre.deBaare Crash when importing the same Alembic file but as a different Asset Type #fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed) #misc Typo #jira UE-34293 Change 3080817 on 2016/08/08 by Jurre.deBaare Crash when importing an Alembic file with Materials if it already exists #fix Only create materials if they don't already exist #jira UE-34300 Change 3080814 on 2016/08/08 by Jurre.deBaare Crash when importing Alembic files as Skeletal Mesh #fix Set the NumVertices variable that was re-added :) #misc removed dead code #jira UE-34288 Change 3080813 on 2016/08/08 by Jurre.deBaare [CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices() #fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs) #jira UE-34294 Change 3080797 on 2016/08/08 by Dmitriy.Dyomin Fix: Crash opening levels with landscape in them via the command console in standalone game #jira UE-34348 Change 3080784 on 2016/08/08 by Jamie.Dale We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering) #jira UE-34298 Change 3080734 on 2016/08/08 by Matthew.Griffin Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent Change 3080685 on 2016/08/08 by Peter.Sauerbrei fix for crash on tvOS and iOS when launching a project #jira UE-34005 Change 3080683 on 2016/08/08 by Matthew.Griffin Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built Change 3080681 on 2016/08/08 by Matthew.Griffin Corrected path separators for Mac DDC location, which was preventing it from being included in installed build Change 3080675 on 2016/08/08 by Robert.Manuszewski Fixing CIS on Clang platforms #jira UE-34025 Change 3080674 on 2016/08/08 by Ben.Woodhouse Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507 #jira UE-32651 Change 3080594 on 2016/08/08 by Keith.Judge Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed. #jira UE-31607 Change 3080573 on 2016/08/08 by Martin.Wilson Fix Root Motion from Everything blending incorrectly when using layered blend per bone #Jira UE-17815 Change 3080517 on 2016/08/08 by James.Golding PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran) #jira UE-34299, UE-34279 Change 3080512 on 2016/08/08 by Benn.Gallagher Fix for dangling sub-instance pointers when reinstancing on AnimBP compile #jira UE-34137 Change 3080510 on 2016/08/08 by Max.Preussner WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421) #jira UE-32421 Change 3080509 on 2016/08/08 by Robert.Manuszewski Added more detailed message when TArray's BulkSerialize fails. #jira UE-34025 Change 3080506 on 2016/08/08 by Allan.Bentham Do not set render target if there are no modulated shadows. #jira UE-33252 Change 3080498 on 2016/08/08 by Keith.Judge Fix D3D12.x link error. #jira UE-34322 Change 3080493 on 2016/08/08 by Matthew.Griffin Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run. #jira UE-34073 Change 3080490 on 2016/08/08 by Maciej.Mroz #jira UE-28625 Direction of GetOverlapInfos parameter doesn't match Redone cl# 3080484 Change 3080462 on 2016/08/08 by Allan.Bentham Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required. Fix initialisation errors introduced in CL 3070035. #jira UE-34099 Change 3080242 on 2016/08/07 by Max.Chen Sequencer: Fix to allow deleting spawnables from the viewport #jira UE-28523 Change 3080241 on 2016/08/07 by Dmitriy.Dyomin Fixed: StartCameraFade not fading camera when MobileHDR is off #jira UE-34143 Change 3079990 on 2016/08/06 by andrew.porter Changing defaults on some settings on M_Details for test case. #jira UE-29618 Change 3079989 on 2016/08/06 by andrew.porter Setting two sided off on M_Details material #jira UE-29618 Change 3079986 on 2016/08/06 by phillip.patterson Updated QA-Foliage for test case #jira UE-29618 Change 3079984 on 2016/08/06 by andrew.porter Adding test content for using sprites in UMG #jira UE-29618 Change 3079879 on 2016/08/05 by Dmitry.Rekman Remove HITCHHUNTER logspam from release UE (UE-30959). #tests Compiled the UE4Editor. #jira UE-30959 Change 3079815 on 2016/08/05 by Tyler.Cole Set dependencies for Orion MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3079808 on 2016/08/05 by Daniel.Wright BlueprintRenderToTarget content example map with interactable fluid surface #jira UE-34323 Change 3079746 on 2016/08/05 by Daniel.Wright Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly New blueprint function CreateRenderTarget2D #jira UE-34321 Change 3079569 on 2016/08/05 by Mitchell.Wilson Updating template tutorials after assets were moved to new folders #jira UE-34139 Change 3079546 on 2016/08/05 by Ian.Shadden #UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6 #jira UE-34316 Change 3079542 on 2016/08/05 by Mark.Satterthwaite Duplicate CL #3079503: Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised. #jira UE-33856 Change 3079472 on 2016/08/05 by Peter.Sauerbrei fix for remote server name being empty stopping a build for a BP project in binary fix for several error messages from platform requirements not stopping a build #jira UE-34213 Change 3079453 on 2016/08/05 by Benjamin.Hyder Updating QA_Materials to include Material Details example #jira UE-29618 Change 3079389 on 2016/08/05 by Gareth.Martin Missing file from CL 3079376: Tessellate Landscape only in highest landscape LOD Fix incorrect UV coordinates when tessellation is enabled #jira UE-14253 #jira UE-20405 Change 3079384 on 2016/08/05 by Michael.Trepka PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE) #jira UE-29358 Change 3079376 on 2016/08/05 by Gareth.Martin Tessellate Landscape only in highest landscape LOD Fix incorrect UV coordinates when tessellation is enabled #jira UE-14253 #jira UE-20405 Change 3079365 on 2016/08/05 by Peter.Sauerbrei fix for executable name mismatch in plist vs actual executable when project has an underscore in the name #jira UE-34192 Change 3079361 on 2016/08/05 by Ryan.Vance #jira UE-34297 Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :) Change 3079349 on 2016/08/05 by Mason.Seay Deleting unneeded assets #jira UE-29618 Change 3079306 on 2016/08/05 by Peter.Sauerbrei IPP is now built as a 64-bit executable #jira UE-26393 Change 3079303 on 2016/08/05 by Peter.Sauerbrei PR2018 - disable user input request from ssh courtesy of Teivaz #jira UE-26393 Change 3079276 on 2016/08/05 by mason.seay Extended Line Trace For Convenient #jira UE-29618 Change 3079274 on 2016/08/05 by Alex.Delesky #jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons. Change 3079273 on 2016/08/05 by Max.Chen Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks. #jira UE-34301 Change 3079254 on 2016/08/05 by Ori.Cohen Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping. #JIRA UE-34224 Change 3079242 on 2016/08/05 by Nick.Darnell Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving. #jira UE-34304 Change 3079129 on 2016/08/05 by Jurre.deBaare #jira UE-34278 #fix Changed reimport path to be the same as geometry cache / skeletal mesh Unable to reimport Alembic static meshes #jira UE-34292 #fix Handle cancelled situation during reimport ui interaction Cancelling the reimport of an Alembic file seems to confirm the action #jira UE-34288 #fix Possible fix, flush rendering commands before importing Crash when importing Alembic files as Skeletal Mesh #jira UE-34282 #fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled "Failed to Import" message when clicking Cancel on the Alembic Import Message Change 3079127 on 2016/08/05 by Marc.Audy Properly clean up all worlds when ending PIE while a seamless transition is active #jira UE-33863 Change 3079107 on 2016/08/05 by Mike.Beach Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact). #jira UE-30548 Change 3079093 on 2016/08/05 by Jurre.deBaare Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white #fix Hide the environment and sky when showing vertex colours #jira UE-34251 Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off #fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings #jira UE-34206 Change 3079090 on 2016/08/05 by Jurre.deBaare Bad performance when changing (slider) values for the advanced preview scene #fix Could not repro but added some more check if update needed checks #jira UE-33496 Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting #fix Add the rotational delta for the sky to the directional light rotation #jira UE-34108 Change 3079088 on 2016/08/05 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work #fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing #jira UE-34127 Change 3079040 on 2016/08/05 by Max.Preussner MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290) Also made class properties blueprint read-writable #jira UE-34290 Change 3078958 on 2016/08/05 by Marc.Audy Don't ever reregister child actor components Don't destroy child actors when hiding a level #jira UE-31038 Change 3078954 on 2016/08/05 by ryan.brucks #jira ue-00001 Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL Change 3078952 on 2016/08/05 by Phillip.Kavan [UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser. change summary: - modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop. #jira UE-34085, UE-34169 Change 3078912 on 2016/08/05 by Andrew.Rodham Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified #jira UE-33875 Change 3078900 on 2016/08/05 by Lauren.Ridge Fix for small Vive HMD movements entering VR mode #jira UE-33970 Change 3078880 on 2016/08/05 by Jack.Porter Cannot set GenerateOverlapEvents flag on Landscape #jira UE-9055 Change 3078879 on 2016/08/05 by Lee.Clark PS4 - Fix corrupted debuffer decals (CMask wasn't getting decoded correctly) #jira UE-34273 Change 3078871 on 2016/08/05 by Steve.Robb Fix for changes to UObject*s in property boxes. #jira UE-29596 Change 3078857 on 2016/08/05 by Max.Chen Sequencer: Set Fixed frame interval playback to false by default. #jira UE-34272 Change 3078850 on 2016/08/05 by mason.seay Updated map to test physics mesh, added comments to level BP #jira UE-29618 Change 3078795 on 2016/08/05 by Andrew.Rodham Sequencer: Fixed spawnables not responding to blueprint reinstance events This ultimately left spawnable bindings broken, and an unreachable object in the world #jira UE-31635 Change 3078786 on 2016/08/05 by Robert.Manuszewski Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array. #jira UE-33872 Change 3078782 on 2016/08/05 by Andrew.Rodham Sequencer: Fixes to "Create Camera Here" functionality Fixed crash when undoing the "Create Camera Here" operation. Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly) Fixed issues when the cursor was outside of the play range #jira UE-33127 Change 3078737 on 2016/08/05 by Andrew.Rodham Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety #jira UE-34256 Change 3078722 on 2016/08/05 by Ben.Woodhouse Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481) #jira UE-34269 Change 3078620 on 2016/08/05 by Dmitriy.Dyomin Fixed: SunTemple geometry has rendering artifacts on low end devices [Android_Low] devices will use 'Low' material quality level #jira UE-22455 Change 3078584 on 2016/08/05 by James.Golding Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging) #jira UE-33675 Change 3078565 on 2016/08/05 by Jack.Porter Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer. #jira UE-33842 Change 3078564 on 2016/08/05 by James.Golding Fix display name for bSupportUVFromHitResults to fix missingspace #jira UE-34248 Change 3078542 on 2016/08/05 by Yannick.Lange VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked. #jira UE-32839 Change 3078541 on 2016/08/05 by Yannick.Lange VR Editor : Fix linux compile error from VREditorAvatarActor #jira UE-34215 Change 3078396 on 2016/08/04 by Max.Chen Sequencer: Invalidate playback context when map changes. #jira UE-34256 Change 3078291 on 2016/08/04 by Jeff.Campeau RHI compress/decompress return success/failure Failure falls back to software method D3D12 for Xbox One still needs implementation #jira UE-31363 Change 3078131 on 2016/08/04 by Chris.Babcock Deal with missing Android movie framerate by defaulting to 30 if not available #jira UE-34208 #ue4 #android Change 3078084 on 2016/08/04 by John.Billon Disabled AMD hacks Cvars that aren't needed anymore. #Jira UE-30772 Change 3078083 on 2016/08/04 by John.Billon Consolidated ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets. Added a couple of more ensures when allocating render targets. Added log message when changing feature levels. #Jira UE-32536 #Jira UE-32204 Change 3078039 on 2016/08/04 by Josh.Adams - Fixed a case issue with Linux #jira UE-33478 Change 3078029 on 2016/08/04 by Ryan.Vance #jira UE-30989 We need to disable the hmd mask when down sampling to ensure valid input data for blur passes. Change 3078027 on 2016/08/04 by Lina.Halper Fix sequencer morphtarget displaying issue #code review:Max.Chen #jira: UE-28459 Change 3078012 on 2016/08/04 by mason.seay map and asset updates for testing UV hit detection #jira UE-29618 Change 3078009 on 2016/08/04 by Jamie.Dale Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading This prevents it being incorrectly set by other operations, such as counting memory used by font data. #jira UE-34252 Change 3078006 on 2016/08/04 by Mark.Satterthwaite Duplicate CL #3064008 & CL #3077412: Fix "iOS Metal-based build crashes at launch with sub-levels": - Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything. - To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects. - Fix validation error of texture reallocation on loading template projects under Metal. #jira UE-30847 Change 3078002 on 2016/08/04 by John.Billon Fixed LowLightMapQuality warning triggering with wrong conditions. #Jira UE-33237 Change 3078001 on 2016/08/04 by John.Billon Fixed a crash due to particle threading issues in packaged game. #Jira UE-32147 Change 3077989 on 2016/08/04 by Rolando.Caloca UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts. #jira UE-34218 Change 3077940 on 2016/08/04 by Jeff.Campeau Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir) Include copies of the VS2015 runtime and UCRT Change -applocaldir parameter to -applocaldirectory Stage to engine and project binaries paths (for crash reporter, etc.) #jira UE-33903 Change 3077936 on 2016/08/04 by Daniel.Wright DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject #jira UE-34183 Change 3077927 on 2016/08/04 by Lina.Halper Fix issue with morphtarget not working due to invalid guid #jira: UE-34077 Change 3077919 on 2016/08/04 by Daniel.Wright Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them #jira UE-34245 Change 3077877 on 2016/08/04 by Ori.Cohen Fix physical animation undo/redo not affecting linked bodies and constraints #JIRA UE-33987 Change 3077823 on 2016/08/04 by Ori.Cohen Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt) #JIRA UE-33985 Change 3077814 on 2016/08/04 by Uriel.Doyon Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all" #jira UE-34120 #review-3077812 Change 3077781 on 2016/08/04 by Max.Chen Sequencer: Fix crash in rotation key struct #jira UE-34155 Change 3077771 on 2016/08/04 by Lina.Halper Added const and removed auto #jira: UE-33023 Change 3077702 on 2016/08/04 by Daniel.Wright Copy - Planar reflection show flags can now be edited #jira UE-34229 Change 3077585 on 2016/08/04 by Ori.Cohen Fix spam when moving simulated skeletal mesh in the editor. #JIRA UE-34164 Change 3077532 on 2016/08/04 by Tom.Looman Fixed error in description of VR Template. #jira ue-33950 Change 3077517 on 2016/08/04 by Tom.Looman Fixed parsing error for FP_VirtualRealityBP #jira UE-34059 Change 3077493 on 2016/08/04 by Tom.Looman Updated Template description to remove GearVR reference and include more clear message on the two available maps. #jira UE-33950 Change 3077492 on 2016/08/04 by Tom.Looman Improvements to VR Template Fixed teleportation issue on both locomotion types (JIRA) Rebuilt navmesh for motioncontrollermap Added new WIP startermap to clarify the difference between the multiple levels. Added more comments and did some cleanup in BPs. #jira UE-33962 Change 3077491 on 2016/08/04 by Jurre.deBaare Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance #fix Pass in complete path to save material to instead of just the name #jira UE-34211 Change 3077481 on 2016/08/04 by Tom.Looman Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config) #jira ue-34143 Change 3077463 on 2016/08/04 by Ben.Woodhouse Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off. #jira UE-32843 Change 3077432 on 2016/08/04 by Steve.Robb Removal of Fortnite-specific setting which disables hot reload. #jira UE-33261 Change 3077380 on 2016/08/04 by Keith.Judge Fix for green reflection environment in some maps. - Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present() - Fixed a validation error when locking cube map faces which was causing them not to be updated. - Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error). - Added a GPU/CPU sync at the same point the PS4 code does. #jira UE-32086 Change 3077336 on 2016/08/04 by Mitchell.Wilson removed r.Streaming.PoolSize from DefaultEngine.ini Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning. #jira UE-30941 Change 3077275 on 2016/08/04 by Phillip.Kavan [UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop. #jira UE-29903 Change 3077119 on 2016/08/04 by Marc.Audy Use TickType All when in PIE #jira UE-18982 Change 3077108 on 2016/08/04 by Jon.Nabozny Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null. This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing. #jira UE-34032 Change 3077073 on 2016/08/04 by Jurre.deBaare bBlendOverlappingNormals does not seem to have an impact for Alembic importing #fix this wasn't being used in the normal calculation anymore so redundant #jira UE-34204 Change 3077059 on 2016/08/04 by Robert.Manuszewski Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split). #jira UE-34200 Change 3077024 on 2016/08/04 by Thomas.Sarkanen Added GetResourceSize to UDataAsset Data assets now correctly report their size. #jira UE-28851 - Fix mem reporting of DataTables Change 3077001 on 2016/08/04 by Andrew.Rodham Sequencer: Fixed sequencer adding spawnables into recorded worlds twice The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world. Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded. #jira UE-31422 Change 3076995 on 2016/08/04 by Matthew.Griffin Fixed Shadow Variable warning Change 3076974 on 2016/08/04 by Matthew.Griffin Added Node to build CrashReportClient for Linux that can be used by internal game targets Change 3076820 on 2016/08/04 by Max.Chen Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist). #jira UE-34199 Change 3076665 on 2016/08/03 by Dan.Oconnor Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false #jira UE-18982 Change 3076569 on 2016/08/03 by Chad.Taylor SteamVR GetOrthoProjection implementation to fix broken console rendering in VR #jira UE-21424 Change 3076556 on 2016/08/03 by Aaron.McLeran #jira UE-34154 PSVR Stereo assets are spatialized as MONO - All audio was routing through A3D lib regardless of if it was mono/stereo etc. - Fix is to only route audio that is mono and spatialized - Fixed some compile errors/shadow variables - Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library Change 3076546 on 2016/08/03 by Aaron.McLeran #jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves Implementing 3069092 in Release-4.13 - Not all active sounds have sound classes, was causing a crash #tests Run game with stat soundcues and not crash Change 3076512 on 2016/08/03 by Ben.Marsh Fix warning about UnrealTournament:true argument. Change 3076492 on 2016/08/03 by Daniel.Wright Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game. Blutilities can be used to do blueprint rendering in the editor. #jira UE-34177 Change 3076491 on 2016/08/03 by Daniel.Wright Marked the Forward Shading project setting as experimental for 4.13 #jira UE-34176 Change 3076490 on 2016/08/03 by Daniel.Wright Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible #jira UE-34175 Change 3076489 on 2016/08/03 by Daniel.Wright Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0 #jira UE-34174 Change 3076485 on 2016/08/03 by Daniel.Wright Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413 #jira UE-34173 Change 3076440 on 2016/08/03 by Ryan.Vance #jira UE-34184 Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk. Adding Oculus 1.6 support. Change 3076399 on 2016/08/03 by Nick.Darnell Slate - The LayoutCache pointer in SWidget is now a WeakPtr. This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels. Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior. #jira UE-34185 Change 3076397 on 2016/08/03 by Rolando.Caloca UE4.13 - hlslcc -Fix for hlsl length(float) #jira UE-32629 Change 3076337 on 2016/08/03 by mason.seay Test assets (and map for ensure bug) #jira UE-29618 Change 3076332 on 2016/08/03 by Peter.Sauerbrei fix for clang build errors #jira UE-34163 Change 3076326 on 2016/08/03 by Ryan.Vance #jira UE-32975 Using the wrong screen position in the base pass pixel shader with ISR. Change 3076309 on 2016/08/03 by Benjamin.Hyder Renaming TEST-LightingFeatures to TM-LightingFeatures #jira UE-29618 Change 3076299 on 2016/08/03 by Chad.Taylor Fix SteamVR lag in late-update fold child renderables. #jira UE-33928 Change 3076214 on 2016/08/03 by Mitchell.Wilson Resaving BluperintOffice level to resolve MikkTSpace warnings. Reimporting SM_GodRay_Plane to resolve cook warning. #jira UE-30064 Change 3076112 on 2016/08/03 by Max.Chen Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions) #jira UE-34167 Change 3076090 on 2016/08/03 by Marc.Audy Fix Mac compile error #jira UE-34163 Change 3076075 on 2016/08/03 by Jeremiah.Waldron Fixing comments documenting attribute in deleteFiles node for UPL #jira UE-34161 Change 3076034 on 2016/08/03 by Mitchell.Wilson Resaving Strategy Game maps to resolve MikkTSpace warnings. Resaving material in strategy game to resolve string asset reference warning. #jira UE-29720 Change 3076003 on 2016/08/03 by Mitchell.Wilson Resaving Elemental Demo levels to resolve MikkTSpace warnings. Resaving multiple materials to resolve String asset reference warnings. #jira UE-29679 Change 3075985 on 2016/08/03 by Jeremiah.Waldron Fixing UPL comments misnaming the deleteFiles node #jira UE-34161 Change 3075977 on 2016/08/03 by Maciej.Mroz #jira UE-30473 Moving child component in child blueprint forces parent to become dirty Duplicated from Dev-Blueprints CL 3075793 Change 3075959 on 2016/08/03 by Marc.Audy Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639) #jira UE-33921 Change 3075891 on 2016/08/03 by Chad.Taylor SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline. #jira UE-34142 Change 3075882 on 2016/08/03 by Dan.Oconnor Manually integrating 3073939 to address UE-19062 #jira UE-19062 Change 3075805 on 2016/08/03 by Marc.Audy Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803 #jira UE-18982 Change 3075803 on 2016/08/03 by Marc.Audy Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked #jira UE-18982 Change 3075761 on 2016/08/03 by Max.Preussner MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152) #jira UE-34152 Change 3075719 on 2016/08/03 by Chad.Taylor Blocker fix for binary editor crash on incorrectly used dll #jira UE-34142 Change 3075709 on 2016/08/03 by Jeremiah.Waldron Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor #android #jira UE-34149 Change 3075695 on 2016/08/03 by Jurre.deBaare Adding missing debug zlib dll #jira UE-123 Change 3075641 on 2016/08/03 by Jurre.deBaare Crash when re-importing alembic cache file several times #fix Always create a new object when importing #jira UE-34130 Change 3075609 on 2016/08/03 by Danny.Bouimad #jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does. Change 3075578 on 2016/08/03 by Mitchell.Wilson Updating attenuation settings for multiple sounds in Strategy Game. #jira UE-25828 Change 3075529 on 2016/08/03 by Trung.Le VREditor: Fxied foliage lasso select without pressing trigger #jira UE-33689 Change 3075502 on 2016/08/03 by Lee.Clark Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates. #jira UE-28549 Change 3075386 on 2016/08/03 by Robert.Manuszewski Fixing bulkdata using source data pointer as an archive instead of raw data when saving #jira UE-34132 Change 3075384 on 2016/08/03 by mason.seay AnimBP for crash bug #jira UE-29618 Change 3075350 on 2016/08/03 by Max.Chen Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections. #jira UE-30506 Change 3075327 on 2016/08/03 by Max.Chen Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport. #jira UE-34093 Change 3075313 on 2016/08/03 by Matthew.Griffin Tidied up hardcoded installed build includes so that they're all in one file with platform checks Added .dll.config files to CsCompile build products if they exist Change 3075133 on 2016/08/03 by Yannick.Lange VREditor : Original submit in Dev-VREditor = 3064489 - Fix crash when starting VREditor and then changing levels #jira UE-33766 Change 3075124 on 2016/08/03 by Thomas.Sarkanen Fixed undo/redo crash when editing anim blueprint defaults Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo. #jira UE-34024 - Crash undoing variable change in Animation Blueprint. Change 3075101 on 2016/08/03 by Matthew.Griffin Adding job to selectively build games in release branch Also adding documentation and localization to overnight build #jira UEB-688 Change 3075061 on 2016/08/03 by Yannick.Lange VR Editor : Original submit in Dev-VREditor = 3062883 - Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552 - Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509 - Fixed crash when enabling VR Editor in editor preferences without a HMD connected - Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553 - Avatar code refactor to its own actor class #jira UETOOL-812 #jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812 Change 3075059 on 2016/08/03 by Allan.Bentham Fall back to standard shadows when capsule shadows are not supported. #jira UE-33344 Change 3075045 on 2016/08/03 by Matthew.Griffin Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step Change 3074693 on 2016/08/02 by Dan.Oconnor Manually integrating 3070569 from Dev-Blueprints #jira UE-34119 Change 3074672 on 2016/08/02 by Dan.Oconnor Manually integrating 3061854 into 4.13 from Dev-Blueprints #jira UE-34119 Change 3074646 on 2016/08/02 by Aaron.McLeran #jira UE-34081 Implementing from Dev-Framework CL 3074325 Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback - Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue). - Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread. - Implementing 3003851 from UT into Dev-Framework. Change 3074630 on 2016/08/02 by Brent.Pease UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16 UE-33200 - A movie isn't played on iOS occasionally. UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows + Give a more friendly error message when UHT fails with an invalid error code. #jira UE-23846 #jira UE-33200 #jira UE-32397 Change 3074590 on 2016/08/02 by Rolando.Caloca UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled). #jira UE-33694 Change 3074588 on 2016/08/02 by Chad.Taylor Update OpenVR SDK to v1.0.2 -Hooked up added aspect ratio and sort priority features to SteamVR stereo layers #jira UE-34115 Change 3074481 on 2016/08/02 by Ori.Cohen Make sure that new physical animation data defaults to 0 #JIRA UE-33678 Change 3074395 on 2016/08/02 by Ori.Cohen Fix duplication of physical animation profiles not duplicating data. Also fix undo redo not working for profiles. Fix editor not passing Duplicate change type #JIRA UE-33987, UE-33985 Change 3074392 on 2016/08/02 by Alex.Delesky #jira UE-32396 - Reverting CL 3074177, since it introduced side-effects. Change 3074364 on 2016/08/02 by phillip.patterson Re-created UMG_Optimization for Test Cases #jira UE-29618 Change 3074346 on 2016/08/02 by Jurre.deBaare Potential DDC warning fix, remove non-existing values #jira UE-123 Change 3074289 on 2016/08/02 by Jeff.Fisher UEVR-13 PSVR: TCR Requirement Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed. -When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue. After reconnection reprojection would be lagged by 12+ seconds. After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag. #jira UEVR-13 #review-3074209 @chad.taylor @nick.whiting Change 3074196 on 2016/08/02 by Martin.Wilson Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints) #jira UE-23453 Change 3074177 on 2016/08/02 by Alex.Delesky #jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint. Change 3074157 on 2016/08/02 by Ben.Marsh Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff. Change 3074132 on 2016/08/02 by Trung.Le VREditor: Fixed brush preview present while in foliage mode and hovering at UI #jira UE-33228 Change 3074131 on 2016/08/02 by Tom.Looman Fix for scalability build warnings in VR Template #jira ue-33325 Change 3074089 on 2016/08/02 by Kevin.Rushin QAGame - Added Foliage to TestMap #jira UE-29618 Change 3074067 on 2016/08/02 by Kevin.Rushin QAGame- Rebuilt Lighting #jira UE-29618 Change 3074063 on 2016/08/02 by Kevin.Rushin QAGame - Fix up VREditor Map to have more asset variation #jira UE-29618 Change 3074057 on 2016/08/02 by Andrew.Porter Deleting - UMG_Optimization #jira UE-29618 Change 3074040 on 2016/08/02 by Michael.Trepka On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized. #jira UE-31194 Change 3074008 on 2016/08/02 by Phillip.Patterson Renamed UMG_Invalidation to UMG_Optimization to better match test #jira UE-29618 Change 3073988 on 2016/08/02 by Mitchell.Wilson Updating starting camera location for Paper2d template to be consistant on both BP and Code version. #jira UE-32723 Change 3073966 on 2016/08/02 by Jurre.deBaare Alembic Cache Importer option for propagating matrix transformation does not work #fix Changed the flag combinations and overhauled the matrix retrieval/caching system #misc typo fix #jira UE-34066 Change 3073953 on 2016/08/02 by Lina.Halper Fixed static warning on null reference #jira: UE-33923 Change 3073951 on 2016/08/02 by Lina.Halper Fix GetRelativeTransform for negative scale #jira: UE-33380 Change 3073896 on 2016/08/02 by Alex.Delesky #jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor. #jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool Change 3073804 on 2016/08/02 by Jamie.Dale Fixed the detail panel trying to apply class customizations to structs This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor). #jira UE-32623 Change 3073803 on 2016/08/02 by Jurre.deBaare Morph target vertex mapping can be wrong with multi material caches #fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly #jira UE-34074 Change 3073788 on 2016/08/02 by Andrew.Rodham Sequencer: Added support for montage based animation CL#3061714 : Sequencer: Fixed anim trails not playing in full, sequencer-driven animation. There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly. CL#3063015 : Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback. CL#3068399 : Sequencer: Changed animation tracks to allow more animation types (such as anim montages) - APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility #jira UE-34046 Change 3073787 on 2016/08/02 by Jurre.deBaare Handle failed Simplygon proxy mesh generation with error message instead of hard checks #fix Added a failed delegate along side the succesful delegate #jira UE-31990 Change 3073786 on 2016/08/02 by Jurre.deBaare Alembic importer crashes when not assets are generated #fix Prevented adding nullptr values to the array (now only contains valid entries) #jira UE-34065 Change 3073777 on 2016/08/02 by Jurre.deBaare User is able to give a Preview Scene Profile the same name as an existing profile #fix check changed profile name and append _duplicatedname if found to be matching an existing profile name #jira UE-34033 Change 3073775 on 2016/08/02 by Mitchell.Wilson Updating VehicleExampleMap for BP and Code templates to have consistant starting locations #jira UE-31281 Change 3073732 on 2016/08/02 by Rolando.Caloca DR - Fix crash when enabling gpu morph targets on non SM5 platforms #jira UE-34011 Change 3073706 on 2016/08/02 by Peter.Sauerbrei fix for no tvOS libraries in binary release for Win64 #jira UE-34076 Change 3073671 on 2016/08/02 by Allan.Bentham High quality mobile reflection captures are now blended in correct (linear) space. #jira UE-33915 Change 3073663 on 2016/08/02 by Peter.Sauerbrei fix for launch on failing for iOS in Binary #jira UE-34014 Change 3073662 on 2016/08/02 by Lee.Clark 4.13 - PS4 - Fix Media Player Audio cutting out #jira UE-33850 Change 3073616 on 2016/08/02 by Mark.Satterthwaite Duplicate CL #3073584 from Dev-Platform: Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture. #jira UE-32323 Change 3073592 on 2016/08/02 by Max.Chen Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state. #jira UE-33993 Change 3073585 on 2016/08/02 by Nick.Darnell Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures. #jira UE-34075 Change 3073575 on 2016/08/02 by Richard.TalbotWatkin Duplicating from Dev-Editor, CL 3057645 Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions. #jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server Change 3073542 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3072169. A couple of changes to the BSP code: * Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode. * Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices. #jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used #jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume Change 3073540 on 2016/08/02 by Matthew.Griffin Added Package Samples script behind a trigger to package samples for QA Removed submitter notifications from Launcher Samples nodes Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs #jira UEB-689 Change 3073511 on 2016/08/02 by Tom.Looman Removed object redirectors to fix build warning in VR Template #jira ue-33325 Change 3073458 on 2016/08/02 by Jurre.deBaare Update default preview scene ini and assets #fix deleted old sky texture and fixed BaseEditor.ini setup #jira UE-34063 Change 3073427 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3068585 Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX. #jira UE-34062 - SplineMesh collision can be generated incorrectly Change 3073421 on 2016/08/02 by James.Golding Resave PSD test assets in QAGame with proper version #jira UE-34061 Change 3073419 on 2016/08/02 by James.Golding Rename OrientationDriver to PoseDriver #jira UE-34015 Change 3073404 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3057895 Mesh paint bugfixes and improvements. Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed. This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list. #jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab #jira UE-32279 - Editor crashes when reselecting a mesh in paint mode #jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75] #jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting Change 3073380 on 2016/08/02 by Richard.TalbotWatkin Fixed build error in unity builds. #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point #jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level) #jira UE-13082 - Users would like a snapping feature for splines #jira UE-13568 - Additional Spline Component Functionality #jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport. Change 3073343 on 2016/08/02 by Matthew.Griffin Whitelisting PS4 and XboxOne plugins for those platforms specifically #jira UE-33866 Change 3073338 on 2016/08/02 by Ben.Marsh When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins. Change 3073319 on 2016/08/02 by Maciej.Mroz #jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860 Manually integrated some fixes from Dev-Blueprints Change 3073311 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor CL 3057868 Spline component improvements, both tools and runtime: - SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value. - The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding. - Added a custom version for SplineComponent and provded serialization fixes. - Added a details customization to SplineComponent to hide the raw FInterpCurve properties. - Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer. - Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending. - Allowed an explicit loop point to be specified for closed splines. - Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal. - Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key. - Fixed the logic which determines whether the UCS has modified the spline curves. - Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS. - Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype. - Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled. #jira UETOOL-766 - Spline tool improvements #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point #jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level) #jira UE-13082 - Users would like a snapping feature for splines #jira UE-13568 - Additional Spline Component Functionality #jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport. #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-33669 - Crash in Dev-Editor Change 3073242 on 2016/08/02 by James.Golding Move physics state create/destroy delegates from BodyInstance to ActorComponent - Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected. - Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate. #jira UE-32768 Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 [CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
UE_LOG(TextureStreamingBuild, Verbose, TEXT("Incomplete texcoord scale analysis for %s%s: %s"), *CurrentMaterial->GetName(), *SimilarCount, *TextureErrors);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3054480) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3045482 on 2016/07/11 by Zabir.Hoque DX12 Quries need to individually track their syncpoints. Only when resolving a query on the same frame should be stall. Change 3045929 on 2016/07/12 by Simon.Tovey Removing some deprecated node types from Niagara Change 3045951 on 2016/07/12 by Ben.Woodhouse D3D11 Log detailed live device info on shutdown if the debug layer is enabled (including resource types) Change 3046019 on 2016/07/12 by Chris.Bunner Fixed typo in material input name. #jira UE-5575 Change 3046053 on 2016/07/12 by Rolando.Caloca DR - Fix GL4 shutdown #jira UE-32799 Change 3046055 on 2016/07/12 by Rolando.Caloca DR - vk - Fix NumInstances=0 Change 3046063 on 2016/07/12 by Rolando.Caloca DR - vk - Added flat to uint layouts per glslang - Fix bad extension on dumped shaders Change 3046067 on 2016/07/12 by Rolando.Caloca DR - vk - Fix check when not using color RT - Added queue submit & present counters Change 3046088 on 2016/07/12 by Ben.Woodhouse Live GPU stats A non-hierarchical realtime high level GPU profiler with support for cumulative stat recording. Stats are added with SCOPED_GPU_STAT macros, e.g. SCOPED_GPU_STAT(RHICmdList, Stat_GPU_Distortion) The bulk of the files in this change are simply instrumentation for the renderer. The core changes are in SceneUtils.cpp/h and D3D11Query.cpp (this is the XB1/DX11X implementation of timestamp RHI queries, which was missing) Note: this is currently disabled by default. Enable with the cvar r.gpustatsenabled Tested on PC, XB1, PS4 Change 3046128 on 2016/07/12 by Olaf.Piesche Max draw distance and fade range for lights, requested by JonL Change 3046183 on 2016/07/12 by Ben.Woodhouse PR #2532: Fix SSAO being applied in unlit viewmode (Contributed by nick-penwarden) Change 3046223 on 2016/07/12 by Luke.Thatcher Fix Scene Cube Captures. SceneCaptureSource flag on the ViewFamily was not set for cube components. #jira UE-32345 Change 3046228 on 2016/07/12 by Marc.Olano Add Voronoi noise to Noise material node. Four versions with differing speed/quality levels accessed through the Quality value in the material node. Tooltips give estimates of the cost of each. Also includes spiffy new Rand3DPCG16 and Rand3DPCG32 int3 to int3 hash functions, and a 20% improvement on the computed gradient noise. Change 3046269 on 2016/07/12 by Rolando.Caloca DR - Skip flush on RHIDiscardRenderTargets and only use it on platforms that need it (ie OpenGL) Change 3046294 on 2016/07/12 by Rolando.Caloca DR - Fix static analyisis warning C6326: Potential comparison of a constant with another constant. Change 3046295 on 2016/07/12 by Rolando.Caloca DR - Fix the previous fix Change 3046731 on 2016/07/12 by Marc.Olano Fix typo in shader random number constant: repeated extra digit made it too big. Change 3046796 on 2016/07/12 by Uriel.Doyon The texture streaming manager now keeps a set of all valid textures. This is used to prevent from indirecting deleted memory upon SetTexturesRemovedTimestamp. #jira UE-33048 Change 3046800 on 2016/07/12 by Rolando.Caloca DR - vk - Added create image & renderpass dump Change 3046845 on 2016/07/12 by John.Billon Forgot to apply MaxGPUSkinBones Cvar access changes in a few locations. Change 3047023 on 2016/07/12 by Olaf.Piesche Niagara: -a bit of cleanup -now store and double buffer attributes individually, eliminating unnecessary copy of unused attributes -removed FNiagaraConstantMap, replaced with an instance of FNiagaraConstants -some code simplification -removed some deprecated structs and code used only by old content Change 3047052 on 2016/07/12 by Zabir.Hoque Unshelved from pending changelist '3044062': PR #2588: Adding blend mode BLEND_AlphaComposite (4.12) (Contributed by moritz-wundke) Change 3047727 on 2016/07/13 by Luke.Thatcher Fix Scene Capture Components only updating every other frame. #jira UE-32581 Change 3047919 on 2016/07/13 by Olaf.Piesche CMask decode, use in deferred decals, for PS4 Change 3047921 on 2016/07/13 by Uriel.Doyon "Build Texture Streaming" will now remove duplicate error msg when computing texcoord scales. Also, several texture messages are packed on the same line if they relate to the same material. Change 3047952 on 2016/07/13 by Rolando.Caloca DR - vk - Initial prep pass for separating combined images & samplers Change 3048648 on 2016/07/13 by Marcus.Wassmer Fix rare GPU hang when asynctexture reallocs would overlap with EndFrame Change 3049058 on 2016/07/13 by Rolando.Caloca DR - vk - timestamps Change 3049725 on 2016/07/14 by Marcus.Wassmer Fix autosdk bug where not having a platform directory sync'd at all would break manual SDK detection Change 3049742 on 2016/07/14 by Rolando.Caloca DR - Fix warning Change 3049902 on 2016/07/14 by Rolando.Caloca DR - Fix typo Change 3050345 on 2016/07/14 by Olaf.Piesche UE-23925 Clamping noise tessellation for beams at a high but sensible value; also making sure during beam index buffer building that we never get over 2^16 indices; this is a bit hokey, but there are so many variables that can influence triangle/index count, that this is the only way to be sure (short of nuking the entire site from orbit). Change 3050409 on 2016/07/14 by Olaf.Piesche Replicating 3049049; missing break and check for active particles when resolving a source point to avoid a potential crash Change 3050809 on 2016/07/14 by Rolando.Caloca DR - vk - Remove redundant validation layers Change 3051319 on 2016/07/15 by Ben.Woodhouse Fix for world space camera position not being exposed in decal pixel shaders; also fixes decal lighting missing spec and reflection The fix was to calculate ResolvedView at the top of the shader. Previously this was not initialized #jira UE-31976 Change 3051692 on 2016/07/15 by Rolando.Caloca DR - vk - Enable RHI thread by default Change 3052103 on 2016/07/15 by Uriel.Doyon Disabled depth offset in depth only pixel shaders when using debug view shaders (to prevent Z fighting). #jira UE-32765 Change 3052140 on 2016/07/15 by Rolando.Caloca DR - vk - Fix shader snafu Change 3052495 on 2016/07/15 by Rolando.Caloca DR - Fix for Win32 compile #jira UE-33349 Change 3052536 on 2016/07/15 by Uriel.Doyon Fixed texture streaming overbudget warning when using per texture bias. [CL 3054554 by Gil Gribb in Main branch]
2016-07-18 17:17:08 -04:00
}
else
{
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3088355 on 2016/08/13 by Max.Preussner Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643) #jira UE-34643 Change 3088331 on 2016/08/13 by Max.Preussner Media: Fixed Failing to load Precached Media Source (UE-34285) #jira UE-34285 Change 3088202 on 2016/08/12 by Zabir.Hoque Porting DX12 Fix from MS: Update D3D12 RHI for 4.13 - Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables. #jira UE-0 Change 3088149 on 2016/08/12 by Mark.Satterthwaite Duplicate CL #3087991: Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS. - Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms. - Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial. - Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there. - OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time. - Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output. - On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching. - On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code. - AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format. - Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled. #jira UE-34315 Change 3088131 on 2016/08/12 by Chris.Babcock Fix iterative deploy for new ADB #jira UE-34638 #ue4 #android Change 3088106 on 2016/08/12 by Dan.Oconnor Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references #jira UE-34564 Change 3088099 on 2016/08/12 by Zabir.Hoque Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done. #Jira UE-27026 Change 3088072 on 2016/08/12 by Max.Chen Sequencer: Level editor camera cut flag is now a one way gate This resolves issues to do with the flag being erroneously reset by external forces. #jira UE-33875 Change 3088031 on 2016/08/12 by Jeff.Campeau Fix WinXP build issues in WmfMedia and SteamVR plugins. #jira UE-32421 Change 3088025 on 2016/08/12 by Tom.Looman Updated VR Template with new VR device ID blueprint node. #jira ue-34592 Change 3088023 on 2016/08/12 by Tom.Looman Added PS Move input handling support to VR Template. #jira UE-34188 Change 3087989 on 2016/08/12 by Michael.Trepka Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts. #jira UE-34581 Change 3087907 on 2016/08/12 by mason.seay New test assets for sub instance testing #jira UE-29618 Change 3087812 on 2016/08/12 by Maciej.Mroz #jira UE-34247 Nativized UMG assets not visible Redone cl#3087726 from Dev-Blueprints Change 3087810 on 2016/08/12 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library. Allows one to set the minimum output color from reprojection processing. Can be used to mitigate certain artifacts (dark smearing, reprojection edges). See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes. #review-3087760 @nick.whiting #jira UEVR-13 Change 3087795 on 2016/08/12 by Mitchell.Wilson Added project thumbnail to subway sequencer. Added thumbnails to subway sequencer levels. Re-saved multiple files to resolve empty engine version and nodeguid warnings. #jira UE-34521 UE-34519 Change 3087730 on 2016/08/12 by Michael.Trepka Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml #jira UE-34548 Change 3087699 on 2016/08/12 by Jeff.Campeau Make resource generation fault tolerant of unset config values. #jira UE-34614 Change 3087690 on 2016/08/12 by Mitchell.Wilson Added a thumbnail for the BlueprintRenderToTarget level. #jira UE-34544 Change 3087688 on 2016/08/12 by Marc.Audy Fix headshot crash when tearing down physics when not registered #jira UE-32935 Change 3087615 on 2016/08/12 by Ben.Woodhouse Fix for crash in shadowsetup when frustum is invalid #jira UE-33014 Change 3087607 on 2016/08/12 by Max.Chen Sequencer: Fix Import/Export FBX - Import FBX now maps arbitrary float properties as well as the transform - Import/Export FBX now consistently operates on selected nodes or all nodes - Fixed exported node names so that they're consistent with Sequencer node names #jira UETOOL-534 Change 3087586 on 2016/08/12 by Chris.Babcock Add HUAWEI_Mali device model recognition for Vulkan #jira UE-34610 #ue4 #android Change 3087529 on 2016/08/12 by Jurre.deBaare Fix for crash when start index != 0 and sampling at a different rate #jira UE-34637 Change 3087519 on 2016/08/12 by Ben.Marsh Pass the -ignorejunk flag on to child UBT instance when running a clean. Change 3087455 on 2016/08/12 by Jurre.deBaare Alembic importer plugin needs proper logo #fix Replaced icon with inverted official Alembic logo #jira UE-34474 Change 3087360 on 2016/08/12 by Ben.Marsh Print out the UBT command line before running it, to help diagnose -ignorejunk problem. Change 3087285 on 2016/08/12 by Lina.Halper - Add which animation it fails to compress - Make sure it doesn't go in there unless you have skeleton #jira: UE-34490 Change 3087237 on 2016/08/12 by Alex.Delesky #jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene. Change 3087215 on 2016/08/12 by danny.bouimad #jira UE-29618 updated QA-AnimProfiles again... Change 3087212 on 2016/08/12 by Danny.Bouimad #jira UE-29618 updated TM-PhysicalAnimProfiles again Change 3087200 on 2016/08/12 by Robert.Manuszewski Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway. #jira UE-34373 Change 3087188 on 2016/08/12 by Matthew.Griffin Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually Change 3087160 on 2016/08/12 by Ben.Marsh Propagate the -ignorejunk option when we're building UHT as a child process in UBT. Change 3087148 on 2016/08/12 by Ben.Marsh Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change. Change 3087143 on 2016/08/12 by Danny.Bouimad #jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder. Change 3087140 on 2016/08/12 by Steve.Robb GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs I have no evidence that this actually fixes anything, but it doesn't harm anything to add it... #jira UE-29286 Change 3087139 on 2016/08/12 by Steve.Robb Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed. This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module. #jira UE-31575 Change 3087107 on 2016/08/12 by Jurre.deBaare Alembic Import with empty first frame will cause the editor to crash #jira UE-34515 #fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects #misc added a static const value indicating the first frame instead of hardcoded 0 array accesors #misc check condition fix in Runnable #misc log now adds new page named after the imported Alembic file Change 3087079 on 2016/08/12 by Dmitriy.Dyomin Fixed: Corrupted level package on loading cooked content #jira UE-34591 Change 3087063 on 2016/08/12 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3087048 on 2016/08/12 by Matthew.Griffin Changed Launcher Samples to create aggregate from property to avoid error in preflights Only notify about Launcher Samples trigger in non-preflight builds Change 3086985 on 2016/08/12 by Maciej.Mroz #jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102] Redone cl#3083825 from Dev-Blueprints Change 3086960 on 2016/08/12 by Matthew.Griffin Prevent Build DDC command from making DDC for platforms that aren't supported by project #jira UEB-698 Change 3086945 on 2016/08/12 by Dmitriy.Dyomin Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition #jira UE-18291 Change 3086904 on 2016/08/11 by Lina.Halper Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f #jira: UE-34570 Change 3086891 on 2016/08/11 by Lina.Halper DUPEFIX: CL 3086544 from Michael Noland Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well #jira UE-34223 #tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc... #tests (from Lina H) started the test project from JIRA and PIE, and no crash. Change 3086837 on 2016/08/11 by Nick.Whiting Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread(). This allows skel controls to use orientation and position with parallel animation #jira UE-32564 Change 3086797 on 2016/08/11 by Dmitry.Rekman Linux: fix crash on editor exit (UE-30795, UE-7519). - FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that. #jira UE-30795 Change 3086735 on 2016/08/11 by Richard.TalbotWatkin Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now. #jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash Change 3086726 on 2016/08/11 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements : 2DVR 2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen. -Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary. #jira UEVR-13 #review-3086004 @chad.taylor @nick.whiting Change 3086652 on 2016/08/11 by Dmitry.Rekman Linux: re-enable ICU (UE-34012). - Built static libs against libc++; disabled using dynamic ones. - Fixes lack of rich text formatting. #jira UE-34012 Change 3086648 on 2016/08/11 by Nick.Whiting Adding support for getting the HMD Device name from code / blueprints #jira UE-31785 Change 3086589 on 2016/08/11 by Chad.Taylor Fixing Vive resolution on packaged builds #jira UE-34535 Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt Fix skeletal mesh LODs not being imported correctly. All meshes were imported to the base LOD instead. #jira UE-34397 Change 3086529 on 2016/08/11 by Marc.Audy Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default) #jira UE-34287 Change 3086376 on 2016/08/11 by Peter.Sauerbrei remove cached file handle from iOS and Android to save memory during loads #jira UE-31720 Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt Guard against crash with corrupted editor layouts #jira UE-34364 Change 3086345 on 2016/08/11 by Dan.Oconnor ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time) #jira UE-34380 Change 3086272 on 2016/08/11 by Cody.Albert Updating First Person templates to fix cook errors #jira UE-22726 Change 3086259 on 2016/08/11 by Nick.Whiting Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used #jira UE-31617 Change 3086202 on 2016/08/11 by Marcus.Wassmer Duplicate 3086176 to fix broken shaderpipelines on PS4 #jira UE-34540 Change 3086080 on 2016/08/11 by mason.seay Test animbp for sub anim instances #jira UE-29618 Change 3086062 on 2016/08/11 by Tom.Looman Migrate from //depot/usr/ into Release-4.13 for VR Template. #jira ue-34533 Change 3086032 on 2016/08/11 by Mike.Beach Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it). #jira UE-34350 Change 3086025 on 2016/08/11 by Olaf.Piesche #jira UE-32058 Replicating fix from 3050352 Change 3085969 on 2016/08/11 by John.Pollard CIS fix #jira UE-30516 Change 3085819 on 2016/08/11 by Jurre.deBaare bForceOneSmoothingGroup not working for skeletal meshes #fix Added check for forced smoothing group and calculate normals accordingly #misc Spotted some non-referenced const TArrays being passed to CalculateTangents #jira UE-34555 Change 3085799 on 2016/08/11 by Ben.Marsh Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing. Change 3085763 on 2016/08/11 by Daniel.Lamb Fix for circular initialization of a singleton on android causing hang when using cook on the fly. #jira UE-34442 Change 3085717 on 2016/08/11 by Dmitry.Rekman Linux: better messaging around Steam initialization (UE-32052). - Also added a standalone test. #jira UE-32052 Change 3085715 on 2016/08/11 by Chris.Bunner Dropped check to an ensure as there's existing handling for invalid assets in that case. #jira UE-23902 Change 3085714 on 2016/08/11 by Olaf.Piesche #jira UE-30398 Fix offset added to particle collision locations. Replicated from 3084645 in Dev-Rendering Change 3085713 on 2016/08/11 by Chris.Babcock Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now) #jira UE-33840 #ue4 #android #ios #opengl Change 3085711 on 2016/08/11 by Olaf.Piesche #jira UE-34106 #jira UE-32784 #jira UE-31198 Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty) Replicated from 3083909 in Dev-Rendering Change 3085707 on 2016/08/11 by Matthew.Griffin Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue Change 3085656 on 2016/08/11 by Marc.Audy PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker) #jira UE-32418 #jira UE-33617 Change 3085641 on 2016/08/11 by Lina.Halper Fixed invalid compressed track data - need a better solution and added ticket for 4.14 - UE-34547 #jira: UE-34077 Change 3085606 on 2016/08/11 by Max.Preussner Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381) #jira UE-34381 Change 3085568 on 2016/08/11 by Maciej.Mroz #jira UE-34436 Ensures when copy/pasting linked anim bp nodes FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet). Change 3085532 on 2016/08/11 by Peter.Sauerbrei fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC #jira UE-30335 Change 3085528 on 2016/08/11 by Max.Chen Sequence Recorder: Fix crash when actor class to record is null. #jira UE-34543 Change 3085418 on 2016/08/11 by Maciej.Mroz #jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults Redone cl#3084313 from Dev-Blueprints Change 3085395 on 2016/08/11 by John.Pollard Don't allow hot-reloading if we're running PIE instances #jira UE-30516 Change 3085377 on 2016/08/11 by Tom.Looman Added StarterMap (WIP) to resolve JIRA. #jira ue-34311 Change 3085364 on 2016/08/11 by Ben.Woodhouse Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur. #jira UE-28561 Change 3085341 on 2016/08/11 by Dmitriy.Dyomin Fixed: Creating Launcher Profile does not always shows all project available maps #jira UE-33765 Change 3085336 on 2016/08/11 by Andrew.Rodham Sequencer: Runtime instances are no longer updated when bluprints are recompiled This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register #jira UE-34499 Change 3085332 on 2016/08/11 by Dmitriy.Dyomin Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication #jira UE-26868 Change 3085331 on 2016/08/11 by Ben.Woodhouse Fix for threading related crash with precomputed lighting volumes #jira UE-34531 Change 3085323 on 2016/08/11 by Allan.Bentham Remove android specific vulkan hack to recreate depth buffer's imageview. #jira UE-33593 #jira UE-33336 Change 3085313 on 2016/08/11 by Thomas.Sarkanen StopRecordingAnimation now uses the same maing logic as RecordAnimation This prevents inconsisten behaviour between record and stop record commands #jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor Change 3085301 on 2016/08/11 by Allan.Bentham Only allow gaussian DoF on mobile. Disable DoF for all other types. #jira UE-34217 Change 3085292 on 2016/08/11 by Thomas.Sarkanen Revert change to force shipping dlls in shipping builds #jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration Change 3085291 on 2016/08/11 by Matthew.Griffin Added nodes for Linux Editor, DDC and installed build Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products Change 3084973 on 2016/08/10 by Jeff.Campeau Use relative settings for ShooterGame manifest Package creation checks Xbox One target settings in Engine instead of Game config #jira UE-33808 Change 3084932 on 2016/08/10 by patrickr.donovan #jira UE-29618 SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing. Change 3084886 on 2016/08/10 by Daniel.Wright Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards #jira UE-33238 Change 3084878 on 2016/08/10 by Jeff.Campeau UFE launch command is generated with all devices requested instead of just the first. #jira UE-34302 Change 3084860 on 2016/08/10 by Dmitry.Rekman Fix CrashReportClient crashing on start (UE-32976, UE-34451). - Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes. #jira UE-32976 Change 3084756 on 2016/08/10 by Dmitry.Rekman Linux: clean-up compiler settings logic (UE-22715). - Includes parts of pull request #1704 by zaps166. - Disables exceptions in most builds. #jira UE-22715 Change 3084679 on 2016/08/10 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3084475 Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds. #jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server Change 3084614 on 2016/08/10 by Daniel.Wright Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene() #jira UE-34321 Change 3084607 on 2016/08/10 by Jeremiah.Waldron Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur Relates to: #jira UE-34283 Change 3084586 on 2016/08/10 by Jeff.Campeau Chunks don't assume they're done downloading at 100%. #jira UE-34386 Change 3084552 on 2016/08/10 by Lina.Halper Fix GetWorldFromContextObject to be used for another thread safer : Guard to modify static variabls by another thread #jira: UE-34416 Change 3084551 on 2016/08/10 by Mitchell.Wilson Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level. #jira UE-32855 Change 3084535 on 2016/08/10 by Mike.Beach Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names. #jira UE-34378 Change 3084526 on 2016/08/10 by Jeff.Campeau Update XDK to August 2016 #jira UEPLAT-1374 Change 3084471 on 2016/08/10 by John.Pollard Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown> #jira UE-34295 Change 3084363 on 2016/08/10 by Marc.Audy Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport #jira UE-34101 Change 3084231 on 2016/08/10 by Michael.Trepka Fixed a problem with the search box in blueprint context menu not getting focus on Mac #jira UE-20884 Change 3084229 on 2016/08/10 by Dmitry.Rekman Linux: remove hardcoded staged files (UE-24594). #jira UE-24594 Change 3084215 on 2016/08/10 by Chris.Bunner Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view. #jira UE-31936 Change 3084052 on 2016/08/10 by Jurre.deBaare Alembic skeletal mesh importer does not calculate correct smoothing groups #fix follow same routine as regular smoothing group/normal calculation #jira UE-34493 Change 3084029 on 2016/08/10 by Phillip.Kavan [UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object. Mirrored from //UE4/Dev-Blueprints (CL# 3082839). #jira UE-34458 Change 3084027 on 2016/08/10 by Ben.Woodhouse Fix for crash when applying BSP materials This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread. The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh. #jira UE-31460 Change 3083981 on 2016/08/10 by Matthew.Griffin Set Localization branch for Localise command to release version when running in the Release Branch #jira UE-34471 Change 3083970 on 2016/08/10 by Max.Preussner PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481) #jira UE-33481 Change 3083918 on 2016/08/10 by Matthew.Griffin Exclude UBT generated files from the installed build Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material #jira UE-34360 Change 3083890 on 2016/08/10 by Matthew.Griffin Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage. Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project. #jira UE-34401 Change 3083873 on 2016/08/10 by Dmitry.Rekman CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478). #jira UE-34478 Change 3083862 on 2016/08/10 by Mitchell.Wilson Rebuilt lighting on Advanced_Lighting level in Samples Content #jira UE-34383 Change 3083792 on 2016/08/10 by Benn.Gallagher PR #2671: Fix sub instance curve values. (Contributed by tmiv) PR #2668: Sub inst post anim fix (Contributed by tmiv) #jira UE-34162 #jira UE-34121 Change 3083775 on 2016/08/10 by Kevin.Rushin QAGame - Updating VRLatency Testmap, Can freelook #jira UE-29618 Change 3083771 on 2016/08/10 by Robert.Manuszewski Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit. #jira UE-34371 Change 3083742 on 2016/08/10 by Lee.Clark 4.13 - PS4 - Fix memory allocation sizes #jira UE-33270 Change 3083732 on 2016/08/10 by Ben.Marsh Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger. Change 3083690 on 2016/08/10 by Dmitriy.Dyomin Fixed: Foliage instances are not included when exporting a scene to FBX #jira UE-34214 Change 3083654 on 2016/08/10 by Keith.Judge Fix analysis warnings. Simple change from Release() to SAFE_RELEASE(). #jira UE-23059 Change 3083646 on 2016/08/10 by Thomas.Sarkanen Use shipping PhysX libs for installed builds Copy fix from UE4Game.Target.cs to apply to all packaged games #jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration Change 3083527 on 2016/08/10 by Dmitriy.Dyomin Fixed: Warning upon Undo/redo-ing of sculpting the landscape #jira UE-34443 Change 3083502 on 2016/08/10 by Dmitriy.Dyomin Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting #jira UE-34417 Change 3083349 on 2016/08/09 by Daniel.Wright Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0 #jira UE-31181 Change 3083167 on 2016/08/09 by Chad.Taylor Null deref crash fix #jira UE-33830 Change 3083144 on 2016/08/09 by Zabir.Hoque Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite. #jira UE-32980 Change 3083136 on 2016/08/09 by Chad.Taylor Stripping out egregious log spam #jira UE-34181 Change 3083116 on 2016/08/09 by John.Billon Defaulting r.D3D.RemoveUnusedInterpolators to on. #Jira UE-34461 Change 3083114 on 2016/08/09 by John.Billon Fixing static analysis warning in NullRHI. #Jira UE-34462 Change 3083070 on 2016/08/09 by Dmitry.Rekman PR #2516: CMake improvements and fixes (UE-22233, UE-32136). - Contributed by Nihlus. - Contains PR #1668 by mgerhardy Summary of changes (from PR): - Fixed an issue where CMake build files would contain invalid targets - Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion. - Fixed an issue where invalid target platforms could fall through and cause issues with the file generation. - Improved code readability throughout the generator. Can still use some more polish. - Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects. - Improved commenting throughout the generator. As with readability, can still use some more polish. - Removed unused using statements. - Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion. - Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets. #jira UE-22233 Change 3082999 on 2016/08/09 by Jeremiah.Waldron Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases #jira UE-34457 Change 3082993 on 2016/08/09 by mason.seay Fixed level BP error and updated Reverb asset #jira UE-29618 Change 3082981 on 2016/08/09 by Peter.Sauerbrei disable roughness calculation for iOS metal #jira UE-31815 Change 3082912 on 2016/08/09 by Chris.Babcock Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now #jira UE-34432 #ue4 #android Change 3082875 on 2016/08/09 by Chris.Bunner Lowered verbosity of mesh build warning when using MikkTSpace. #jira UE-23903 Change 3082867 on 2016/08/09 by Trung.Le VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses #jira UE-34227 Change 3082818 on 2016/08/09 by Mike.Beach Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert). #jira UE-34430 Change 3082794 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082760 on 2016/08/09 by Jamie.Dale Scene viewports are now centered when re-entering windowed mode #jira UE-32842 Change 3082744 on 2016/08/09 by Mitchell.Wilson Resaving assets to resolve empty engine version warnings. #jira UE-29746 Change 3082728 on 2016/08/09 by Ben.Marsh BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger. #jira UE-34329 Change 3082686 on 2016/08/09 by Marc.Audy If the GameMode is not carried over as part of a seamless travel create it. #jira UE-25569 Change 3082663 on 2016/08/09 by John.Billon Fixed SubUVAnimation asset crash when texture source is cleared. #Jira UE-34231 Change 3082650 on 2016/08/09 by John.Billon Changed an ensure the NullRHI dealing with memory allocation to be a log message. #Jira UE-32362 Change 3082644 on 2016/08/09 by Maciej.Mroz #jira UE-34240 Match 3 nativization failure Redone cl3082121 from Dev-Blueprints Change 3082633 on 2016/08/09 by Maciej.Mroz #jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172] Redone cl3082414 from Dev-Blueprints Change 3082606 on 2016/08/09 by Michael.Trepka Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler. #jira UE-34276 Change 3082579 on 2016/08/09 by Benn.Gallagher CIS fix, missed removing a few #ifs #jira UE-29180 Change 3082525 on 2016/08/09 by Tom.Looman Removed Android from supported platforms in VR Template. #jira UE-34189 Change 3082523 on 2016/08/09 by Tom.Looman Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior) Fixed typo in level text. #JIRA UE-34422 Change 3082504 on 2016/08/09 by Jurre.deBaare Crash importing alembic asset over itself after saving it in Content Browser #fix Trivial nullptr + isValid fix #jira UE-34418 Change 3082433 on 2016/08/09 by Tom.Looman Updated list of supported platforms. #jira UE-34189 Change 3082423 on 2016/08/09 by Mitchell.Wilson Resaving levels to resolve MikkTSpace warnings Updating collision on SM_Floor_Round #jira UE-30786 Change 3082361 on 2016/08/09 by Keith.Judge Xbox One - Fix a controller disconnection crash. - This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early. - Changed it to copy each connected pad object one at a time, which maintains the correct refcount. - Possibly a VS2015 Update 3 bug. #jira UE-33955 Change 3082341 on 2016/08/09 by Mitchell.Wilson Reimporting SM_GodRay_Plane Resaving levels to resolve MikkTSpace warnings Resaving multiple materials to resolve warnings #jira UE-34212 Change 3082313 on 2016/08/09 by Matthew.Griffin Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build) Change 3082294 on 2016/08/09 by Jurre.deBaare Crash when importing an Alembic file with Materials as a different asset type than one that already exists #fix Ensure that we have a valid material to assign to the assets #jira UE-34377 Change 3082291 on 2016/08/09 by Jurre.deBaare Unable to save Alembic asset with materials after importing more than once #fix Make sure we delete referenced transient materials if they are not used #jira UE-34400 Change 3082290 on 2016/08/09 by Jurre.deBaare Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on #fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14 #jira UE-34392 Change 3082274 on 2016/08/09 by Benn.Gallagher Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms. #jira UE-29780 Change 3082273 on 2016/08/09 by Benn.Gallagher Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain #jira UE-30827 Change 3082270 on 2016/08/09 by Benn.Gallagher Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted. #jira UE-29180 Change 3082257 on 2016/08/09 by Jurre.deBaare Auto align floor mesh does not work in Persona #fix Readded functionality for the auto alignment :) #jira UE-34404 Change 3082239 on 2016/08/09 by Peter.Sauerbrei make sure IPP and supporting dlls are all 64-bit #jira UE-34408 Change 3082225 on 2016/08/09 by Mitchell.Wilson Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize Reimporting SM_GodRay_Plane Saving all levels to resolve MikkTSpace warnings. #jira UE-30787 Change 3082222 on 2016/08/09 by Rolando.Caloca UE4.13 - Fix crash on opengl3 - Load proper shader map depending on feature level - int interpolators require nointerpolation modifier #jira UE-33879 Change 3082221 on 2016/08/09 by Benn.Gallagher Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop #jira UE-34384 Change 3082179 on 2016/08/09 by Ben.Woodhouse Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders. #jira UE-31461 Change 3082170 on 2016/08/09 by Graeme.Thornton Manual copy of CL 3078836 from Dev-Core to Release-4.13 Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading #jira UE-33909 Change 3082169 on 2016/08/09 by Graeme.Thornton Make FLauncherTasks have unique names so we don't end up with stat name collisions #jira UE-33849 Change 3082163 on 2016/08/09 by Matthew.Griffin Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts Added Checks for files that might not exist when creating Installed Build from Github etc. Tag the published installed build zips #jira UE-34249 Change 3082139 on 2016/08/09 by Ben.Marsh BuildGraph: Allow writing a schema without passing a script in. Change 3082109 on 2016/08/09 by Thomas.Sarkanen Fixed blendspaces producing bad data when degenerate spaces are present Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications. #jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph Change 3082080 on 2016/08/09 by Matthew.Griffin Added notifications for available triggers Change 3082054 on 2016/08/09 by Allan.Bentham Quality level override changes to high QL are now correctly picked up. #jira UE-22812 Change 3082049 on 2016/08/09 by Allan.Bentham Update shaders when mobile preview device is changed. #jira UE-22810 Change 3081866 on 2016/08/09 by Max.Chen Fbx Export: Fix build. #jira UETOOL-750 Change 3081863 on 2016/08/09 by Max.Chen Fbx Export: Fix level sequence fbx export. - Fix 3d transform track export so that it does the correct flipping for translation and rotation curves. - Fix setting rich curve tangents and interpolation modes. - Fix camera focal length export. #jira UETOOL-750 Change 3081823 on 2016/08/08 by Dmitriy.Dyomin Fixed: Crash when simulating in editor with a landscape actor selected #jira UE-34367 #coderview Gareth.Martin Change 3081647 on 2016/08/08 by Chad.Taylor OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport #jira UE-34352 Change 3081645 on 2016/08/08 by Zak.Middleton #ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback. #jira UE-30178 Change 3081639 on 2016/08/08 by Tyler.Cole Update build scripts for WEX MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3081616 on 2016/08/08 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements -2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode. -A new ini setting for morpheus bStartInVR has been added, it defaults to true. #jira UEVR-13 #review-3081284 @chad.taylor @nick.whiting Change 3081597 on 2016/08/08 by Tyler.Cole Update build scripts for Ocean MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3081476 on 2016/08/08 by Tyler.Cole Update build script for UE4 Release-4.13 stream Fortnite MCP. #jira NONE-0 Change 3081397 on 2016/08/08 by Josh.Adams - Fixing more linux case issues in UT #jira ue-33478 Change 3081391 on 2016/08/08 by Mitchell.Wilson Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap #jira UE-33843 Change 3081383 on 2016/08/08 by Aaron.McLeran #jira UE-34081 Implementing CL 3076637 into 4.13 #tests run a procedural sound wave object test Change 3081337 on 2016/08/08 by Aaron.McLeran #jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay - OR-26580 - Implementing CL 3071258 to 3.13 #tests ran paragon with change, no crashes Change 3081335 on 2016/08/08 by Max.Preussner WmfMedia: Fixed memory leak in source resolver (UE-34385) #jira UE-34385 Change 3081320 on 2016/08/08 by Max.Preussner WmfMedia: Fixed typo (UE-32421) #jira UE-32421 Change 3081276 on 2016/08/08 by Mitchell.Wilson Resaving asset to resolve MikkTSpace warning. #jira UE-31116 Change 3081269 on 2016/08/08 by Dan.Oconnor Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint #jira UE-34324 Change 3081052 on 2016/08/08 by Dan.Oconnor Making a change to test UE-34324 #jira UE-34324 Change 3081026 on 2016/08/08 by Daniel.Wright Added a heightfield painting example to BlueprintRenderToTarget content example #jira UE-34323 Change 3081025 on 2016/08/08 by Daniel.Wright CreateRenderTarget2D uses a world context object as owner, allows use in a construction script #jira UE-34321 Change 3081023 on 2016/08/08 by Aaron.McLeran #jira UE-34325 Implementing 3080958 in 4.13 - When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash - Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds. #tests ran repro case described in bug several times without crashing (was 100% repro) Change 3081020 on 2016/08/08 by Dan.Oconnor Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties #jira UE-26310 Change 3081010 on 2016/08/08 by Dan.Oconnor Fix for losing root transform when recycling objects #jira UE-28398 Change 3080972 on 2016/08/08 by Mark.Satterthwaite Duplicate CL #3080684: Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination. #jira UE-21857 Change 3080971 on 2016/08/08 by Mark.Satterthwaite Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared. #jira UE-34355 Change 3080923 on 2016/08/08 by Michael.Trepka When archiving on for Mac delete the dest icon if it exists before trying to call File.Move #jira UE-33304 Change 3080919 on 2016/08/08 by samuel.proctor Revised assets for Blueprint Debugging tests #jira UE-29618 Change 3080878 on 2016/08/08 by Ben.Marsh Fix sample build timeouts due to generating DDC using installed engine builds taking too long. * New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead. * Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead. Change 3080849 on 2016/08/08 by Marc.Audy Always stop matinee sounds when jumping around, not just if the sound changed. #jira UE-31447 Change 3080843 on 2016/08/08 by Ben.Marsh BuildGraph: Fix compile error due to duplicated variable name. Change 3080840 on 2016/08/08 by Max.Chen Fbx: Fix rich curve export being exported at the incorrect times when baked. #jira UETOOL-750 Change 3080824 on 2016/08/08 by Max.Chen Sequencer: Revert fix root component structure for level sequence actor. #jira UE-34354 Change 3080819 on 2016/08/08 by Chad.Taylor Merging Move and Vive haptic implementation from Dev-VR to Release-4.13 #jira UE-27886 Change 3080818 on 2016/08/08 by Jurre.deBaare Crash when importing the same Alembic file but as a different Asset Type #fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed) #misc Typo #jira UE-34293 Change 3080817 on 2016/08/08 by Jurre.deBaare Crash when importing an Alembic file with Materials if it already exists #fix Only create materials if they don't already exist #jira UE-34300 Change 3080814 on 2016/08/08 by Jurre.deBaare Crash when importing Alembic files as Skeletal Mesh #fix Set the NumVertices variable that was re-added :) #misc removed dead code #jira UE-34288 Change 3080813 on 2016/08/08 by Jurre.deBaare [CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices() #fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs) #jira UE-34294 Change 3080797 on 2016/08/08 by Dmitriy.Dyomin Fix: Crash opening levels with landscape in them via the command console in standalone game #jira UE-34348 Change 3080784 on 2016/08/08 by Jamie.Dale We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering) #jira UE-34298 Change 3080734 on 2016/08/08 by Matthew.Griffin Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent Change 3080685 on 2016/08/08 by Peter.Sauerbrei fix for crash on tvOS and iOS when launching a project #jira UE-34005 Change 3080683 on 2016/08/08 by Matthew.Griffin Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built Change 3080681 on 2016/08/08 by Matthew.Griffin Corrected path separators for Mac DDC location, which was preventing it from being included in installed build Change 3080675 on 2016/08/08 by Robert.Manuszewski Fixing CIS on Clang platforms #jira UE-34025 Change 3080674 on 2016/08/08 by Ben.Woodhouse Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507 #jira UE-32651 Change 3080594 on 2016/08/08 by Keith.Judge Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed. #jira UE-31607 Change 3080573 on 2016/08/08 by Martin.Wilson Fix Root Motion from Everything blending incorrectly when using layered blend per bone #Jira UE-17815 Change 3080517 on 2016/08/08 by James.Golding PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran) #jira UE-34299, UE-34279 Change 3080512 on 2016/08/08 by Benn.Gallagher Fix for dangling sub-instance pointers when reinstancing on AnimBP compile #jira UE-34137 Change 3080510 on 2016/08/08 by Max.Preussner WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421) #jira UE-32421 Change 3080509 on 2016/08/08 by Robert.Manuszewski Added more detailed message when TArray's BulkSerialize fails. #jira UE-34025 Change 3080506 on 2016/08/08 by Allan.Bentham Do not set render target if there are no modulated shadows. #jira UE-33252 Change 3080498 on 2016/08/08 by Keith.Judge Fix D3D12.x link error. #jira UE-34322 Change 3080493 on 2016/08/08 by Matthew.Griffin Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run. #jira UE-34073 Change 3080490 on 2016/08/08 by Maciej.Mroz #jira UE-28625 Direction of GetOverlapInfos parameter doesn't match Redone cl# 3080484 Change 3080462 on 2016/08/08 by Allan.Bentham Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required. Fix initialisation errors introduced in CL 3070035. #jira UE-34099 Change 3080242 on 2016/08/07 by Max.Chen Sequencer: Fix to allow deleting spawnables from the viewport #jira UE-28523 Change 3080241 on 2016/08/07 by Dmitriy.Dyomin Fixed: StartCameraFade not fading camera when MobileHDR is off #jira UE-34143 Change 3079990 on 2016/08/06 by andrew.porter Changing defaults on some settings on M_Details for test case. #jira UE-29618 Change 3079989 on 2016/08/06 by andrew.porter Setting two sided off on M_Details material #jira UE-29618 Change 3079986 on 2016/08/06 by phillip.patterson Updated QA-Foliage for test case #jira UE-29618 Change 3079984 on 2016/08/06 by andrew.porter Adding test content for using sprites in UMG #jira UE-29618 Change 3079879 on 2016/08/05 by Dmitry.Rekman Remove HITCHHUNTER logspam from release UE (UE-30959). #tests Compiled the UE4Editor. #jira UE-30959 Change 3079815 on 2016/08/05 by Tyler.Cole Set dependencies for Orion MCP in UE4 Release-4.13 stream. #jira NONE-0 Change 3079808 on 2016/08/05 by Daniel.Wright BlueprintRenderToTarget content example map with interactable fluid surface #jira UE-34323 Change 3079746 on 2016/08/05 by Daniel.Wright Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly New blueprint function CreateRenderTarget2D #jira UE-34321 Change 3079569 on 2016/08/05 by Mitchell.Wilson Updating template tutorials after assets were moved to new folders #jira UE-34139 Change 3079546 on 2016/08/05 by Ian.Shadden #UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6 #jira UE-34316 Change 3079542 on 2016/08/05 by Mark.Satterthwaite Duplicate CL #3079503: Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised. #jira UE-33856 Change 3079472 on 2016/08/05 by Peter.Sauerbrei fix for remote server name being empty stopping a build for a BP project in binary fix for several error messages from platform requirements not stopping a build #jira UE-34213 Change 3079453 on 2016/08/05 by Benjamin.Hyder Updating QA_Materials to include Material Details example #jira UE-29618 Change 3079389 on 2016/08/05 by Gareth.Martin Missing file from CL 3079376: Tessellate Landscape only in highest landscape LOD Fix incorrect UV coordinates when tessellation is enabled #jira UE-14253 #jira UE-20405 Change 3079384 on 2016/08/05 by Michael.Trepka PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE) #jira UE-29358 Change 3079376 on 2016/08/05 by Gareth.Martin Tessellate Landscape only in highest landscape LOD Fix incorrect UV coordinates when tessellation is enabled #jira UE-14253 #jira UE-20405 Change 3079365 on 2016/08/05 by Peter.Sauerbrei fix for executable name mismatch in plist vs actual executable when project has an underscore in the name #jira UE-34192 Change 3079361 on 2016/08/05 by Ryan.Vance #jira UE-34297 Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :) Change 3079349 on 2016/08/05 by Mason.Seay Deleting unneeded assets #jira UE-29618 Change 3079306 on 2016/08/05 by Peter.Sauerbrei IPP is now built as a 64-bit executable #jira UE-26393 Change 3079303 on 2016/08/05 by Peter.Sauerbrei PR2018 - disable user input request from ssh courtesy of Teivaz #jira UE-26393 Change 3079276 on 2016/08/05 by mason.seay Extended Line Trace For Convenient #jira UE-29618 Change 3079274 on 2016/08/05 by Alex.Delesky #jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons. Change 3079273 on 2016/08/05 by Max.Chen Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks. #jira UE-34301 Change 3079254 on 2016/08/05 by Ori.Cohen Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping. #JIRA UE-34224 Change 3079242 on 2016/08/05 by Nick.Darnell Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving. #jira UE-34304 Change 3079129 on 2016/08/05 by Jurre.deBaare #jira UE-34278 #fix Changed reimport path to be the same as geometry cache / skeletal mesh Unable to reimport Alembic static meshes #jira UE-34292 #fix Handle cancelled situation during reimport ui interaction Cancelling the reimport of an Alembic file seems to confirm the action #jira UE-34288 #fix Possible fix, flush rendering commands before importing Crash when importing Alembic files as Skeletal Mesh #jira UE-34282 #fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled "Failed to Import" message when clicking Cancel on the Alembic Import Message Change 3079127 on 2016/08/05 by Marc.Audy Properly clean up all worlds when ending PIE while a seamless transition is active #jira UE-33863 Change 3079107 on 2016/08/05 by Mike.Beach Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact). #jira UE-30548 Change 3079093 on 2016/08/05 by Jurre.deBaare Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white #fix Hide the environment and sky when showing vertex colours #jira UE-34251 Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off #fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings #jira UE-34206 Change 3079090 on 2016/08/05 by Jurre.deBaare Bad performance when changing (slider) values for the advanced preview scene #fix Could not repro but added some more check if update needed checks #jira UE-33496 Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting #fix Add the rotational delta for the sky to the directional light rotation #jira UE-34108 Change 3079088 on 2016/08/05 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work #fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing #jira UE-34127 Change 3079040 on 2016/08/05 by Max.Preussner MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290) Also made class properties blueprint read-writable #jira UE-34290 Change 3078958 on 2016/08/05 by Marc.Audy Don't ever reregister child actor components Don't destroy child actors when hiding a level #jira UE-31038 Change 3078954 on 2016/08/05 by ryan.brucks #jira ue-00001 Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL Change 3078952 on 2016/08/05 by Phillip.Kavan [UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser. change summary: - modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop. #jira UE-34085, UE-34169 Change 3078912 on 2016/08/05 by Andrew.Rodham Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified #jira UE-33875 Change 3078900 on 2016/08/05 by Lauren.Ridge Fix for small Vive HMD movements entering VR mode #jira UE-33970 Change 3078880 on 2016/08/05 by Jack.Porter Cannot set GenerateOverlapEvents flag on Landscape #jira UE-9055 Change 3078879 on 2016/08/05 by Lee.Clark PS4 - Fix corrupted debuffer decals (CMask wasn't getting decoded correctly) #jira UE-34273 Change 3078871 on 2016/08/05 by Steve.Robb Fix for changes to UObject*s in property boxes. #jira UE-29596 Change 3078857 on 2016/08/05 by Max.Chen Sequencer: Set Fixed frame interval playback to false by default. #jira UE-34272 Change 3078850 on 2016/08/05 by mason.seay Updated map to test physics mesh, added comments to level BP #jira UE-29618 Change 3078795 on 2016/08/05 by Andrew.Rodham Sequencer: Fixed spawnables not responding to blueprint reinstance events This ultimately left spawnable bindings broken, and an unreachable object in the world #jira UE-31635 Change 3078786 on 2016/08/05 by Robert.Manuszewski Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array. #jira UE-33872 Change 3078782 on 2016/08/05 by Andrew.Rodham Sequencer: Fixes to "Create Camera Here" functionality Fixed crash when undoing the "Create Camera Here" operation. Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly) Fixed issues when the cursor was outside of the play range #jira UE-33127 Change 3078737 on 2016/08/05 by Andrew.Rodham Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety #jira UE-34256 Change 3078722 on 2016/08/05 by Ben.Woodhouse Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481) #jira UE-34269 Change 3078620 on 2016/08/05 by Dmitriy.Dyomin Fixed: SunTemple geometry has rendering artifacts on low end devices [Android_Low] devices will use 'Low' material quality level #jira UE-22455 Change 3078584 on 2016/08/05 by James.Golding Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging) #jira UE-33675 Change 3078565 on 2016/08/05 by Jack.Porter Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer. #jira UE-33842 Change 3078564 on 2016/08/05 by James.Golding Fix display name for bSupportUVFromHitResults to fix missingspace #jira UE-34248 Change 3078542 on 2016/08/05 by Yannick.Lange VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked. #jira UE-32839 Change 3078541 on 2016/08/05 by Yannick.Lange VR Editor : Fix linux compile error from VREditorAvatarActor #jira UE-34215 Change 3078396 on 2016/08/04 by Max.Chen Sequencer: Invalidate playback context when map changes. #jira UE-34256 Change 3078291 on 2016/08/04 by Jeff.Campeau RHI compress/decompress return success/failure Failure falls back to software method D3D12 for Xbox One still needs implementation #jira UE-31363 Change 3078131 on 2016/08/04 by Chris.Babcock Deal with missing Android movie framerate by defaulting to 30 if not available #jira UE-34208 #ue4 #android Change 3078084 on 2016/08/04 by John.Billon Disabled AMD hacks Cvars that aren't needed anymore. #Jira UE-30772 Change 3078083 on 2016/08/04 by John.Billon Consolidated ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets. Added a couple of more ensures when allocating render targets. Added log message when changing feature levels. #Jira UE-32536 #Jira UE-32204 Change 3078039 on 2016/08/04 by Josh.Adams - Fixed a case issue with Linux #jira UE-33478 Change 3078029 on 2016/08/04 by Ryan.Vance #jira UE-30989 We need to disable the hmd mask when down sampling to ensure valid input data for blur passes. Change 3078027 on 2016/08/04 by Lina.Halper Fix sequencer morphtarget displaying issue #code review:Max.Chen #jira: UE-28459 Change 3078012 on 2016/08/04 by mason.seay map and asset updates for testing UV hit detection #jira UE-29618 Change 3078009 on 2016/08/04 by Jamie.Dale Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading This prevents it being incorrectly set by other operations, such as counting memory used by font data. #jira UE-34252 Change 3078006 on 2016/08/04 by Mark.Satterthwaite Duplicate CL #3064008 & CL #3077412: Fix "iOS Metal-based build crashes at launch with sub-levels": - Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything. - To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects. - Fix validation error of texture reallocation on loading template projects under Metal. #jira UE-30847 Change 3078002 on 2016/08/04 by John.Billon Fixed LowLightMapQuality warning triggering with wrong conditions. #Jira UE-33237 Change 3078001 on 2016/08/04 by John.Billon Fixed a crash due to particle threading issues in packaged game. #Jira UE-32147 Change 3077989 on 2016/08/04 by Rolando.Caloca UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts. #jira UE-34218 Change 3077940 on 2016/08/04 by Jeff.Campeau Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir) Include copies of the VS2015 runtime and UCRT Change -applocaldir parameter to -applocaldirectory Stage to engine and project binaries paths (for crash reporter, etc.) #jira UE-33903 Change 3077936 on 2016/08/04 by Daniel.Wright DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject #jira UE-34183 Change 3077927 on 2016/08/04 by Lina.Halper Fix issue with morphtarget not working due to invalid guid #jira: UE-34077 Change 3077919 on 2016/08/04 by Daniel.Wright Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them #jira UE-34245 Change 3077877 on 2016/08/04 by Ori.Cohen Fix physical animation undo/redo not affecting linked bodies and constraints #JIRA UE-33987 Change 3077823 on 2016/08/04 by Ori.Cohen Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt) #JIRA UE-33985 Change 3077814 on 2016/08/04 by Uriel.Doyon Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all" #jira UE-34120 #review-3077812 Change 3077781 on 2016/08/04 by Max.Chen Sequencer: Fix crash in rotation key struct #jira UE-34155 Change 3077771 on 2016/08/04 by Lina.Halper Added const and removed auto #jira: UE-33023 Change 3077702 on 2016/08/04 by Daniel.Wright Copy - Planar reflection show flags can now be edited #jira UE-34229 Change 3077585 on 2016/08/04 by Ori.Cohen Fix spam when moving simulated skeletal mesh in the editor. #JIRA UE-34164 Change 3077532 on 2016/08/04 by Tom.Looman Fixed error in description of VR Template. #jira ue-33950 Change 3077517 on 2016/08/04 by Tom.Looman Fixed parsing error for FP_VirtualRealityBP #jira UE-34059 Change 3077493 on 2016/08/04 by Tom.Looman Updated Template description to remove GearVR reference and include more clear message on the two available maps. #jira UE-33950 Change 3077492 on 2016/08/04 by Tom.Looman Improvements to VR Template Fixed teleportation issue on both locomotion types (JIRA) Rebuilt navmesh for motioncontrollermap Added new WIP startermap to clarify the difference between the multiple levels. Added more comments and did some cleanup in BPs. #jira UE-33962 Change 3077491 on 2016/08/04 by Jurre.deBaare Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance #fix Pass in complete path to save material to instead of just the name #jira UE-34211 Change 3077481 on 2016/08/04 by Tom.Looman Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config) #jira ue-34143 Change 3077463 on 2016/08/04 by Ben.Woodhouse Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off. #jira UE-32843 Change 3077432 on 2016/08/04 by Steve.Robb Removal of Fortnite-specific setting which disables hot reload. #jira UE-33261 Change 3077380 on 2016/08/04 by Keith.Judge Fix for green reflection environment in some maps. - Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present() - Fixed a validation error when locking cube map faces which was causing them not to be updated. - Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error). - Added a GPU/CPU sync at the same point the PS4 code does. #jira UE-32086 Change 3077336 on 2016/08/04 by Mitchell.Wilson removed r.Streaming.PoolSize from DefaultEngine.ini Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning. #jira UE-30941 Change 3077275 on 2016/08/04 by Phillip.Kavan [UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop. #jira UE-29903 Change 3077119 on 2016/08/04 by Marc.Audy Use TickType All when in PIE #jira UE-18982 Change 3077108 on 2016/08/04 by Jon.Nabozny Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null. This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing. #jira UE-34032 Change 3077073 on 2016/08/04 by Jurre.deBaare bBlendOverlappingNormals does not seem to have an impact for Alembic importing #fix this wasn't being used in the normal calculation anymore so redundant #jira UE-34204 Change 3077059 on 2016/08/04 by Robert.Manuszewski Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split). #jira UE-34200 Change 3077024 on 2016/08/04 by Thomas.Sarkanen Added GetResourceSize to UDataAsset Data assets now correctly report their size. #jira UE-28851 - Fix mem reporting of DataTables Change 3077001 on 2016/08/04 by Andrew.Rodham Sequencer: Fixed sequencer adding spawnables into recorded worlds twice The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world. Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded. #jira UE-31422 Change 3076995 on 2016/08/04 by Matthew.Griffin Fixed Shadow Variable warning Change 3076974 on 2016/08/04 by Matthew.Griffin Added Node to build CrashReportClient for Linux that can be used by internal game targets Change 3076820 on 2016/08/04 by Max.Chen Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist). #jira UE-34199 Change 3076665 on 2016/08/03 by Dan.Oconnor Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false #jira UE-18982 Change 3076569 on 2016/08/03 by Chad.Taylor SteamVR GetOrthoProjection implementation to fix broken console rendering in VR #jira UE-21424 Change 3076556 on 2016/08/03 by Aaron.McLeran #jira UE-34154 PSVR Stereo assets are spatialized as MONO - All audio was routing through A3D lib regardless of if it was mono/stereo etc. - Fix is to only route audio that is mono and spatialized - Fixed some compile errors/shadow variables - Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library Change 3076546 on 2016/08/03 by Aaron.McLeran #jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves Implementing 3069092 in Release-4.13 - Not all active sounds have sound classes, was causing a crash #tests Run game with stat soundcues and not crash Change 3076512 on 2016/08/03 by Ben.Marsh Fix warning about UnrealTournament:true argument. Change 3076492 on 2016/08/03 by Daniel.Wright Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game. Blutilities can be used to do blueprint rendering in the editor. #jira UE-34177 Change 3076491 on 2016/08/03 by Daniel.Wright Marked the Forward Shading project setting as experimental for 4.13 #jira UE-34176 Change 3076490 on 2016/08/03 by Daniel.Wright Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible #jira UE-34175 Change 3076489 on 2016/08/03 by Daniel.Wright Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0 #jira UE-34174 Change 3076485 on 2016/08/03 by Daniel.Wright Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413 #jira UE-34173 Change 3076440 on 2016/08/03 by Ryan.Vance #jira UE-34184 Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk. Adding Oculus 1.6 support. Change 3076399 on 2016/08/03 by Nick.Darnell Slate - The LayoutCache pointer in SWidget is now a WeakPtr. This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels. Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior. #jira UE-34185 Change 3076397 on 2016/08/03 by Rolando.Caloca UE4.13 - hlslcc -Fix for hlsl length(float) #jira UE-32629 Change 3076337 on 2016/08/03 by mason.seay Test assets (and map for ensure bug) #jira UE-29618 Change 3076332 on 2016/08/03 by Peter.Sauerbrei fix for clang build errors #jira UE-34163 Change 3076326 on 2016/08/03 by Ryan.Vance #jira UE-32975 Using the wrong screen position in the base pass pixel shader with ISR. Change 3076309 on 2016/08/03 by Benjamin.Hyder Renaming TEST-LightingFeatures to TM-LightingFeatures #jira UE-29618 Change 3076299 on 2016/08/03 by Chad.Taylor Fix SteamVR lag in late-update fold child renderables. #jira UE-33928 Change 3076214 on 2016/08/03 by Mitchell.Wilson Resaving BluperintOffice level to resolve MikkTSpace warnings. Reimporting SM_GodRay_Plane to resolve cook warning. #jira UE-30064 Change 3076112 on 2016/08/03 by Max.Chen Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions) #jira UE-34167 Change 3076090 on 2016/08/03 by Marc.Audy Fix Mac compile error #jira UE-34163 Change 3076075 on 2016/08/03 by Jeremiah.Waldron Fixing comments documenting attribute in deleteFiles node for UPL #jira UE-34161 Change 3076034 on 2016/08/03 by Mitchell.Wilson Resaving Strategy Game maps to resolve MikkTSpace warnings. Resaving material in strategy game to resolve string asset reference warning. #jira UE-29720 Change 3076003 on 2016/08/03 by Mitchell.Wilson Resaving Elemental Demo levels to resolve MikkTSpace warnings. Resaving multiple materials to resolve String asset reference warnings. #jira UE-29679 Change 3075985 on 2016/08/03 by Jeremiah.Waldron Fixing UPL comments misnaming the deleteFiles node #jira UE-34161 Change 3075977 on 2016/08/03 by Maciej.Mroz #jira UE-30473 Moving child component in child blueprint forces parent to become dirty Duplicated from Dev-Blueprints CL 3075793 Change 3075959 on 2016/08/03 by Marc.Audy Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639) #jira UE-33921 Change 3075891 on 2016/08/03 by Chad.Taylor SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline. #jira UE-34142 Change 3075882 on 2016/08/03 by Dan.Oconnor Manually integrating 3073939 to address UE-19062 #jira UE-19062 Change 3075805 on 2016/08/03 by Marc.Audy Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803 #jira UE-18982 Change 3075803 on 2016/08/03 by Marc.Audy Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked #jira UE-18982 Change 3075761 on 2016/08/03 by Max.Preussner MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152) #jira UE-34152 Change 3075719 on 2016/08/03 by Chad.Taylor Blocker fix for binary editor crash on incorrectly used dll #jira UE-34142 Change 3075709 on 2016/08/03 by Jeremiah.Waldron Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor #android #jira UE-34149 Change 3075695 on 2016/08/03 by Jurre.deBaare Adding missing debug zlib dll #jira UE-123 Change 3075641 on 2016/08/03 by Jurre.deBaare Crash when re-importing alembic cache file several times #fix Always create a new object when importing #jira UE-34130 Change 3075609 on 2016/08/03 by Danny.Bouimad #jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does. Change 3075578 on 2016/08/03 by Mitchell.Wilson Updating attenuation settings for multiple sounds in Strategy Game. #jira UE-25828 Change 3075529 on 2016/08/03 by Trung.Le VREditor: Fxied foliage lasso select without pressing trigger #jira UE-33689 Change 3075502 on 2016/08/03 by Lee.Clark Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates. #jira UE-28549 Change 3075386 on 2016/08/03 by Robert.Manuszewski Fixing bulkdata using source data pointer as an archive instead of raw data when saving #jira UE-34132 Change 3075384 on 2016/08/03 by mason.seay AnimBP for crash bug #jira UE-29618 Change 3075350 on 2016/08/03 by Max.Chen Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections. #jira UE-30506 Change 3075327 on 2016/08/03 by Max.Chen Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport. #jira UE-34093 Change 3075313 on 2016/08/03 by Matthew.Griffin Tidied up hardcoded installed build includes so that they're all in one file with platform checks Added .dll.config files to CsCompile build products if they exist Change 3075133 on 2016/08/03 by Yannick.Lange VREditor : Original submit in Dev-VREditor = 3064489 - Fix crash when starting VREditor and then changing levels #jira UE-33766 Change 3075124 on 2016/08/03 by Thomas.Sarkanen Fixed undo/redo crash when editing anim blueprint defaults Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo. #jira UE-34024 - Crash undoing variable change in Animation Blueprint. Change 3075101 on 2016/08/03 by Matthew.Griffin Adding job to selectively build games in release branch Also adding documentation and localization to overnight build #jira UEB-688 Change 3075061 on 2016/08/03 by Yannick.Lange VR Editor : Original submit in Dev-VREditor = 3062883 - Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552 - Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509 - Fixed crash when enabling VR Editor in editor preferences without a HMD connected - Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553 - Avatar code refactor to its own actor class #jira UETOOL-812 #jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812 Change 3075059 on 2016/08/03 by Allan.Bentham Fall back to standard shadows when capsule shadows are not supported. #jira UE-33344 Change 3075045 on 2016/08/03 by Matthew.Griffin Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step Change 3074693 on 2016/08/02 by Dan.Oconnor Manually integrating 3070569 from Dev-Blueprints #jira UE-34119 Change 3074672 on 2016/08/02 by Dan.Oconnor Manually integrating 3061854 into 4.13 from Dev-Blueprints #jira UE-34119 Change 3074646 on 2016/08/02 by Aaron.McLeran #jira UE-34081 Implementing from Dev-Framework CL 3074325 Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback - Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue). - Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread. - Implementing 3003851 from UT into Dev-Framework. Change 3074630 on 2016/08/02 by Brent.Pease UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16 UE-33200 - A movie isn't played on iOS occasionally. UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows + Give a more friendly error message when UHT fails with an invalid error code. #jira UE-23846 #jira UE-33200 #jira UE-32397 Change 3074590 on 2016/08/02 by Rolando.Caloca UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled). #jira UE-33694 Change 3074588 on 2016/08/02 by Chad.Taylor Update OpenVR SDK to v1.0.2 -Hooked up added aspect ratio and sort priority features to SteamVR stereo layers #jira UE-34115 Change 3074481 on 2016/08/02 by Ori.Cohen Make sure that new physical animation data defaults to 0 #JIRA UE-33678 Change 3074395 on 2016/08/02 by Ori.Cohen Fix duplication of physical animation profiles not duplicating data. Also fix undo redo not working for profiles. Fix editor not passing Duplicate change type #JIRA UE-33987, UE-33985 Change 3074392 on 2016/08/02 by Alex.Delesky #jira UE-32396 - Reverting CL 3074177, since it introduced side-effects. Change 3074364 on 2016/08/02 by phillip.patterson Re-created UMG_Optimization for Test Cases #jira UE-29618 Change 3074346 on 2016/08/02 by Jurre.deBaare Potential DDC warning fix, remove non-existing values #jira UE-123 Change 3074289 on 2016/08/02 by Jeff.Fisher UEVR-13 PSVR: TCR Requirement Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed. -When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue. After reconnection reprojection would be lagged by 12+ seconds. After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag. #jira UEVR-13 #review-3074209 @chad.taylor @nick.whiting Change 3074196 on 2016/08/02 by Martin.Wilson Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints) #jira UE-23453 Change 3074177 on 2016/08/02 by Alex.Delesky #jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint. Change 3074157 on 2016/08/02 by Ben.Marsh Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff. Change 3074132 on 2016/08/02 by Trung.Le VREditor: Fixed brush preview present while in foliage mode and hovering at UI #jira UE-33228 Change 3074131 on 2016/08/02 by Tom.Looman Fix for scalability build warnings in VR Template #jira ue-33325 Change 3074089 on 2016/08/02 by Kevin.Rushin QAGame - Added Foliage to TestMap #jira UE-29618 Change 3074067 on 2016/08/02 by Kevin.Rushin QAGame- Rebuilt Lighting #jira UE-29618 Change 3074063 on 2016/08/02 by Kevin.Rushin QAGame - Fix up VREditor Map to have more asset variation #jira UE-29618 Change 3074057 on 2016/08/02 by Andrew.Porter Deleting - UMG_Optimization #jira UE-29618 Change 3074040 on 2016/08/02 by Michael.Trepka On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized. #jira UE-31194 Change 3074008 on 2016/08/02 by Phillip.Patterson Renamed UMG_Invalidation to UMG_Optimization to better match test #jira UE-29618 Change 3073988 on 2016/08/02 by Mitchell.Wilson Updating starting camera location for Paper2d template to be consistant on both BP and Code version. #jira UE-32723 Change 3073966 on 2016/08/02 by Jurre.deBaare Alembic Cache Importer option for propagating matrix transformation does not work #fix Changed the flag combinations and overhauled the matrix retrieval/caching system #misc typo fix #jira UE-34066 Change 3073953 on 2016/08/02 by Lina.Halper Fixed static warning on null reference #jira: UE-33923 Change 3073951 on 2016/08/02 by Lina.Halper Fix GetRelativeTransform for negative scale #jira: UE-33380 Change 3073896 on 2016/08/02 by Alex.Delesky #jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor. #jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool Change 3073804 on 2016/08/02 by Jamie.Dale Fixed the detail panel trying to apply class customizations to structs This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor). #jira UE-32623 Change 3073803 on 2016/08/02 by Jurre.deBaare Morph target vertex mapping can be wrong with multi material caches #fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly #jira UE-34074 Change 3073788 on 2016/08/02 by Andrew.Rodham Sequencer: Added support for montage based animation CL#3061714 : Sequencer: Fixed anim trails not playing in full, sequencer-driven animation. There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly. CL#3063015 : Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback. CL#3068399 : Sequencer: Changed animation tracks to allow more animation types (such as anim montages) - APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility #jira UE-34046 Change 3073787 on 2016/08/02 by Jurre.deBaare Handle failed Simplygon proxy mesh generation with error message instead of hard checks #fix Added a failed delegate along side the succesful delegate #jira UE-31990 Change 3073786 on 2016/08/02 by Jurre.deBaare Alembic importer crashes when not assets are generated #fix Prevented adding nullptr values to the array (now only contains valid entries) #jira UE-34065 Change 3073777 on 2016/08/02 by Jurre.deBaare User is able to give a Preview Scene Profile the same name as an existing profile #fix check changed profile name and append _duplicatedname if found to be matching an existing profile name #jira UE-34033 Change 3073775 on 2016/08/02 by Mitchell.Wilson Updating VehicleExampleMap for BP and Code templates to have consistant starting locations #jira UE-31281 Change 3073732 on 2016/08/02 by Rolando.Caloca DR - Fix crash when enabling gpu morph targets on non SM5 platforms #jira UE-34011 Change 3073706 on 2016/08/02 by Peter.Sauerbrei fix for no tvOS libraries in binary release for Win64 #jira UE-34076 Change 3073671 on 2016/08/02 by Allan.Bentham High quality mobile reflection captures are now blended in correct (linear) space. #jira UE-33915 Change 3073663 on 2016/08/02 by Peter.Sauerbrei fix for launch on failing for iOS in Binary #jira UE-34014 Change 3073662 on 2016/08/02 by Lee.Clark 4.13 - PS4 - Fix Media Player Audio cutting out #jira UE-33850 Change 3073616 on 2016/08/02 by Mark.Satterthwaite Duplicate CL #3073584 from Dev-Platform: Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture. #jira UE-32323 Change 3073592 on 2016/08/02 by Max.Chen Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state. #jira UE-33993 Change 3073585 on 2016/08/02 by Nick.Darnell Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures. #jira UE-34075 Change 3073575 on 2016/08/02 by Richard.TalbotWatkin Duplicating from Dev-Editor, CL 3057645 Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions. #jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server Change 3073542 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3072169. A couple of changes to the BSP code: * Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode. * Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices. #jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used #jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume Change 3073540 on 2016/08/02 by Matthew.Griffin Added Package Samples script behind a trigger to package samples for QA Removed submitter notifications from Launcher Samples nodes Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs #jira UEB-689 Change 3073511 on 2016/08/02 by Tom.Looman Removed object redirectors to fix build warning in VR Template #jira ue-33325 Change 3073458 on 2016/08/02 by Jurre.deBaare Update default preview scene ini and assets #fix deleted old sky texture and fixed BaseEditor.ini setup #jira UE-34063 Change 3073427 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3068585 Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX. #jira UE-34062 - SplineMesh collision can be generated incorrectly Change 3073421 on 2016/08/02 by James.Golding Resave PSD test assets in QAGame with proper version #jira UE-34061 Change 3073419 on 2016/08/02 by James.Golding Rename OrientationDriver to PoseDriver #jira UE-34015 Change 3073404 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor, CL 3057895 Mesh paint bugfixes and improvements. Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed. This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list. #jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab #jira UE-32279 - Editor crashes when reselecting a mesh in paint mode #jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75] #jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting Change 3073380 on 2016/08/02 by Richard.TalbotWatkin Fixed build error in unity builds. #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point #jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level) #jira UE-13082 - Users would like a snapping feature for splines #jira UE-13568 - Additional Spline Component Functionality #jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport. Change 3073343 on 2016/08/02 by Matthew.Griffin Whitelisting PS4 and XboxOne plugins for those platforms specifically #jira UE-33866 Change 3073338 on 2016/08/02 by Ben.Marsh When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins. Change 3073319 on 2016/08/02 by Maciej.Mroz #jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860 Manually integrated some fixes from Dev-Blueprints Change 3073311 on 2016/08/02 by Richard.TalbotWatkin Duplicated from Dev-Editor CL 3057868 Spline component improvements, both tools and runtime: - SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value. - The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding. - Added a custom version for SplineComponent and provded serialization fixes. - Added a details customization to SplineComponent to hide the raw FInterpCurve properties. - Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer. - Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending. - Allowed an explicit loop point to be specified for closed splines. - Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal. - Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key. - Fixed the logic which determines whether the UCS has modified the spline curves. - Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS. - Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype. - Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled. #jira UETOOL-766 - Spline tool improvements #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point #jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level) #jira UE-13082 - Users would like a snapping feature for splines #jira UE-13568 - Additional Spline Component Functionality #jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport. #jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport #jira UE-33669 - Crash in Dev-Editor Change 3073242 on 2016/08/02 by James.Golding Move physics state create/destroy delegates from BodyInstance to ActorComponent - Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected. - Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate. #jira UE-32768 Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 [CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
UE_LOG(TextureStreamingBuild, Verbose, TEXT("Incomplete texcoord scale analysis for %s, UMaterial=%s%s: %s"), *CurrentMaterial->GetName(), *CurrentMaterial->GetMaterial()->GetName(), *SimilarCount, *TextureErrors);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3054480) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3045482 on 2016/07/11 by Zabir.Hoque DX12 Quries need to individually track their syncpoints. Only when resolving a query on the same frame should be stall. Change 3045929 on 2016/07/12 by Simon.Tovey Removing some deprecated node types from Niagara Change 3045951 on 2016/07/12 by Ben.Woodhouse D3D11 Log detailed live device info on shutdown if the debug layer is enabled (including resource types) Change 3046019 on 2016/07/12 by Chris.Bunner Fixed typo in material input name. #jira UE-5575 Change 3046053 on 2016/07/12 by Rolando.Caloca DR - Fix GL4 shutdown #jira UE-32799 Change 3046055 on 2016/07/12 by Rolando.Caloca DR - vk - Fix NumInstances=0 Change 3046063 on 2016/07/12 by Rolando.Caloca DR - vk - Added flat to uint layouts per glslang - Fix bad extension on dumped shaders Change 3046067 on 2016/07/12 by Rolando.Caloca DR - vk - Fix check when not using color RT - Added queue submit & present counters Change 3046088 on 2016/07/12 by Ben.Woodhouse Live GPU stats A non-hierarchical realtime high level GPU profiler with support for cumulative stat recording. Stats are added with SCOPED_GPU_STAT macros, e.g. SCOPED_GPU_STAT(RHICmdList, Stat_GPU_Distortion) The bulk of the files in this change are simply instrumentation for the renderer. The core changes are in SceneUtils.cpp/h and D3D11Query.cpp (this is the XB1/DX11X implementation of timestamp RHI queries, which was missing) Note: this is currently disabled by default. Enable with the cvar r.gpustatsenabled Tested on PC, XB1, PS4 Change 3046128 on 2016/07/12 by Olaf.Piesche Max draw distance and fade range for lights, requested by JonL Change 3046183 on 2016/07/12 by Ben.Woodhouse PR #2532: Fix SSAO being applied in unlit viewmode (Contributed by nick-penwarden) Change 3046223 on 2016/07/12 by Luke.Thatcher Fix Scene Cube Captures. SceneCaptureSource flag on the ViewFamily was not set for cube components. #jira UE-32345 Change 3046228 on 2016/07/12 by Marc.Olano Add Voronoi noise to Noise material node. Four versions with differing speed/quality levels accessed through the Quality value in the material node. Tooltips give estimates of the cost of each. Also includes spiffy new Rand3DPCG16 and Rand3DPCG32 int3 to int3 hash functions, and a 20% improvement on the computed gradient noise. Change 3046269 on 2016/07/12 by Rolando.Caloca DR - Skip flush on RHIDiscardRenderTargets and only use it on platforms that need it (ie OpenGL) Change 3046294 on 2016/07/12 by Rolando.Caloca DR - Fix static analyisis warning C6326: Potential comparison of a constant with another constant. Change 3046295 on 2016/07/12 by Rolando.Caloca DR - Fix the previous fix Change 3046731 on 2016/07/12 by Marc.Olano Fix typo in shader random number constant: repeated extra digit made it too big. Change 3046796 on 2016/07/12 by Uriel.Doyon The texture streaming manager now keeps a set of all valid textures. This is used to prevent from indirecting deleted memory upon SetTexturesRemovedTimestamp. #jira UE-33048 Change 3046800 on 2016/07/12 by Rolando.Caloca DR - vk - Added create image & renderpass dump Change 3046845 on 2016/07/12 by John.Billon Forgot to apply MaxGPUSkinBones Cvar access changes in a few locations. Change 3047023 on 2016/07/12 by Olaf.Piesche Niagara: -a bit of cleanup -now store and double buffer attributes individually, eliminating unnecessary copy of unused attributes -removed FNiagaraConstantMap, replaced with an instance of FNiagaraConstants -some code simplification -removed some deprecated structs and code used only by old content Change 3047052 on 2016/07/12 by Zabir.Hoque Unshelved from pending changelist '3044062': PR #2588: Adding blend mode BLEND_AlphaComposite (4.12) (Contributed by moritz-wundke) Change 3047727 on 2016/07/13 by Luke.Thatcher Fix Scene Capture Components only updating every other frame. #jira UE-32581 Change 3047919 on 2016/07/13 by Olaf.Piesche CMask decode, use in deferred decals, for PS4 Change 3047921 on 2016/07/13 by Uriel.Doyon "Build Texture Streaming" will now remove duplicate error msg when computing texcoord scales. Also, several texture messages are packed on the same line if they relate to the same material. Change 3047952 on 2016/07/13 by Rolando.Caloca DR - vk - Initial prep pass for separating combined images & samplers Change 3048648 on 2016/07/13 by Marcus.Wassmer Fix rare GPU hang when asynctexture reallocs would overlap with EndFrame Change 3049058 on 2016/07/13 by Rolando.Caloca DR - vk - timestamps Change 3049725 on 2016/07/14 by Marcus.Wassmer Fix autosdk bug where not having a platform directory sync'd at all would break manual SDK detection Change 3049742 on 2016/07/14 by Rolando.Caloca DR - Fix warning Change 3049902 on 2016/07/14 by Rolando.Caloca DR - Fix typo Change 3050345 on 2016/07/14 by Olaf.Piesche UE-23925 Clamping noise tessellation for beams at a high but sensible value; also making sure during beam index buffer building that we never get over 2^16 indices; this is a bit hokey, but there are so many variables that can influence triangle/index count, that this is the only way to be sure (short of nuking the entire site from orbit). Change 3050409 on 2016/07/14 by Olaf.Piesche Replicating 3049049; missing break and check for active particles when resolving a source point to avoid a potential crash Change 3050809 on 2016/07/14 by Rolando.Caloca DR - vk - Remove redundant validation layers Change 3051319 on 2016/07/15 by Ben.Woodhouse Fix for world space camera position not being exposed in decal pixel shaders; also fixes decal lighting missing spec and reflection The fix was to calculate ResolvedView at the top of the shader. Previously this was not initialized #jira UE-31976 Change 3051692 on 2016/07/15 by Rolando.Caloca DR - vk - Enable RHI thread by default Change 3052103 on 2016/07/15 by Uriel.Doyon Disabled depth offset in depth only pixel shaders when using debug view shaders (to prevent Z fighting). #jira UE-32765 Change 3052140 on 2016/07/15 by Rolando.Caloca DR - vk - Fix shader snafu Change 3052495 on 2016/07/15 by Rolando.Caloca DR - Fix for Win32 compile #jira UE-33349 Change 3052536 on 2016/07/15 by Uriel.Doyon Fixed texture streaming overbudget warning when using per texture bias. [CL 3054554 by Gil Gribb in Main branch]
2016-07-18 17:17:08 -04:00
}
}
// Exit
if (!It)
{
break;
}
// Start new
CurrentMaterial = It->Value[0].Material;
MaxInstanceCount = It->Value.Num();
TextureErrors.Empty();
}
else
{
// Append
MaxInstanceCount = FMath::Max<int32>(MaxInstanceCount, It->Value.Num());
}
const TCHAR* ErrorMsg = TEXT("Unkown Error");
if (It->Key.ErrorType == EET_IncohorentValues)
{
ErrorMsg = TEXT("Incoherent");
}
else if (It->Key.ErrorType == EET_NoValues)
{
ErrorMsg = TEXT("NoValues");
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
TextureErrors.Append(FString::Printf(TEXT("(%s:%d,%s) "), ErrorMsg, It->Key.RegisterIndex, *It->Value[0].TextureName.ToString()));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3054480) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3045482 on 2016/07/11 by Zabir.Hoque DX12 Quries need to individually track their syncpoints. Only when resolving a query on the same frame should be stall. Change 3045929 on 2016/07/12 by Simon.Tovey Removing some deprecated node types from Niagara Change 3045951 on 2016/07/12 by Ben.Woodhouse D3D11 Log detailed live device info on shutdown if the debug layer is enabled (including resource types) Change 3046019 on 2016/07/12 by Chris.Bunner Fixed typo in material input name. #jira UE-5575 Change 3046053 on 2016/07/12 by Rolando.Caloca DR - Fix GL4 shutdown #jira UE-32799 Change 3046055 on 2016/07/12 by Rolando.Caloca DR - vk - Fix NumInstances=0 Change 3046063 on 2016/07/12 by Rolando.Caloca DR - vk - Added flat to uint layouts per glslang - Fix bad extension on dumped shaders Change 3046067 on 2016/07/12 by Rolando.Caloca DR - vk - Fix check when not using color RT - Added queue submit & present counters Change 3046088 on 2016/07/12 by Ben.Woodhouse Live GPU stats A non-hierarchical realtime high level GPU profiler with support for cumulative stat recording. Stats are added with SCOPED_GPU_STAT macros, e.g. SCOPED_GPU_STAT(RHICmdList, Stat_GPU_Distortion) The bulk of the files in this change are simply instrumentation for the renderer. The core changes are in SceneUtils.cpp/h and D3D11Query.cpp (this is the XB1/DX11X implementation of timestamp RHI queries, which was missing) Note: this is currently disabled by default. Enable with the cvar r.gpustatsenabled Tested on PC, XB1, PS4 Change 3046128 on 2016/07/12 by Olaf.Piesche Max draw distance and fade range for lights, requested by JonL Change 3046183 on 2016/07/12 by Ben.Woodhouse PR #2532: Fix SSAO being applied in unlit viewmode (Contributed by nick-penwarden) Change 3046223 on 2016/07/12 by Luke.Thatcher Fix Scene Cube Captures. SceneCaptureSource flag on the ViewFamily was not set for cube components. #jira UE-32345 Change 3046228 on 2016/07/12 by Marc.Olano Add Voronoi noise to Noise material node. Four versions with differing speed/quality levels accessed through the Quality value in the material node. Tooltips give estimates of the cost of each. Also includes spiffy new Rand3DPCG16 and Rand3DPCG32 int3 to int3 hash functions, and a 20% improvement on the computed gradient noise. Change 3046269 on 2016/07/12 by Rolando.Caloca DR - Skip flush on RHIDiscardRenderTargets and only use it on platforms that need it (ie OpenGL) Change 3046294 on 2016/07/12 by Rolando.Caloca DR - Fix static analyisis warning C6326: Potential comparison of a constant with another constant. Change 3046295 on 2016/07/12 by Rolando.Caloca DR - Fix the previous fix Change 3046731 on 2016/07/12 by Marc.Olano Fix typo in shader random number constant: repeated extra digit made it too big. Change 3046796 on 2016/07/12 by Uriel.Doyon The texture streaming manager now keeps a set of all valid textures. This is used to prevent from indirecting deleted memory upon SetTexturesRemovedTimestamp. #jira UE-33048 Change 3046800 on 2016/07/12 by Rolando.Caloca DR - vk - Added create image & renderpass dump Change 3046845 on 2016/07/12 by John.Billon Forgot to apply MaxGPUSkinBones Cvar access changes in a few locations. Change 3047023 on 2016/07/12 by Olaf.Piesche Niagara: -a bit of cleanup -now store and double buffer attributes individually, eliminating unnecessary copy of unused attributes -removed FNiagaraConstantMap, replaced with an instance of FNiagaraConstants -some code simplification -removed some deprecated structs and code used only by old content Change 3047052 on 2016/07/12 by Zabir.Hoque Unshelved from pending changelist '3044062': PR #2588: Adding blend mode BLEND_AlphaComposite (4.12) (Contributed by moritz-wundke) Change 3047727 on 2016/07/13 by Luke.Thatcher Fix Scene Capture Components only updating every other frame. #jira UE-32581 Change 3047919 on 2016/07/13 by Olaf.Piesche CMask decode, use in deferred decals, for PS4 Change 3047921 on 2016/07/13 by Uriel.Doyon "Build Texture Streaming" will now remove duplicate error msg when computing texcoord scales. Also, several texture messages are packed on the same line if they relate to the same material. Change 3047952 on 2016/07/13 by Rolando.Caloca DR - vk - Initial prep pass for separating combined images & samplers Change 3048648 on 2016/07/13 by Marcus.Wassmer Fix rare GPU hang when asynctexture reallocs would overlap with EndFrame Change 3049058 on 2016/07/13 by Rolando.Caloca DR - vk - timestamps Change 3049725 on 2016/07/14 by Marcus.Wassmer Fix autosdk bug where not having a platform directory sync'd at all would break manual SDK detection Change 3049742 on 2016/07/14 by Rolando.Caloca DR - Fix warning Change 3049902 on 2016/07/14 by Rolando.Caloca DR - Fix typo Change 3050345 on 2016/07/14 by Olaf.Piesche UE-23925 Clamping noise tessellation for beams at a high but sensible value; also making sure during beam index buffer building that we never get over 2^16 indices; this is a bit hokey, but there are so many variables that can influence triangle/index count, that this is the only way to be sure (short of nuking the entire site from orbit). Change 3050409 on 2016/07/14 by Olaf.Piesche Replicating 3049049; missing break and check for active particles when resolving a source point to avoid a potential crash Change 3050809 on 2016/07/14 by Rolando.Caloca DR - vk - Remove redundant validation layers Change 3051319 on 2016/07/15 by Ben.Woodhouse Fix for world space camera position not being exposed in decal pixel shaders; also fixes decal lighting missing spec and reflection The fix was to calculate ResolvedView at the top of the shader. Previously this was not initialized #jira UE-31976 Change 3051692 on 2016/07/15 by Rolando.Caloca DR - vk - Enable RHI thread by default Change 3052103 on 2016/07/15 by Uriel.Doyon Disabled depth offset in depth only pixel shaders when using debug view shaders (to prevent Z fighting). #jira UE-32765 Change 3052140 on 2016/07/15 by Rolando.Caloca DR - vk - Fix shader snafu Change 3052495 on 2016/07/15 by Rolando.Caloca DR - Fix for Win32 compile #jira UE-33349 Change 3052536 on 2016/07/15 by Uriel.Doyon Fixed texture streaming overbudget warning when using per texture bias. [CL 3054554 by Gil Gribb in Main branch]
2016-07-18 17:17:08 -04:00
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
bool FMaterialUtilities::ExportMaterialUVDensities(UMaterialInterface* InMaterial, EMaterialQualityLevel::Type QualityLevel, ERHIFeatureLevel::Type FeatureLevel, FExportErrorManager& OutErrors)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
check(InMaterial);
// Clear the build data.
TArray<FMaterialTextureInfo> TextureStreamingData;
InMaterial->SetTextureStreamingData(TextureStreamingData);
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
TArray<FFloat16Color> RenderedVectors;
TArray<UTexture*> Textures;
TArray< TArray<int32> > Indices;
InMaterial->GetUsedTexturesAndIndices(Textures, Indices, QualityLevel, FeatureLevel);
Async Texture Compilation - Feature can be activated in the Experimental section of the Editor Settings - Replace Texture2D/TextureCube resources by placeholders until their PlatformData is ready - Add a utility class allowing to encapsulate raw field pointers without breaking compatibility - Protect PlatformData from unsafe access through encapsulation. - Protect texture's resource from race conditions between game and render threads through encapsulation. - This allows to get rid of FlushRenderingCommands and long game-thread stutters when Updating a texture's resource. - UpdateResource was never safe to call without a FlushRenderingCommands and multiple call-site are doing exactly that, this will fix those cases. - Those were probably undetected due to their low occurence rate under normal conditions but can easily be reproed during async texture compilation on 32 cores. - Force wait on required texture compilations for MaterialBaking, ProxyMesh, Thumbnail generation for disk usage - Wait on all textures compilation whenever a wait for all shaders compilation is requested for safety (i.e. screenshot) - Compile UI and heightmap textures with higher priority to reduce visual artefacts - Increase priority of texture that have been rendered to improve time-to-usefulness of the editor under low core count - Async compilation is disabled for -game / non-editor mode as there is currently no support for async bulk data loading from external files - Properly cancel async tasks when UTexture is garbage collected before the compilation is finished - Show progress when explicitly waiting on compilation - Changing the mip settings in the texture editor (or any settings requiring the running platform data to be recomputed) will now be processed asynchronously. DEBUGGING - Can be forcibly enabled/disabled through command-line via -asynctexturecompilation=[off, on, paused] - Can pause texture compilation using Editor.AsyncTextureCompilation = 2 or -asynctexturecompilation=paused - Can manually resume a specified amount of paused compilation using Editor.AsyncTextureCompilationResume [Num] - Can forcibly wait on all compilation using Editor.AsyncTextureCompilationFlushAll BENCHMARKS - 3m15s to 1m20s when loading Apollo_Terrain with no textures in DDC (AMD TR 3970X) - 6m45s to 1m11s when loading Apollo_Terrain with no textures in DDC (-corelimit=8) - 3m10s to 1m54s when lauching PIE on Apollo_Terrain with no textures in DDC (AMD TR 3970X) - 7m43s to 1m36s when lauching PIE on Apollo_Terrain with no textures in DDC (-corelimit=8) - 0m57s to 0m42s when importing Attic_NVIDIA.usd with no textures in DDC (AMD TR 3970X) - 2m14s to 0m35s when importing Attic_NVIDIA.usd with no textures in DDC (-corelimit=4) TESTS - Success on all material baking tests from EngineTests with -asynctexturecompilation=paused - Runned with -corelimit=1 all the way to unlimited - Cooking worked - Opening the texture editor/material editor will force the compilation to finish like expected. - Changing a setting in the texture editor will recompile async, even allowing to close the editor and continue doing other changes. - Unpausing the compilation will update the texture thumbnails properly. - Started with -asynctexturecompilation=paused, and then unpaused after a map loading, and then into a PIE session to stresstest UpdateResources. - Tested both dx11/dx12 - Vulkan fails on Fortnite even with -asynctexturecompilation=off because of Landscape weigthmap, not this CL. - Compiled and tested FortniteGame / UE4 / ShooterGame projects #rb Uriel.Doyon, Francis.Hurteau [CL 13694814 by danny couture in ue5-main branch]
2020-06-16 22:16:25 -04:00
FTextureCompilingManager::Get().FinishCompilation(Textures);
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
check(Textures.Num() >= Indices.Num()); // Can't have indices if no texture.
const int32 SCALE_PRECISION = 64.f;
int32 MaxRegisterIndex = INDEX_NONE;
for (const TArray<int32>& TextureIndices : Indices)
{
for (int32 RegisterIndex : TextureIndices)
{
MaxRegisterIndex = FMath::Max<int32>(RegisterIndex, MaxRegisterIndex);
}
}
if (MaxRegisterIndex == INDEX_NONE)
{
return false;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
// Find the streaming texture for each material texture register index.
TArray<UTexture2D*> RegisterIndexToTextures;
RegisterIndexToTextures.AddZeroed(MaxRegisterIndex + 1);
for (int32 TextureIndex = 0; TextureIndex < Textures.Num(); ++TextureIndex)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
UTexture2D* Texture2D = Cast<UTexture2D>(Textures[TextureIndex]);
if (Texture2D) // Don't check IsStreamingTexture() yet as this could change before cooking.
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
for (int32 RegisterIndex : Indices[TextureIndex])
{
RegisterIndexToTextures[RegisterIndex] = Texture2D;
}
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
}
}
const int32 NumTileX = (MaxRegisterIndex / 4 + 1);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
const int32 NumTileY = TEXSTREAM_MAX_NUM_UVCHANNELS;
FIntPoint RenderTargetSize(TEXSTREAM_TILE_RESOLUTION * NumTileX, TEXSTREAM_TILE_RESOLUTION * NumTileY);
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
// Render the vectors
{
// The rendertarget contain factors stored in XYZW. Every X tile maps to another group : (0, 1, 2, 3), (4, 5, 6, 7), ...
UTextureRenderTarget2D* RenderTarget = CreateRenderTarget(true, false, PF_FloatRGBA, RenderTargetSize);
// Allocate the render output.
RenderedVectors.Empty(RenderTargetSize.X * RenderTargetSize.Y);
FMaterialRenderProxy* MaterialProxy = InMaterial->GetRenderProxy();
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
if (!MaterialProxy)
{
return false;
}
FBox2D DummyBounds(FVector2D(0, 0), FVector2D(1, 1));
TArray<FVector2D> EmptyTexCoords;
FMaterialMergeData MaterialData(InMaterial, nullptr, nullptr, 0, DummyBounds, EmptyTexCoords);
CurrentlyRendering = true;
bool bResult = FMeshRenderer::RenderMaterialTexCoordScales(MaterialData, MaterialProxy, RenderTarget, RenderedVectors);
CurrentlyRendering = false;
if (!bResult)
{
return false;
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
// Now compute the scale for each texture index (several indices could map to the same texture)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
for (int32 RegisterIndex = 0; RegisterIndex <= MaxRegisterIndex; ++RegisterIndex)
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
UTexture2D* Texture2D = RegisterIndexToTextures[RegisterIndex];
if (!Texture2D) continue; // Only handle streaming textures
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
int32 TextureTile = RegisterIndex / 4;
int32 ComponentIndex = RegisterIndex % 4;
bool bSuccess = false;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
bool bHadAnyValues = false;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
for (int32 CoordIndex = 0; CoordIndex < TEXSTREAM_MAX_NUM_UVCHANNELS && !bSuccess; ++CoordIndex)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
TArray<float> TextureScales;
TextureScales.Empty(TEXSTREAM_TILE_RESOLUTION * TEXSTREAM_TILE_RESOLUTION);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
for (int32 TexelX = 0; TexelX < TEXSTREAM_TILE_RESOLUTION; ++TexelX)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
for (int32 TexelY = 0; TexelY < TEXSTREAM_TILE_RESOLUTION; ++TexelY)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
int32 TexelIndex = TextureTile * TEXSTREAM_TILE_RESOLUTION + TexelX + (TexelY + CoordIndex * TEXSTREAM_TILE_RESOLUTION) * RenderTargetSize.X;
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
FFloat16Color& Scale16 = RenderedVectors[TexelIndex];
float TexelScale = 0;
if (ComponentIndex == 0) TexelScale = Scale16.R.GetFloat();
if (ComponentIndex == 1) TexelScale = Scale16.G.GetFloat();
if (ComponentIndex == 2) TexelScale = Scale16.B.GetFloat();
if (ComponentIndex == 3) TexelScale = Scale16.A.GetFloat();
// Quantize scale to converge faster in the TryLogic
TexelScale = FMath::RoundToFloat(TexelScale * SCALE_PRECISION) / SCALE_PRECISION;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
if (TexelScale > 0 && TexelScale < TEXSTREAM_INITIAL_GPU_SCALE)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
TextureScales.Push(TexelScale);
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
}
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
const float SamplingScale = GetUniformScale(TextureScales);
if (SamplingScale > 0)
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
FMaterialTextureInfo TextureInfo;
TextureInfo.SamplingScale = SamplingScale;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
TextureInfo.UVChannelIndex = CoordIndex;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3582324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3431439 by Marc.Audy Editor only subobjects shouldn't exist in PIE world #jira UE-43186 Change 3457323 by Marc.Audy Undo CL# 3431439 and once again allow (incorrectly) for editor only objects to exist in a PIE world #jira UE-45087 Change 3499927 by Dan.Oconnor UField::Serialize no longer serialize's its next ptr, UStruct::Serialize serializes all Children properties instead. This resolves a hard circular dependency between function libraries that EDL detected. It was resolved in an ad hoc way by the old linker #jira UE-43458 Change 3502939 by Michael.Noland Back out changelist 3499927 Change 3522783 by Zak.Middleton #ue4 - Imported new simple collision for Engine/Content/BasicShaps/Cylinder.uasset which is a single convex shape (rather than being 4 shapes as before). Change 3544641 by Dan.Oconnor Remove conditional that is no longer needed, replace with ensure. It is unsafe to change CDO names #jira OR-38176 Change 3544645 by Dan.Oconnor In addition to marking nodes as not transient, FBlueprintEditor::ExpandNode needs to mark them as transactional #jira UE-45248 Change 3545023 by Marc.Audy Properly encapsulate FPinDeletionQueue Fix ensure during deletion of split pins when not clearing links Fix split pins able to end up in delete queue twice during undo/redo Change 3545025 by Marc.Audy Properly allow changing the pin type from a struct that is split on the node #jira UE-47328 Change 3545455 by Ben.Zeigler Fix issue where combined streamable handles could be freed before their complete callback is called if nothing external referenced them Copy of CL#3544474 Change 3545456 by Ben.Zeigler Allow PrimaryAssets to update their AssetData based on in-memory changes when launching 'Standalone Game' and 'Mobile Preview' from the editor. As it was, changes could be detected and propagated through UPrimaryDataAsset::PostLoad, but the changes would always reapply whatever already exists in the AssetRegistry. The primary use-case for this: making AssetBundle tag changes and allowing them to propagate without resaving/recooking all affected assets. Copy of CL #3544374 Change 3545547 by Ben.Zeigler CIS Fix Change 3545568 by Michael.Noland PR #3758: Fixing a comment typo from Transistion to Transition (Contributed by gsfreema) #jira UE-46845 Change 3545582 by Michael.Noland Blueprints: Prevent duplicate messages from being added to the compiler results log (fixes a crash when resizing the results log while a math expression node has an error) Blueprints: Fixed the tooltip of math expression nodes not showing up, and error messages getting cleared on subsequent compiles [Duplicating fixes for UE-47491 and UE-47512 from 4.17 to Dev-Framework] Change 3546528 by Ben.Zeigler #jira UE-47548 Fix crash when a map's key type has changed but value has not, it was passing the UStruct defaults in when serialize was expecting the default instance, so pass null instead as we don't have the instance Change 3546544 by Marc.Audy Fix split pin restoration logic to deal with wildcards and variations in const/refness Change 3546551 by Marc.Audy Don't crash if the struct type is missing for whatever reason Change 3547152 by Marc.Audy Fix array exporting so you don't end up getting none instead of defaults #jira UE-47320 Change 3547438 by Marc.Audy Fix split pins on class defaults Don't cause a structural change when reapplying a split pin as part of node reconstruction #jira UE-46935 Change 3547501 by Ben.Zeigler Fix ensure, it's valid to pass a null path for a dynamic asset Change 3551185 by Ben.Zeigler #jira UE-42835 Fix it so SoftObjectPaths work correctly when inside levels loaded for the first time from PIE. Added code to do in-place PIE fixup for levels that are loaded instead of duplicated, and changed the fixup logic to fix all level references, not just ones being explicitly duplicated Change 3551723 by Ben.Zeigler Improve UI for displaying actor soft references. Add an error/warning icon if the cross level reference is broken or unloaded, and fix various display and copy/paste behaviors Change 3553216 by Phillip.Kavan #jira UE-39303, UE-46268, UE-47519 - Nativized UDS now support external asset dependencies and will construct their own linker import tables on load. Change summary: - Modified FCompactBlueprintDependencyData and FFakeImportTableHelper to be more relevant to UStruct and not just UClass-derivative types. - Modified FBlueprintDependencyData to accept a single FCompactBlueprintDependencyData struct rather than its individual fields. - Modified FBlueprintCompilerCppBackendBase::GenerateCodeFromStruct() to emit dependency assignment and static type registration functions for nativized UStruct types. - Modified FBlueprintNativeCodeGenModule::FStatePerPlatform to include an array for tracking UDS assets that need to be converted during the nativization pass at cook time. - Modified FBlueprintNativeCodeGenModule::GenerateFullyConvertedClasses() to generate nativized code for UDS assets. This ensures that UDS conversion falls under the same scope as BPGC conversion, so that they both feed into the same NativizationSummary context for asset dependency tracking (i.e. since we only have a single global dependency table in the codegen). Also modified InitializeForRerunDebugOnly() to do the same. - Modified FBlueprintNativeCodeGenModule::Convert() to defer UDS conversion so that it's done at the same time as BPGC conversion (see note above). - Modified FEmitDefaultValueHelper::AddStaticFunctionsForDependencies() to include support for UStruct types and to conform to changes made to FCompactBlueprintDependencyData. - Modified FEmitDefaultValueHelper::AddRegisterHelper() to include support for UStruct types. - Modified FBlueprintNativeCodeGenModule::FindReplacedClassForObject() to ensure that converted User-Defined Enum types are switched to a UEnumProperty at package save time so that any import tables contain the proper class. This is necessary because we nativize User-Defined Enum types as 'enum class' types, and UHT will generate code for those as a UEnumProperty with an "underlying" property. However, non-nativized User-Defined Enum types are referenced as a UByteProperty with a UEnum reference, so we have to fix up all the import tables before saving. Otherwise, EDL will assert on load (see UE-47519). Change 3553301 by Ben.Zeigler Fix ensure when passing literal None to SoftObjectPath, it now treats them as empty instead Change 3553631 by Dan.Oconnor UField::Serialize no longer serialize's its next ptr, UStruct::Serialize serializes all Children properties instead. This resolves a hard circular dependency between function libraries that EDL detected. It was resolved in an ad hoc way by the old linker. This change was originally submitted in 3499927, but it was incorrectly clearing the UField::Next pointer in UField::Serialize. #jira UE-43458 Change 3553799 by Ben.Zeigler Fix issue where calling WaitUntilComplete on a combined handle with Stalled children wouldn't work properly. It now forces all stalled children to start immediately. I also added a warning log when this happens and an ensure if somehow the force didn't work Copy of CL #3553781 Change 3553896 by Michael.Noland Blueprints: Allow the autowiring logic to better break and replace existing connections when made (e.g., when dragging a variable onto a compatible pin with an existing connection, break the old connection to allow the new connection to be made) #jira UE-31031 Change 3553897 by Michael.Noland Blueprints: Adjust search query when doing 'Find References' on variables from My Blueprints so that bound event nodes show up for components and widgets #jira UE-37862 Change 3553898 by Michael.Noland Blueprints: Add the name of the variable directly in the get/set menu options (when dragging from My Blueprints into the graph) Change 3553909 by Michael.Noland Blueprints: Added the full name of the type, container type (and value type for maps) to the tooltips for the type picker elements, so long names can be read in full #jira UE-19710 Change 3554517 by Michael.Noland Blueprints: Added an option to disable the comment bubble on comment boxes that appears when zoomed out #jira UE-21810 Change 3554664 by Michael.Noland Editor: Renamed "Find in CB" command to "Browse" and renamed "Search" (in BP) to "Find", so terminology is consistent and keyboard shortcuts make sense (Ctrl+B for Browse, Ctrl+F for find, not using the term Search anywhere) #jira UE-27121 Change 3554831 by Dan.Oconnor Non editor build fix Change 3554834 by Dan.Oconnor Actor bound event related warnings now show up in blueprint status when opening level blueprint for first time, improved warning message. Removed unused delegate and return value from FixLevelScriptActorBindings. Can now pass raw strings to blueprint results log (no need for Printf, although padding is not great), UClasses in compiler results log will open the generated blueprint when clicked on #jira UE-40438 Change 3556157 by Ben.Zeigler Convert LevelSequenceBindingReference to use FSoftObjectPath so it works properly with redirectors and fixups Change 3557775 by Michael.Noland Blueprints: Fixed swapped transaction messages when converting a cast node between pure and impure #jira UE-36090 Change 3557777 by Michael.Noland Blueprints: Allow 'Goto Definition' and 'Find References' to be used while stopped at a breakpoint PR #3774: Expose GotoFunctionDefinition during BP debugging (Contributed by projectgheist) #jira UE-47024 Change 3560510 by Michael.Noland Blueprints: Add support for 'goto definition' on Create Event nodes when the Object pin is not hooked up #jira UE-38912 Change 3560563 by Michael.Noland Blueprints: Disallow converting a variable get node to impure/back when debugging (no graph mutating operations should be allowed) Change 3561443 by Ben.Zeigler Restore code to support gc.DumpPoolStats, was accidentally removed when FGCArrayPool was moved to a header. Clean up comments around Cleanup function, the functionality to trim the memory pools was integrated into ClearWeakReferences on a prior change Change 3561658 by Michael.Noland Blueprints: Refactored 'Goto Definition' so there is no per-class logic in the Blueprint editor or schema any more; any node can opt in individually - Added a key binding for Goto Definition (Alt+G) - Added a key binding for Find References (Shift+Alt+F) - Collapsed 'Goto Code Definition' for variables and functions into the same path, so there aren't separate menu items and commands - Added new methods CanJumpToDefinition and JumpToDefinition to UEdGraphNode, the default behavior for UK2Node subclasses is to call GetJumpTargetForDoubleClick and call into FKismetEditorUtilities::BringKismetToFocusAttentionOnObject - Going to a native function now goes thru a better code path that will actually put the source code editor on the function definition, rather than just opening the file containing the definition Change 3562291 by Ben.Zeigler Fix issue where calling FSoftObjectPtr::Get during a package save would result in that ptr being forever marked broken, because the ResolveObject fails during save. It's too risky to change that behavior, so change it so the TagAtLastTest doesn't get updated in that case Change 3562292 by Ben.Zeigler #jira UE-39042 When renaming or moving actors between levels it now attempts to fix any soft object references from blueprints or sequencer When deleting actors that are soft referenced by actor/sequencer it will now warn the same way it does for level script. Added IAssetTools::FindSoftReferencesToObject to perform this search Change it so saving a non-primary world does not result it being dirtied due to the temporary physics scene fixup Fix issue where the actor name was shown incorrectly in the SSCS tree for actor instances, which meant that if you renamed it you would end up renaming it to the BP's name Change 3564814 by Ben.Zeigler #jira UE-47843 Don't set InputKey output pins to AnyKey if empty, this was causing blueprints with key events to constantly dirty themselves Change 3566707 by Dan.Oconnor Remove unused code, UClassGenerateCDODuplicatesForHotReload was attempting to create a CDO with a special name, which triggered an ensure. The Duplicated CDO was never used (callign code removed in 3289276 as it was a waste of cycles) #jira None Change 3566717 by Michael.Noland Core: Remove all defintions that contain "_API" from the command line when compiling .rc files (they do not support repsonse files and a too-long command line will fail the compile) Change 3566771 by Michael.Noland Editor: Fixing deprecation warning #jira UE-47922 Change 3567023 by Michael.Noland Blueprints: Change various TArray<> uses to TSet<> throughout name validation and related code to enable it to scale better to high component or variable counts Adapted from PR #3708: Fast construction of bp (Contributed by gildor2) #jira UE-46473 Change 3567304 by Ben.Zeigler Add bCheckRecursive option to IsEditorOnlyObject that is enabled by default and will check outer/archetype/class. This is needed for places that call this function from outside of SavePackage.cpp when the editor only mark is set, such as the automation test code Change 3567398 by Ben.Zeigler Fix crash when spawning a widget that has no editor WidgetTree, but does have a cooked widget tree template due to tree inheritance Change 3567729 by Michael.Noland Blueprints: Clarified message about "{VariableName} is not blueprint visible" to define what that means "(BlueprintReadOnly or BlueprintReadWrite)" Change 3567739 by Ben.Zeigler Don't crash if PropertyStruct cannot find it's struct. The function half handled this before, but Preload crashes with a null parameter Change 3567741 by Ben.Zeigler Disable optimization for a path test that was crashing in VC2015 in a monolithic build Change 3568332 by Mieszko.Zielinski Prevented UAIPerceptionSystem::GetCurrent causing a BP error when WorldContextObject is null #UE4 #jira UE-47948 Change 3568676 by Michael.Noland Blueprints: Allow editing the tooltip of each enum value in a user defined enum #jira UE-20036 Known issue: Undo/redo is not currently possible on the tooltip as it is directly stored in package metadata Change 3569128 by Michael.Noland Blueprints: Removing the experimental profiler as we won't be returning to it any time soon #jira UE-46852 Change 3569207 by Michael.Noland Blueprints: Allow drag-dropping component Blueprint assets into the graph to create Add Component nodes and improved the error message when dragging something that cannot be dropped into an actor Blueprint #jira UE-8708 Change 3569208 by Michael.Noland Blueprints: Allow specifying a description for user defined enums (shown in the content browser) #jira UE-20036 Change 3569209 by Michael.Noland Editor: Allow adjusting the font size for each individual comment box node in Blueprints and Materials #jira UE-16085 Change 3570177 by Michael.Noland Blueprints: Fixed discrepancy between the Structure tab name and the menu option for the tab in the user defined structure editor (now both say Structure Editor) #jira UE-47962 Change 3570179 by Michael.Noland Blueprints: Fixed the tooltip of a user defined structure not updating immediately in the content browser after being edited Change 3570192 by Michael.Noland Blueprints: Added "(selected)" after the label (in the 'debug filter' dropdown in the Blueprint editor) for actors that are selected in the level editor, which should make it easier to choose the specific actor you want to debug #jira UE-20709 Change 3571203 by Michael.Noland Blueprints: Cleanup and refactoring to prepare for turning commented out nodes into an official feature - Made EnabledState and bUserSetEnabledState private on UEdGraphNode and added new getters/setters - Introduced IsAutomaticallyPlacedGhostNode() and MakeAutomaticallyPlacedGhostNode() to start decoupling the concept from commented out nodes - Updated a couple of places that used a hardcoded UberGraphPages[0] into instead editing the most recently interacted with event graph if possible - Updated 'is data only blueprint' logic to allow multiple ubergraph pages, as long as they're all empty of non-disabled nodes Change 3571224 by Michael.Noland Blueprints: Draw banners on development-only and user disabled nodes (excluding 'ghost' nodes like autogenerated event entries in new BPs) Adapted from PR #2701: Differentiate development nodes in BP (Contributed by projectgheist) #jira UE-29848 #jira UE-34698 Change 3571279 by Michael.Noland Blueprints: Changed UK2Node::GetPassThroughPin so that only the execution wire on nodes with exactly one input and one output exec wire will have a corresponding pass-through pin (when there is ambiguity in which exec would be used, e.g., with a branch or sequence or timeline node, the subsequent nodes are now effectively disabled as well) Change 3571282 by Michael.Noland Blueprints: Fixed the tooltip for dragging a variable onto an inherited category not showing the 'move to category' hint Change 3571284 by Michael.Noland Blueprints: Made wires into/out of a user-disabled node draw verly dimly (other than the passthrough exec if it exists) Change 3571311 by Ben.Zeigler Add ActorIteratorFlags which allows overriding which types of actors/levels are iterated by ActorIterator, to allow iterating levels that are not visible. All of the iteration logic is now in the base and the children just set different flags, which fixes it so TActorIterator does the same level collection check as FActorIterator Change 3571313 by Ben.Zeigler Several fixes to automation framework to allow it to work better with Cooked builds. Change it so the automation test list is a single message. There is no guarantee on order of message packets, so several tests were being missed each time. Change 3571485 by mason.seay Test map for Make Set bug Change 3571501 by Ben.Zeigler Accidentally undid the UHT fixup for TAssetPtr during my bulk rename Change 3571531 by Ben.Zeigler Fix warning messages Change 3571591 by Michael.Noland Blueprints: Made drag-dropping assets into a graph to create a component transactional (allowing the action to be undone) #jira UE-48024 Change 3572938 by Michael.Noland Blueprints: Fixed a typo in a set function comment #jira UE-48036 Change 3572941 by Michael.Noland Blueprints: Made the compact node title for cross and dot product the words cross and dot rather than hard to see . and x symbols #jira UE-38624 Change 3574816 by mason.seay Renamed asset to better reflect name of object reference Change 3574985 by mason.seay Updated comments and string outputs to list Soft Object Reference Change 3575740 by Ben.Zeigler #jira UE-48061 Change it so Editor builds work like cooked builds and always try to reuse existing packages when loading them instead of recreating them in place. Recreating in place does not work well for levels and blueprints, and blueprints already had a hack that was causing this behavior to not activate Change 3575795 by Ben.Zeigler #jira UE-48118 Call into the AssetManager as part of the DistillPackages commandlet. This makes sure that ShooterGame and EngineTest end up with the correct content in launcher builds Change 3576374 by mason.seay Forgot to submit the deleting of a redirector Change 3576966 by Ben.Zeigler #jira UE-48153 Fix issue where actors in streaming levels weren't properly replicating in PIE. It now does the remap path on both send and receive for the manual PC level streaming commands Change 3577002 by Marc.Audy Prevent wildcard pins from being connected to exec pins #jira UE-48148 Change 3577232 by Phillip.Kavan #jira UE-48034 - Fix EDL assert on load caused by a native reference to a nativized BP class that also references a nativized UDS asset. Change summary: - Modified FNativeClassHeaderGenerator::ExportGeneratedStructBodyMacros() to emit the 'ReplaceConverted' package name for the FCompiledInDeferStruct global associated with the nativized UDS asset in the UHT codegen. This brings nativized UDS to parity with nativized BP class assets (it was likely just an oversight initially). Change 3577710 by Dan.Oconnor Mirror of 3576977: Fix for crash when loading cooked uassets that reference functions that are not present #jira UE-47644 Change 3577723 by Dan.Oconnor Prevent deferring of classes that are needed to load subobjects #jira UE-47726 Change 3577741 by Dan.Oconnor Back out changelist 3577723 - causes crash when starting QAGame in Dev-Framework - not in Release-4.17 Change 3578938 by Ben.Zeigler #jira UE-27124 Fix issue where renaming a map with legacy map build data would end up with a half-loaded redirector package, becuase the old map build data was still in use. It's possible the call to HandleLegacyMapBuildData should just be in World PostLoad instead of piecemeal in several other places but I am unsure. Fix it so the redirector cleanup code on map change will not be stopped by non-standalone top level objects, which could be left behind by issues in other systems Change 3578947 by Marc.Audy (4.17) Properly expose members of DialogueContext to blueprints #jira UE-48175 Change 3578952 by Ben.Zeigler Fix ensure where ParentHandles on a StreamableHandle could be modified while iterating Change 3579315 by mason.seay Test map for Make Container nodes Change 3579600 by Ben.Zeigler Disable window test on non-desktop platforms as they cannot be resized post launch Change 3579601 by Ben.Zeigler #jira UE-48236 Disable optimizations on PS4 for certain math tests pending fixing of platform issue Change 3579713 by Dan.Oconnor Prevent crashes when bluepints implement an interface that was deleted #jira UE-48223 Change 3579719 by Dan.Oconnor Fix two compilation manager issues: Make sure CDOs are not renamed under a UClass, because they will be considered as possible subobjects, which has bad side effects and make sure that we update references even on empty functions, so that empty UFunctions are not left with references to REINST data #jira UE-48240 Change 3579745 by Michael.Noland Blueprints: Improve categorization and reordering support in 'My Blueprints' - Allow drag-dropping functions, macros, delegates, etc... to reorder them within a category or to change categories (bringing them to parity with variables) - Make category ordering on all categories sticky so you can reorder categories (the relative ordering will be the same within different sections like variables and functions) - Added hover cues when drag dropping some items that were missing them (e.g., event dispatchers) - Added support for renaming categories using F2 Known issues (none are regressions): - Timelines cannot be moved to other categories or reordered - Renaming a nested category will result in it becoming a top level category (discarding the parent category chain) - Some actions do not support undo #jira UE-31557 Change 3579795 by Michael.Noland PR #3867: Fix for not releasing Local Notification Delegate. (Contributed by enginevividgames) #jira UE-48105 Change 3580463 by Marc.Audy (4.17) Don't crash if calling PostEditUndo on an Actor in the transient package #jira UE-47523 Change 3581073 by Marc.Audy Make UK2Node_SpawnActorFromClass inherit from K2Node_ConstructObjectFromClass and eliminate duplicate code. Correctly reconnect split pins when changing class on create widget, construct object, and spawn actor nodes Change 3581156 by Ben.Zeigler #jira UE-48161 Fix issue where split pins would not be restored if a Struct type was changed due to refactoring of parent variables/functions. For structs we want to copy the pins, if they're invalid due to other changes they will be individual orphaned Also fix bug where the category of parent pins was being set incorrectly while changing variable type, we only want to override type for wildcard pins Change 3581473 by Ben.Zeigler Properly turn off optimization for PS4 test Change 3582094 by Marc.Audy Fix anim nodes not navigating to their graph on double click #jira UE-48333 Change 3582157 by Marc.Audy Fix double-clicking on animation asset nodes not opening the asset editors Change 3582289 by Marc.Audy (4.17) Don't crash when adding a streaming level that's already in the level #jira UE-48928 Change 3545435 by Ben.Zeigler #jira UE-47509 Rename and refactor internals StringAssetReferences and AssetPtrs to become SoftObjectPath/Ptr. This is to prepare them for use for subobjects like actors. Here is the rename table: FStringAssetReference -> FSoftObjectPath FStringClassReference -> FSoftClassPath TAssetPtr -> TSoftObjectPtr TAssetSubclassOf -> TSoftClassPtr The old headers are deprecated, and FSoftClassPath is now in the same header has FSoftObjectPath. This change increments the UE4 version because FSoftObjectPaths are now stored as a name + substring instead of one giant name, which in practice will improve performance and memory while manipulating them. Also the package table of soft referenced packages is now stored as FNames instead of FStrings as these packages names will already be in the name table due to the AssetRegistry Remove automatic support for loading Objectpaths starting with engine-ini:, as it was only partially supported and is very outdated. ResolveIniObjectsReference can still be called manually Changed TPersistentObjectPtr and TLazyObjectPtr to be structs instead of classes Change UnrealHeaderTool to read configuration such as StructsWithNoPrefix out of inis instead of using a hardcoded list. Add support for TypeRedirects, which is used to make the old type names automatically remap to the new ones Clean up FRedirectCollector to remove some of the functionality that is no longer used by the cooker, and disable tracking of redirects in standalone -game builds Change 3567760 by Ben.Zeigler Fix it so EngineTest can be cooked by moving some utility functions to EditorTestsUtilityLibrary and adding an EditorFunctionalTest. The core EngineTest module is safely runtime-only now and can run it's tests locally in windows cooked Merge FuncTestManager into FunctionalTestModule to avoid confusion with FunctionalTestingManager UObject Add EngineTestAssetManager and override the cook function to cook all maps with runtime functional tests Change actor merging tests to be editor only, this stops them from cooking Several individual tests crash on cooked builds, I started threads with the owners of those Change 3575737 by Ben.Zeigler #jira UE-48042 Change it so playing via PIE Standalone, multiprocess networked PIE and external cook launch on does not save temporary levels to UEDPC and instead prompts the user to save. This is how launch on works by default already, and this fixes cross level references/sequencer. The UEDPC code has been removed entirely. As part of this change, connecting a -game client to a PIE server and vice versa is much more likely to work. You may still have game-side problems, look at UEditorEngine::NetworkRemapPath for an example of how to do the PIE prefix conversion Remove advanced CreateTemporaryCopiesOfLevels option from sequencer capture, it has not been tested in multiple years and does not work with newer sequencer features #jira UE-27124 Fix several possible crashes with changing levels while in PIE Change 3578806 by Marc.Audy Fix Construct Object not working correctly with split pins. Add Construct Object test cases to functional tests. Added split pin expose on spawn test cases. #jira UE-33924 [CL 3582334 by Marc Audy in Main branch]
2017-08-11 12:43:42 -04:00
TextureInfo.TextureReference = FSoftObjectPath(Texture2D);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
TextureInfo.TextureIndex = RegisterIndex;
TextureStreamingData.Add(TextureInfo);
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
bSuccess = true;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
else if (TextureScales.Num())
{
bHadAnyValues = true;
}
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
}
// If we couldn't find the scale, then output a warning detailing which index, texture, material is having an issue.
if (!bSuccess)
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
OutErrors.Register(InMaterial, Texture2D->GetFName(), RegisterIndex, bHadAnyValues ? FExportErrorManager::EErrorType::EET_IncohorentValues : FExportErrorManager::EErrorType::EET_NoValues);
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3154832 on 2016/10/07 by Rolando.Caloca DR - vk - Fix crash on framebuffers with missing textures Change 3154838 on 2016/10/07 by Rolando.Caloca DR - vk - Enable clip distance Change 3154840 on 2016/10/07 by Rolando.Caloca DR - Remove branch per codereview Change 3155118 on 2016/10/07 by Rolando.Caloca DR - vk - Compute pipeline fixes Change 3155129 on 2016/10/07 by Rolando.Caloca DR - Added draw events for reflection captures Change 3155167 on 2016/10/07 by Rolando.Caloca DR - Use shader clear for platforms that can't use viewport or scissor Change 3155168 on 2016/10/07 by Rolando.Caloca DR - vk - Added submit gpu - Some fixes for Geometry and Compute Change 3155595 on 2016/10/07 by Rolando.Caloca DR - vk - Use new render pass system Change 3155720 on 2016/10/07 by Rolando.Caloca DR - vk - static analysis fix Change 3155732 on 2016/10/07 by Rolando.Caloca DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear Change 3156787 on 2016/10/10 by Rolando.Caloca DR - Fix mem leaks Change 3156805 on 2016/10/10 by Rolando.Caloca DR - Improve check msg per licensee Change 3156815 on 2016/10/10 by Rolando.Caloca DR - Fix infinite recursion Change 3157041 on 2016/10/10 by Rolando.Caloca DR - vk - Fix key access from multiple threads Change 3158253 on 2016/10/11 by Rolando.Caloca DR - Fix comment #jira UE-37128 PR #2852 Change 3158606 on 2016/10/11 by Rolando.Caloca DR - vk - Accessors Change 3160418 on 2016/10/12 by Daniel.Wright Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser Change 3160644 on 2016/10/12 by Arne.Schober DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms. Change 3161219 on 2016/10/13 by Luke.Thatcher [RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL. Change 3161838 on 2016/10/13 by Daniel.Wright Fixed level getting added to the dirty list twice when legacy lightmaps are present Change 3161884 on 2016/10/13 by Arne.Schober DR - Fix Mac and DCC build Change 3162206 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593: Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal. Added CustomEyeTangent to material attributes. Resolved some hard-coded attribute typing and other minor fixes. Change 3162491 on 2016/10/13 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397: More fixed type-casting on material attributes. Swapped compiler::forcecast booleans to flags (and fixed a regression). Change 3163266 on 2016/10/14 by Daniel.Wright Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly Change 3163524 on 2016/10/14 by Mark.Satterthwaite Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful. Change 3163529 on 2016/10/14 by Mark.Satterthwaite Move the Metal shader source code and compilation path into the newly enlarged shader optional data. Change 3163553 on 2016/10/14 by Mark.Satterthwaite Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system. #jira FORT-31590 Change 3163562 on 2016/10/14 by Mark.Satterthwaite Tidy up and extend the Metal debugging options: - Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU. - Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory. - Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely. - Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors. - Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API. - Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely. - Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time. - Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case. Change 3163752 on 2016/10/14 by Mark.Satterthwaite Add missing parenthesis to fix compile error on iOS. Change 3164151 on 2016/10/16 by Benjamin.Hyder Submitting TM-AutoLOD level to QAGame #jira UE-29618 Change 3164190 on 2016/10/16 by Uriel.Doyon Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture. This data can be disabled through "r.Streaming.UseMaterialData" Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes. Simplified component interface for using the texture streaming build framework. Removed intermediate texture streaming build data from the static mesh components. Fixed shader compilation errors with the decals (from merge with main). Change 3164636 on 2016/10/17 by Rolando.Caloca DR - vk - Fix validation spam Change 3164679 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area. Change 3164705 on 2016/10/17 by Daniel.Wright When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds. Change 3164834 on 2016/10/17 by Daniel.Wright Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear) Change 3164870 on 2016/10/17 by Arne.Schober DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer. Change 3164949 on 2016/10/17 by Rolando.Caloca DR - vk - First version of pooled occlusion queries Change 3165100 on 2016/10/17 by Rolando.Caloca DR - vk - Added driver version for Nvidia. AMD doesn't have one yet. Change 3165160 on 2016/10/17 by Rolando.Caloca DR - vk - Fix for queries not ready Change 3165230 on 2016/10/17 by Rolando.Caloca DR - vk - More fixes for occlusion queries Change 3165839 on 2016/10/18 by Rolando.Caloca DR - hlslcc - Fix default parameters getting wrong values Change 3166029 on 2016/10/18 by Rolando.Caloca DR - Switch some clears to DrawClearQuad() Change 3166066 on 2016/10/18 by Mark.Satterthwaite Update ShaderVersion due to CL #3163524 Change 3166067 on 2016/10/18 by Mark.Satterthwaite Update Mac hlslcc for RCO's 3165839. Change 3166370 on 2016/10/18 by Brian.Karis Improved hair AA Change 3166389 on 2016/10/18 by Uriel.Doyon Fixed lightmap having bigger resolutions than the engine can handle #jira UE-34737 #review-3166193 @daniel.wright Change 3166495 on 2016/10/18 by Rolando.Caloca DR - vk - Fix occlusion queries Change 3166516 on 2016/10/18 by Arne.Schober DR - Fix shaderbuild issue Change 3166650 on 2016/10/18 by Rolando.Caloca DR - vk - Enable GRHISupportsFirstInstance Change 3166799 on 2016/10/18 by Arne.Schober DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO Change 3167855 on 2016/10/19 by Rolando.Caloca DR - vk - Implemented texture streaming Change 3168365 on 2016/10/19 by Rolando.Caloca DR - Fix static analysis Change 3168405 on 2016/10/19 by Mark.Satterthwaite Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky. #jira UE-37489 Change 3169467 on 2016/10/20 by Arne.Schober DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling. Change 3169478 on 2016/10/20 by Arne.Schober DR - UE-28039 - missing comment Change 3169845 on 2016/10/20 by Arne.Schober DR - UE-35937 - readd Merged out check Change 3169859 on 2016/10/20 by Rolando.Caloca DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database [CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
// Update to the final data.
InMaterial->SetTextureStreamingData(TextureStreamingData);
Copying //UE4/Dev-Rendering to Dev-Main (Source //UE4/Dev-Rendering@2932636) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2917472 on 2016/03/21 by Rolando.Caloca DR - Fix SCW directcompile arguments, add -pipeline Change 2919580 on 2016/03/23 by Rolando.Caloca DR - HlslParser - Fix for used elements (sparrow's arrow was showing when it shouldn't) Arrays of input/outputs are now flattened so disjoint entries can be optimized out (and fixes a bug) #jira OR-15380 #tests Run game with sparrow, test with slomo to check for gfx glitches Change 2919660 on 2016/03/23 by Rolando.Caloca DR - Latest vk changes (from dev mobile's 2916881 to 2919157) Change 2919902 on 2016/03/23 by Rolando.Caloca DR - Fix skeletal meshes decrementing stats twice #codereview Marcus.Wassmer #jira UE-28478 Change 2920020 on 2016/03/23 by David.Hill #Jira UE-28503 EyeAdapation when used in material shader may not be initialized. #rb olaf.piesche Change 2920071 on 2016/03/23 by Rolando.Caloca DR - Remove old vk define - Started moving around direct calls to queue submit Change 2920252 on 2016/03/23 by Rolando.Caloca DR - Changes vk structs to classes Change 2920314 on 2016/03/23 by Olaf.Piesche Add -windowed to standalone game PIE command line to avoid PIE launching in full screen #jira UE-27870 #codereview michael.trepka Change 2920745 on 2016/03/24 by Uriel.Doyon Texture streaming build now takes into account the material texcoord scales applied to the texture sampling. Also finds out which texcoord is being used when sampling textures (between 0 and 3 currently). TexCoord analysis debug view shaders is now working with SM4 ane SM5. StaticMeshComponents hold persistent data coming from the texture streaming build. #tests tested with different Paragon assets. Editor SM4 & SM5. Cooked maps #codereview marcus.wassmer Change 2921335 on 2016/03/24 by Uriel.Doyon Added missing static keyword for locally defined console variable. #codereview rolando.caloca Change 2921416 on 2016/03/24 by Uriel.Doyon Revert enabling debugview shaders on non PC platforms (until properly tested and debugged) Change 2921446 on 2016/03/24 by Daniel.Wright Planar reflection mesh Change 2921530 on 2016/03/24 by Daniel.Wright Manual revert of Ronin planar reflections #codereview Ryan.Vance Change 2921608 on 2016/03/24 by Uriel.Doyon Updated texture streamer to take into account the new HLOD texture group. Change 2921677 on 2016/03/24 by Daniel.Wright Distance Field Specular Occlusion * Prototype - disabled by default Change 2921681 on 2016/03/24 by Daniel.Wright UnmappedTexelsPercentage is now 100 based Change 2921682 on 2016/03/24 by Daniel.Wright Planar reflections * New actor and component * The scene is rendered to texture with a mirrored camera and a clip plane each frame * The reflection texture is then applied to opaque pixels in a deferred pass, with distance and angle from plane fades * Translucent materials apply the nearest reflection plane in the base pass * Planar reflections require the project setting 'Support global clip plane for Planar Reflections' to be enabled, since writing to SV_ClipDistance all the time adds about 15% BasePass GPU time on PS4 * Fixed global distance field in materials which had been broken since moving global distance field properties into the view uniform buffer * Fixed PS4 removing system-value semantics when output from vertex shader and not read in next stage Change 2921734 on 2016/03/24 by Uriel.Doyon Fixed tessellated cube having wrong UVs #jira UE-28379 Change 2922063 on 2016/03/24 by Daniel.Wright Removed planar reflection debug code Change 2922428 on 2016/03/25 by Chris.Bunner Delete FShaderPipeline objects when clearing TMaterialShaderMaps. #rb Rolando.Caloca #jira UE-28621 Change 2922803 on 2016/03/25 by Rolando.Caloca DR - New cmd buffer management (disabled) - Move cmd buffer out of pending state and into context - Do not hardcode # cmd buffers - Move back buffer image mgmt into swapchain - Fixed some image layout transition bugs Change 2923056 on 2016/03/25 by Rolando.Caloca DR - Initial fix for canvas locking inside a render pass [CL 2932649 by Gil Gribb in Main branch]
2016-04-04 18:44:59 -04:00
return true;
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
UTextureRenderTarget2D* FMaterialUtilities::CreateRenderTarget(bool bInForceLinearGamma, bool bNormalMap, EPixelFormat InPixelFormat, FIntPoint& InTargetSize)
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
const FLinearColor ClearColour = bNormalMap ? FLinearColor(0.0f, 0.0f, 0.0f, 0.0f) : FLinearColor(1.0f, 0.0f, 1.0f, 0.0f);
// Find any pooled render target with suitable properties.
for (int32 RTIndex = 0; RTIndex < RenderTargetPool.Num(); RTIndex++)
{
UTextureRenderTarget2D* RenderTarget = RenderTargetPool[RTIndex];
if (RenderTarget->SizeX == InTargetSize.X &&
RenderTarget->SizeY == InTargetSize.Y &&
RenderTarget->OverrideFormat == InPixelFormat &&
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
RenderTarget->bForceLinearGamma == bInForceLinearGamma &&
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
RenderTarget->ClearColor == ClearColour )
{
return RenderTarget;
}
}
// Not found - create a new one.
UTextureRenderTarget2D* NewRenderTarget = NewObject<UTextureRenderTarget2D>();
check(NewRenderTarget);
NewRenderTarget->AddToRoot();
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
NewRenderTarget->ClearColor = ClearColour;
NewRenderTarget->TargetGamma = 0.0f;
NewRenderTarget->InitCustomFormat(InTargetSize.X, InTargetSize.Y, InPixelFormat, bInForceLinearGamma);
RenderTargetPool.Add(NewRenderTarget);
return NewRenderTarget;
}
void FMaterialUtilities::ClearRenderTargetPool()
{
if (CurrentlyRendering)
{
// Just in case - if garbage collection will happen during rendering, don't allow to GC used render target.
return;
}
// Allow garbage collecting of all render targets.
for (int32 RTIndex = 0; RTIndex < RenderTargetPool.Num(); RTIndex++)
{
RenderTargetPool[RTIndex]->RemoveFromRoot();
}
RenderTargetPool.Empty();
}
void FMaterialUtilities::OptimizeSampleArray(TArray<FColor>& InSamples, FIntPoint& InSampleSize)
{
if (InSamples.Num() > 1)
{
TArray<FColor> Colors;
for (const FColor& Sample : InSamples)
{
if (Colors.AddUnique(Sample) != 0)
{
break;
}
}
if (Colors.Num() == 1)
{
InSamples.Empty(1);
InSamples.Add(Colors[0]);
InSampleSize = FIntPoint(1, 1);
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
}
}
FExportMaterialProxyCache::FExportMaterialProxyCache()
{
FMemory::Memzero(Proxies);
}
FExportMaterialProxyCache::~FExportMaterialProxyCache()
{
Release();
}
void FExportMaterialProxyCache::Release()
{
for (int32 PropertyIndex = 0; PropertyIndex < UE_ARRAY_COUNT(Proxies); PropertyIndex++)
{
FMaterialRenderProxy* Proxy = Proxies[PropertyIndex];
if (Proxy)
{
delete Proxy;
Proxies[PropertyIndex] = nullptr;
}
}
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
void FMaterialUtilities::DetermineMaterialImportance(const TArray<UMaterialInterface*>& InMaterials, TArray<float>& OutImportance)
{
TArray<int32> MaterialImportance;
int32 SummedSize = 0;
for (UMaterialInterface* Material : InMaterials)
{
TArray<UObject*> UsedTextures(Material->GetReferencedTextures());
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
if (UMaterialInstance* MaterialInstance = Cast<UMaterialInstance>(Material))
{
for (const FTextureParameterValue& TextureParameter : MaterialInstance->TextureParameterValues)
{
if (TextureParameter.ParameterValue != nullptr)
{
UsedTextures.Add(TextureParameter.ParameterValue);
}
}
}
int32 MaxSize = 64 * 64;
for (UObject* Texture : UsedTextures)
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
{
if (UTexture2D* Texture2D = Cast<UTexture2D>(Texture))
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3635055) #lockdown Nick.Penwarden ============================ MAJOR FEATURES & CHANGES ============================ Change 3503468 by Marcus.Wassmer Fix merge conflicts Change 3537059 by Ben.Marsh Fixing case of iOS directories, pt1 Change 3537060 by Ben.Marsh Fixing case of iOS directories, pt2 Change 3608300 by Chris.Bunner Added post process material to preview compile cache set to allow post process volume preview scene improvements. Change 3608302 by Chris.Bunner Fixed decal lifetime fading. #jira UE-48400 Change 3608303 by Chris.Bunner Updated default WritesAllPixels input to ignore dithering (as intended, was disabled due to isues at the time). Fixed material instances returning their local data when not overridden. #jira UE-48254 Change 3608455 by Mark.Satterthwaite Enabling WorldPositionOffset requires disabling fast-math on Metal because the manually specified FMA's are not respected if one or more arguments is a literal which then leads to very different compiler optimisation between the depth-only shader and the base-pass shader. This change will only affect the way Metal compiles shaders. #jira UE-47372 Change 3608462 by Rolando.Caloca DR - Cloth vertex buffers no longer generate dummy vertices Copy from 3608349 and 3608407 Change 3608491 by Rolando.Caloca DR - hlsl - Fix crash when type was not found Change 3608513 by Rolando.Caloca DR - Default to real uniform buffers for Vulkan SM4 & SM5 Change 3608794 by Mark.Satterthwaite Implement SV_DepthLessEqual (maybe right?) for Metal - seems to work in the ParallaxOcclusionMapping test map. #jira UE-47614 Change 3608929 by Mark.Satterthwaite Fix ambiguous expression compile error. Change 3608991 by Mark.Satterthwaite Fix a dumb bug when parsing the Metal compiler version that breaks Metal shader PCH generation on HFS+ volumes. Change 3609090 by Uriel.Doyon StaticMeshComponent and LandscapeComponent now register AO material mask and sky occlusion texture in the texture streamer. Changing the current lighting scenario now triggers an update of the texture streamer, and a refresh of lighting data for instanced static meshes. Added an option to the "liststreamingtextures" named UNKOWNREF allowing to inspect texture without references in the texture streamer. BUILDMATERIALTEXTURESTREAMINGDATA now rebuild every shader in memory and mark for save those with different data. MipBias now behaves the same way in shipping than in other builds. Fixed texture resolution logic for editor tooltips and in game stats. Change 3609659 by Richard.Wallis Remove Eye Adaption Pixel Shader Workaround for macOS 10.11 (El Cap) Nividia. #jira UE-48642 Change 3610552 by Mark.Satterthwaite Optimise the constant-propagation pass in hlslcc by using a hash-table to reduce the cost of looking up the existing constant assignment instructions. The get_assignment_entry drops from 25% of runtime to 2.2% of runtime on a 4.2Ghz Quad i7 2017 iMac. Change 3610662 by Rolando.Caloca DR - hlsl - Fix for rwstructured buffer Fix for floats printed as ints Change 3610830 by Michael.Lentine ByteAddressBuffer does not have a subtype. Change 3610869 by Rolando.Caloca DR - hlsl - Fix disambiguation between 1.r and 1.0.r Change 3610982 by Mark.Satterthwaite Use the correct code to dump Metal shader text for debugging at runtime. Change 3610996 by Rolando.Caloca DR - hlsl - Actual fix for 0.r Change 3611312 by Rolando.Caloca DR - Integrate: Improve performance of bokeh depth of field. * Fewer instances with more work (higher quad count) per instance. * Improves performance on RX 480 in the Infiltrator demo by 0.37 ms at 1080p and 0.50 ms at 1440p (average frame time over the beginning of the demo, including the hallway confrontation between the guard and the infiltrator, where heavy DOF is used). * Similar optimizations may be possible for other systems that perform similar "instanced draws of quads" (e.g. virtual texture page table updates, lens blur, and velocity scatter). Change 3611345 by Mark.Satterthwaite Missed the hash-table destructor in previous change. Change 3611372 by Rolando.Caloca DR - vk - New barrier/layout api Change 3611445 by Mark.Satterthwaite Fix stupid bugs in MetalBackend's LoadRWBuffer helper function where the wrong type was being used - won't fix problems in the LinearTexture case though. Change 3611686 by Mark.Satterthwaite Remove the sampler from the Metal Linear Texture SRV path as for reasons so far unknown it doesn?╟╓t work with the light grid culling. #jira UE-48881 Change 3611743 by Mark.Satterthwaite Implement early depth test for Metal - it is implemented such that manual specification of the SV_Depth* outputs will elide the early_fragment_test qualifier as Metal does not permit both at present. Change 3611746 by Mark.Satterthwaite Use early fragment tests implicitly unless we perform a direct resource write or use discard - explicit depth writes always disable early fragment tests as Metal doesn?╟╓t allow both. This should better match D3D driver behaviour. Change 3611756 by Mark.Satterthwaite Missed a header file in last commit. Change 3611836 by Mark.Satterthwaite Fixed the use of Metal?╟╓s capture manager so that it doesn?╟╓t capture more frames than intended. Change 3611843 by Mark.Satterthwaite Tidy up the handling of when to increment the frame count for the Metal capture manager. Change 3612279 by Michael.Lentine Move FP16 Math to Public so that it can be included as part of platform which is where the other float/half defines happen. Change 3612595 by Rolando.Caloca DR - hlslcc - Rebuilt with CL 3611345 Change 3612665 by Rolando.Caloca DR - Make cubemap mip barrier consistent with HZB mip barriers Change 3612758 by Daniel.Wright FColor usage comment Change 3612980 by Rolando.Caloca DR - hlsl - Do not overflow ints Change 3613068 by Rolando.Caloca DR - vk - Initial fix for transition validation warnings Change 3613115 by Daniel.Wright Volumetric lightmap voxels are now always cubes Bricks outside of any Lightmass Importance Volume will never be refined Change 3613124 by zachary.wilson Enabling Eye-Adaptation in TM-ShaderModels. Change 3613205 by Mark.Satterthwaite Fully disable linear textures in Metal - they simply aren't performant. Instead we'll have to use helper functions to dynamically type-cast appropriately within the shader. This is currently only configured for a handful of UAV types and will need to be extended. Change 3613208 by Mark.Satterthwaite Add code to MetalBackend to promote half types to float for math operations to avoid compiler errors. Change 3613354 by zachary.wilson Fixing up the Bloom_FFT map. Renaming to fit qa conventions, updating content and improving workflow. Change 3613409 by Rolando.Caloca DR - vk - Layout as part of descriptor writes Some access flag warning fixes Change 3613518 by Daniel.Wright Added 'Render Unbuilt Preview Shadows in game' rendering project setting and r.Shadow.UnbuiltPreviewInGame cvar Change 3613610 by Daniel.Wright Volumetric lightmap visualization sphere size is now a fraction of the corresponding brick world size Change 3613651 by Daniel.Wright [Copy] Fixed landscape in the Global Distance field on PS4. Multiple updates to a vertex buffer using BUF_Dynamic cause a race condition on PS4 with no assert. Also added shrinking for GDistanceFieldUploadData which saved 15Mb. Change 3613696 by Mark.Satterthwaite Add the Metal SRV format for Index buffers so that they can be properly type-cast inside the shader. Fixes recompute tangents with latest changes. Change 3613697 by Rolando.Caloca DR - vk - Fix missing layout Change 3613922 by Rolando.Caloca DR - vk - Some fixes for layout/transitions - Disable GSupportsDepthFetchDuringDepthTest on desktop as the deferred renderer is not copying the aux depth in the right spot and will be removed Change 3614009 by Mark.Satterthwaite TPS Approved: Integrating the MIT-licensed mtlpp C++ Metal wrapper from Nikolay Aleksiev which will slowly replace previous Metal API wrappers in MetalRHI. Change 3614015 by Mark.Satterthwaite Initial extensions to mtlpp: - Fixed over retention of alloc-init'd objects. - Added 10_13 & 11_0 availablity macros. - Started, but have not yet finished adding new Metal API function wrappers. Change 3614909 by Rolando.Caloca DR - Fix static analysis Change 3614916 by Michael.Lentine Add function to convert FP32 to FP16 Change 3614957 by Mark.Satterthwaite mtlpp declarations for macOS 10.13 & iOS 11 Metal features - no matching definitions yet. Change 3614995 by Mark.Satterthwaite Revert all changes to project config's from Rhino that should not have come back to Dev-Rendering, keeping only the solitary change to Metal shader standard necessary for ShowdownDemo. Change 3615035 by Rolando.Caloca DR - Generate mips using shader for HZB Change 3615561 by Rolando.Caloca DR - Fix deprecation warning Change 3615787 by Mark.Satterthwaite Only emit min. OS version specification into the Metal shader bytecode for macOS as we share shaders between iOS & tvOS and this option inhibts that. #jira UE-48919 Change 3616317 by Mark.Satterthwaite Make TonemapperConfBitmaskPC the proper size so we dn't attempt to access uninitialized memory. Change 3616357 by Mark.Satterthwaite And fix some compile errors... Change 3616473 by Rolando.Caloca DR - Render pass api minor changes Change 3616518 by Mark.Satterthwaite Fix a merge snafu where dead code was retained where it shouldn't be. #jira UE-48472 Change 3616706 by Rolando.Caloca DR - Vulkan fixes (integration from Vulkan working branch) - Fix for editor outline - Fix for profilegpu Change 3616770 by Rolando.Caloca DR - vk - Mark GIsGPUCrashed on device lost Change 3616993 by Daniel.Wright IndirectLightingCacheQuality respects VolumetricLightingMethod Change 3616996 by Daniel.Wright Volumetric Lightmap show flag is respected by Volumetric Fog Change 3616999 by Daniel.Wright Fixed ObjectRadius in Volume domain materials Change 3617777 by Rolando.Caloca DR - Fix static analysis warning Change 3617863 by Guillaume.Abadie PR #3875: Removed Duplicated "RHI" Module Dependency (Contributed by DavidNSilva) #jira UE-48159 Change 3618133 by Rolando.Caloca DR - vk - Set general layout for compute shader resources - Assume transitions to writable imply end render pass Change 3618292 by Michael.Lentine Add support for Expressions, Jump Statments, and Structs. Change 3618326 by Rolando.Caloca DR - vk - Fix transition flags Change 3618408 by Daniel.Wright Lightmass skylight solver improvements * Lightmass uses a filtered cubemap to represent the skylight instead of a 3rd order Spherical Harmonic. Directionality in shadowed areas is improved. Mip level is chosen based on the ray differential for anti-aliasing. * Multiple skylight and emissive bounces are now supported with a radiosity solver, controlled by NumSkyLightingBounces in Lightmass WorldSettings. More bounces results in longer build times, and the radiosity time is not distributable. * The mapping surface cache is now rasterized with supersampling, reduces incorrect darkness in corners * Combined direct lighting, photon irradiance, skylight radiosity and diffuse in the mapping surface cache so final gather rays only have to do one memory fetch, speeds up lighting builds by 7%. * Added support for Embree packet tracing although no solver algorithms use it yet Change 3618413 by Daniel.Wright Swarm hands out the most expensive tasks in roughly a round robin ordering among distribution agents. Lightmass processing of a single task is multithreaded, so ideally the most expensive tasks are evenly distributed among active agents. This has the biggest impact in small scenes with 10's of high resolution lightmaps, and with a distribution farm. Build time in one scene went from to 113s -> 47s. Change 3618439 by Mark.Satterthwaite Fix the assert in hlslcc when we have saturate(int) and the shader language spec. supports a native saturate intrinsic. Change 3618468 by Rolando.Caloca DR - vk - Fix copy to non render target surface Change 3618696 by Daniel.Wright Worked around Lightmass crash callstacks not getting reported back to the editor Change 3618779 by Mark.Satterthwaite mtlpp definitions for a few of the new calls & fixing the max. number of samplers it assumes. Change 3618789 by Daniel.Wright Added missing file Change 3618816 by Daniel.Wright Another missing file Change 3618855 by Rolando.Caloca DR - vk - Show user debug markers when using dump layers - Remove old defines Change 3618887 by Rolando.Caloca DR - Fix for missing transition to readable for blur widget. Was causing corruption on Vulkan. Change 3618999 by Mark.Satterthwaite Definitions for Metal's new CaptureManager & CaptureScope classes. Change 3619790 by Jian.Ru Add some debug info #jira UE-48710 Change 3619834 by Rolando.Caloca DR - vk - static analysis fix Change 3619952 by Rolando.Caloca DR - vk - Static analysis not smart enough... Change 3620191 by Jian.Ru Revert 3584245 to prevent focus stealing #jira UE-49044 Change 3620402 by Mark.Satterthwaite Remaining Metal definitions for mtlpp. Change 3620803 by Brian.Karis Removed faceting bug I introduced to Dither Opacity Mask. Removes the attempt to make opacity stack properly. Change 3620904 by Michael.Lentine Change the order of static and const Change 3620975 by Rolando.Caloca DR - Updated Vulkan headers to SDK 1.0.57.0 Change 3621026 by Rolando.Caloca DR - Remove unused type - Force recompile with new Vulkan headers Change 3621070 by Rolando.Caloca DR - glslang - Fix pdb option Change 3621157 by Arciel.Rekman Added files to cross-build glslang on Windows. (Edigrating //UE4/Main/...@3621127 to //UE4/Dev-Rendering/...) Change 3621194 by Rolando.Caloca DR - glslang - Update to 1.0.57.0 - Fix some tab/whitespace mismatch Change 3621225 by Rolando.Caloca DR - Revert glslang (Back out changelist 3621194) Change 3621254 by Mark.Satterthwaite Duplicate 3610656 and revert the incorrect merge from the Rhino task stream. Fixes EyeAdaptation on all clang platforms properly thanks to RCL. Change 3621261 by Mark.Satterthwaite Trivial FMetalStateCache optimisations - won't help much but equally they shouldn't hurt. Change 3621262 by Mark.Satterthwaite Correct the handling of MSAA target in Desktop Forward for iOS - now the problem is that iOS always creates an internal resolve target so which texture to bind depends on the shader parameter type. Not sure (yet) how best to solve that. Change 3621263 by Mark.Satterthwaite Don't mandate Mobile Metal for projects that have Metal MRT enabled. Change 3621301 by Rolando.Caloca DR - Unity build fix Change 3621349 by Mark.Satterthwaite Fix a bug in MetalBackend that was omitting the depth-output variable from the hlslcc signature if the semantic was SV_DepthLessEqual rather than SV_Depth. Change 3621546 by Uriel.Doyon Refactor of the texture 2D mip update logic to offload more work on the async thread. #jira UE-45332 #jira UE-45789 Change 3622210 by Rolando.Caloca DR - Do not store DDC data if static mesh failed to build #jira UE-48358 Change 3622349 by Arciel.Rekman Better build script for Linux glslang and a bugfix. (Edigrating CL 3622235 from //UE4/Main/... to //UE4/Dev-Rendering/...) Change 3622401 by Rolando.Caloca DR - vk - Integration - Support for r.Vulkan.ProfileCmdBuffers Change 3622506 by Rolando.Caloca DR - vk - Back out changelist 3622401 Change 3622521 by Mark.Satterthwaite Support disabling V-Sync in MetalRHI on macOS 10.13+. Change 3622910 by Rolando.Caloca DR - static analysis fix Change 3622964 by Mark.Satterthwaite Fix generation of .metallib on local Macs and exclude .metallib files from the pak - they must always be loaded from disk. #jira UE-48193 Change 3622986 by Mark.Satterthwaite A couple more trivial optimisations to MetalRHI for iOS: - Metal page size is 4k but only buffers under 512 bytes should go through set*Bytes on iOS to balance CPU cost. - On iOS the minimum buffer size should therefore be 1k and on Mac 4k as nothing else makes much sense. - No need to rebind uniform buffers if to the same slot - it just wastes cycles. Change 3623266 by Rolando.Caloca DR - Fix GL4 rendering #jira UE-49187 Change 3623377 by Daniel.Wright Volume materials applied to static meshes operate on the object's bounding sphere Change 3623427 by Mark.Satterthwaite Fix MetalViewport compile errors on Xode 8.3. #jira UE-49231 Change 3623443 by Daniel.Wright Fixed out of bounds crash in lightmass Change 3623751 by Daniel.Wright Volume materials on static meshes now voxelize the mesh's Object space bounding box Change 3625142 by Guillaume.Abadie PR #2992: Fixing aspect ratio issue of SceneCapture2D rendering in "Ortho" camera mode (Contributed by monsieurgustav) Change 3625983 by Jian.Ru Fix a LPV race condtion due to parallel RSM draw-call submission #jira UE-48247 Change 3626015 by Jian.Ru Small fix to 3625983 Change 3626294 by Michael.Trepka Copy of CL 3535792 and 3576637 Added support for changing monitor's display mode on Mac in fullscreen mode. This greatly improves performance on Retina screens when playing in resolutions lower than native. Fixed a problem with incorrect viewport size being set in windowed fullscreen in some cases. Also, slightly improved screen fades for fullscreen mode transitions on Mac. #jira UE-48018 Change 3626532 by Marcus.Wassmer Fix divide by 0 crash when GPU timing frequency not available for whatever reason. Change 3626548 by Ryan.Brucks KismetRenderingLibrary: Added EditorOnly function for creating static textures from Render Targets. Has options for Mip and Compression Settings Change 3626874 by Mark.Satterthwaite Fix Metal 2.0 compilation. Change 3626997 by Rolando.Caloca DR - vk - cis fix - Initial RGBA16 readback Change 3627016 by Mark.Satterthwaite Workaround more of Metal's unfortunate tendency to re-associate float mul/add/sub operations - this time from Metal's own standard-library. Change 3627040 by Brian.Karis Removed old rasterized deferred reflection env path. Removed reflection compute shader. Replaced with PS. Small perf gain. Change 3627055 by Mark.Satterthwaite No MSAA support on Intel Metal or iOS Desktop Forward for the moment as neitehr work and I don't want to have lots of crashes out in the wild until we have a solution. Change 3627057 by Mark.Satterthwaite Make SCW's directcompile not fall over with Metal when there are compilation errors. Change 3627083 by Mark.Satterthwaite Invalidate Metal shaders so QA testing picks up the most recent changes. Change 3627788 by Chris.Bunner [Duplicate, CL 3627751] - VisibleExpressions static switch value evaluation needs to handle reroute nodes rather than only verify first expression. Change 3627834 by Rolando.Caloca DR - cis fix Change 3627847 by Rolando.Caloca DR - 4th try to fix static analysis Change 3627877 by Guillaume.Abadie Works arround a HLSLCC bug in a SimpleComposure project's material where x != x does not work for an unknown reason yet. #jira UE-48063 Change 3628035 by Marcus.Wassmer Duplicate 3620990 Smarter scenecapture allocation behavior. Change 3628204 by Daniel.Wright Fixed denormalization scale on one of the 2nd SH band of volumetric lightmaps Change 3628217 by Mark.Satterthwaite Fix InfiltratorForward project defaults so that iOS will package. Change 3628515 by Arne.Schober DR - [UE-49213] - Fix case where HZB was not generated for SSR and SSAO when Occlusion culling was disabled. #RB Marcus.Wassmer Change 3628550 by Chris.Bunner Merge fixes. Change 3628597 by Chris.Bunner Merge fixes. Change 3628656 by Michael.Trepka One more workaround for a bug in StandardPlatformString.cpp. It doesn't handle %lf format correctly, parsing it as long double instead of ignoring the 'l' format sub-specifier. Change 3628685 by Daniel.Wright CPU interpolation of Volumetric Lightmaps for the mobile renderer. They use a scene cache based on interpolation position, since the precomputed lighting buffer for movable objects is recreated every frame. Change 3629094 by Ryan.Brucks Fixes to RenderTargetCreateStaticTexture2DEditorOnly with additional error checks #RB none Change 3629223 by Rolando.Caloca DR - Rollback //UE4/Dev-Rendering/Engine/Source/Runtime/VulkanRHI to changelist 3627847 Change 3629491 by Rolando.Caloca DR - Revert back to emulated uniform buffers on SM4/SM5 Change 3629663 by Daniel.Wright Fixed NaN when capsule shadow direction is derived from volumetric lightmap with completely black lighting Change 3629664 by Daniel.Wright Don't render dynamic indirect occlusion from mesh distance fields when operating on a movable skylight, since DFAO fills that role Change 3629708 by Rolando.Caloca DR - vk - Redo some changes from DevMobile 3601439 3604186 3606672 3617383 3617474 3617483 Change 3629770 by Mark.Satterthwaite Fix a mobile Metal shader compilation error when using the FMA workaround for "cross" which should only be applied if the min. Metal version is 1.2 (as FMA is not known to work prior to this). Change 3629793 by Daniel.Wright Fixed VolumetricLightmapDetailCellSize not being respected in small levels, causing too much volumetric lightmap density and memory Change 3629859 by Mark.Satterthwaite macOS 10.12 also had problems with MSAA in forward rendering - so only permit it to work on macOS 10.13 and above. Change 3630790 by Mark.Satterthwaite Move RHISupportsMSAA so that the Metal related complications for when it is viable can be hidden within. Change 3630990 by Rolando.Caloca DR - vk - Redid CL 3617437 (optimize number of Buffer Views, eg 165 to 58) Change 3631071 by Mark.Satterthwaite Fix a small gotcha in a change from Dev-Mobile: for MetalRHI we need to explicitly configure the ShaderCacheContext for the immediate/device context after initialising the shader-cache. #jira UE-49431 Change 3631076 by Rolando.Caloca DR - vk - Redo 3617574, reduce number of render pass objects created Change 3631250 by Mark.Satterthwaite Make another Metal warning a Verbose log instead as it isn't interesting unless you are me. Change 3631911 by Chris.Bunner Back out changelist 3628035. #jira UE-49364, UE-49365 Change 3632041 by Mark.Satterthwaite Fix cloth rendering on Metal - some of the data in FClothVertex is uint but we load it from a float buffer. This could be due to a bug in Metal's as_type<uint4>() or it could be that Xcode 9's compiler is now finally enforcing Metal's official flush-to-zero-on-load semantics for denorms - it isn't immediately obvious. #jira UE-49439 Change 3632261 by Brian.Karis SM4 fallback for reflection captures. Change 3632281 by Mark.Satterthwaite Fix an intermittent assert on startup when the AVFoundation movie player gets the QAGame TM-ShaderModels video ready to play prior to the rendering thread being back online when resizing the window. This is done by deferring the processing of AVFoundation events to the game-thread where it won't cause a threading violation. Change 3632382 by Rolando.Caloca DR - vk - Fix clang warning Change 3633338 by Chris.Bunner Static analysis/Linux compile fix. #jira UE-49502 Change 3633616 by Jian.Ru Force alpha to 0xff for functional UI screenshot tests #jira UE-48266 Change 3633818 by Daniel.Wright Better indirection texture clamping and asserts Change 3634319 by Mark.Satterthwaite Stop FVolumetricLightmapDataLayer ::Discard which is invoked by the Editor RHI during texture-upload from chucking the backing data when in the Editor - because if we do that then cooking will serialise an empty array. This was only apparent on Mac because Metal always invokes Discard on BulkDataInterfaces and D3D11 never does. #jira UE-49381 Change 3634613 by Rolando.Caloca DR - Call discard on bulk data for textures #jira UE-49533 Change 3634654 by Mark.Satterthwaite Fixes for broken iOS builds: - Fix RHIGetShaderLanguageVersion returning the wrong version for iOS Metal if the Mac version had already been queried - this has been wrong for a long while. - Remove the precise:: qualifier for Metal's fma intrinsic - it isn't necessary and breaks on older OSes. #jira UE-49381 Change 3634820 by Mark.Satterthwaite Change the hash-function for the preprocessed HLSL source in FMetalShaderOutputCooker to reduce risk of hash-collisions. Fixes one cause of UE-49381 and reveals an underlying driver bug on iOS 9 with runtime-compiled text shaders *only*. #jira UE-49381 Change 3634821 by Mark.Satterthwaite Force Metal shaders only to recompile by incrementing the format version. [CL 3635058 by Chris Bunner in Main branch]
2017-09-09 16:29:11 -04:00
const int32 MaxResMipBias = Texture2D->GetNumMips() - Texture2D->GetNumMipsAllowed(true);
const int32 MaxResSize = FMath::Max<int32>(Texture2D->GetSizeX() >> MaxResMipBias, 1) * FMath::Max<int32>(Texture2D->GetSizeY() >> MaxResMipBias, 1);
MaxSize = FMath::Max<int32>(MaxSize, MaxResSize);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
}
}
MaterialImportance.Add(MaxSize);
SummedSize += MaxSize;
}
float WeightPerPixel = 1.0f / SummedSize;
for (int32 MaterialIndex = 0; MaterialIndex < InMaterials.Num(); ++MaterialIndex)
{
OutImportance.Add((float)MaterialImportance[MaterialIndex] * WeightPerPixel);
}
}
void FMaterialUtilities::GeneratedBinnedTextureSquares(const FVector2D DestinationSize, TArray<float>& InTexureWeights, TArray<FBox2D>& OutGeneratedBoxes)
{
typedef FBox2D FTextureArea;
struct FWeightedTexture
{
FTextureArea Area;
int32 TextureIndex;
float Weight;
};
TArray<FWeightedTexture> WeightedTextures;
const float TotalArea = DestinationSize.X * DestinationSize.Y;
// Generate textures with their size calculated according to their weight
for (int32 WeightIndex = 0; WeightIndex < InTexureWeights.Num(); ++WeightIndex)
{
const float Weight = InTexureWeights[WeightIndex];
FWeightedTexture Texture;
float TextureSize = FMath::Sqrt(TotalArea*Weight);
Texture.Area = FTextureArea( FVector2D(0.0f,0.0f), FVector2D(TextureSize, TextureSize));
Texture.TextureIndex = WeightIndex;
Texture.Weight = Weight;
WeightedTextures.Add(Texture);
}
// Sort textures by their weight (high to low) which influences the insert order
WeightedTextures.Sort([](const FWeightedTexture& One, const FWeightedTexture& Two) { return One.Weight > Two.Weight; });
TArray<FWeightedTexture> InsertedTextures;
typedef FBox2D FUnusedArea;
TArray<FUnusedArea> UnusedAreas;
bool bSuccess = true;
do
{
// Reset state
bSuccess = true;
UnusedAreas.Empty();
InsertedTextures.Empty();
FUnusedArea StartArea(FVector2D(0, 0), DestinationSize);
UnusedAreas.Add(StartArea);
for (const FWeightedTexture& Texture : WeightedTextures)
{
int32 BestAreaIndex = -1;
float RemainingArea = FLT_MAX;
FVector2D TextureSize = Texture.Area.GetSize();
float TextureSurface = TextureSize.X * TextureSize.Y;
// Find best area to insert this texture in (determined by tightest fit)
for (int32 AreaIndex = 0; AreaIndex < UnusedAreas.Num(); ++AreaIndex)
{
const FUnusedArea& UnusedArea = UnusedAreas[AreaIndex];
if (UnusedArea.GetSize().ComponentwiseAllGreaterOrEqual(TextureSize))
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
{
const float Remainder = UnusedArea.GetArea() - TextureSurface;
if (Remainder < RemainingArea && Remainder >= 0)
{
BestAreaIndex = AreaIndex;
RemainingArea = Remainder;
}
}
}
// Insert the texture in case we found an appropriate area
if (BestAreaIndex != -1)
{
FUnusedArea& UnusedArea = UnusedAreas[BestAreaIndex];
FVector2D UnusedSize = UnusedArea.GetSize();
// Push back texture
FWeightedTexture WeightedTexture;
WeightedTexture.Area = FTextureArea(UnusedArea.Min, UnusedArea.Min + TextureSize);
WeightedTexture.TextureIndex = Texture.TextureIndex;
InsertedTextures.Add(WeightedTexture);
// Generate two new resulting unused areas from splitting up the result
/*
___________
| | |
| | V |
|_____| |
| H | |
|_____|___|
*/
FUnusedArea HorizontalArea, VerticalArea;
HorizontalArea.Min.X = UnusedArea.Min.X;
HorizontalArea.Min.Y = UnusedArea.Min.Y + TextureSize.Y;
HorizontalArea.Max.X = HorizontalArea.Min.X + TextureSize.X;
HorizontalArea.Max.Y = HorizontalArea.Min.Y + (UnusedSize.Y - TextureSize.Y);
VerticalArea.Min.X = UnusedArea.Min.X + TextureSize.X;
VerticalArea.Min.Y = UnusedArea.Min.Y;
VerticalArea.Max.X = VerticalArea.Min.X + (UnusedSize.X - TextureSize.X);
VerticalArea.Max.Y = UnusedSize.Y;
// Append valid new areas to list (replace original one with either one of the new ones)
const bool bValidHorizontal = HorizontalArea.GetArea() > 0.0f;
const bool bValidVertical = VerticalArea.GetArea() > 0.0f;
if (bValidVertical && bValidHorizontal)
{
UnusedAreas[BestAreaIndex] = HorizontalArea;
UnusedAreas.Add(VerticalArea);
}
else if (bValidVertical)
{
UnusedAreas[BestAreaIndex] = VerticalArea;
}
else if (bValidHorizontal)
{
UnusedAreas[BestAreaIndex] = HorizontalArea;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3153514) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3136629 on 2016/09/22 by Marc.Audy bye bye auto Change 3136631 on 2016/09/22 by Marc.Audy Allow objects to be marked as duplicate transient or non PIE duplicate transient ChildActors are not marked consistent with the property that references them as text export transient and non PIE duplicate transient #jira UE-35680 Change 3136636 on 2016/09/22 by Marc.Audy ParticleSystem and Audio Components now route Activate/Deactivate events to blueprints Component Activate/Deactivate events now provide component as a property #jira UE-35191 Change 3136640 on 2016/09/22 by Marc.Audy Expose bReplicates to blueprint component properties #jira UE-34433 Change 3136709 on 2016/09/22 by Ori.Cohen Fix GetBodyInstance returning incorrect bodies when welded kinematics are attached. #JIRA UE-36234 Change 3136710 on 2016/09/22 by Ori.Cohen Fix defer actors not working when the physics scene is simulating. We now flush when the scene is not simulating, as well as a lazy flush that goes through the slow path when needed. This allows us to batch multiple components together. #JIRA UE-35899 Change 3136770 on 2016/09/22 by Marc.Audy Fix compile error Change 3136854 on 2016/09/22 by Marc.Audy Sprite components need to be text export transient #jira UE-36064 Change 3136926 on 2016/09/22 by Ori.Cohen Fix ensure when skeletal mesh bodies have no collision. Change 3137054 on 2016/09/22 by Aaron.McLeran PR #2628: Fix UAudioComponent SubtitlePriority not being initialised (Contributed by alanedwardes) Change 3137058 on 2016/09/22 by Aaron.McLeran PR #2562: ReadCompressedInfo calculates duration for ADPCM audio (Contributed by derekvanvliet) Change 3137060 on 2016/09/22 by Aaron.McLeran UE-36336 Fixing A3D for mono/2D sounds - Making it so if A3D is being loaded but not enabled, we can not have reverb on 2D sounds - Fixing A3D mono sources from failing after a time Change 3137066 on 2016/09/22 by Aaron.McLeran Checking in Ngs2.Build.cs with A3D and USING_A3D set to 0 Change 3137098 on 2016/09/22 by dan.reynolds AEOverview Update: EQ Map, Reverb Map plus improvements on Main array cleanup process. Change 3137132 on 2016/09/22 by Aaron.McLeran PR #2789: Fixed signature of FActiveSound::GetIntParameter (Contributed by Laurie-Hedge) Change 3137175 on 2016/09/22 by Aaron.McLeran Fixing compile error with PhysXCollision.cpp from CL 3136710 Change 3137540 on 2016/09/23 by Thomas.Sarkanen Fixed crash when generating LODs automatically for skeletal meshes Quadric error reduction does not support skeletal meshes, so fails. Client code assumes that it cannot fail so crashed. This guards against immediatly assuming that LODs are valid after simplification. #jira UE-36253 - Crash applying LOD changes in Persona Change 3137720 on 2016/09/23 by Thomas.Sarkanen Changed asset shortcut bar to display asset names & reworked padding #jira UE-36347 - Anim asset shortcut bar has difficult to read/cut-off text Change 3137761 on 2016/09/23 by Martin.Wilson Fix typo in root motion from everything accumulation code Change 3137877 on 2016/09/23 by Thomas.Sarkanen Fixed undo/redo forcing skeletal meshes into t-pose Re-populated AnimationData in InitAnim for UDebugSkelMeshComponent. #jira UE-35579 - If you undo an animation change to any animation asset (for single preview), the playback controls will no longer function Change 3137885 on 2016/09/23 by Benn.Gallagher Fixed APEX clothing disappearing when time dilation results in a dt of 0. After simulating an actor with 0 APEX will fill positions and normals with NaNs, causing the disappearance. The fix in this case is to not schedule the evaluation task if we're not wanting to do any work. The simulation then freezes as we would expect. #jira UE-35151 Change 3137888 on 2016/09/23 by Benn.Gallagher Fixed transition nodes being able to be pasted or duplicated without 2 valid pin links #jira UE-24860 Change 3137889 on 2016/09/23 by Benn.Gallagher Fixed transform and widget inconsistencies in IK edit mode #jira UE-20628 Change 3137890 on 2016/09/23 by Jurre.deBaare Alembic Cached Geometry Does Not Display in Stand Alone Game #fix required to force load the GeometryCache module during runtime #jira UE-36187 Change 3137892 on 2016/09/23 by Jurre.deBaare Geometry cache playback should work in sequencer #fix add Interp UProperty tag to specific properties used for playing back the cache, future fix is having same approach as skeletal mesh animation for sequencer (depends on needs, -> skeletal mesh import has better compression anyway) #jira UE-35447 Change 3137893 on 2016/09/23 by Jurre.deBaare Alembic Cache Importer option for Hard Edge Angle Threshold does not work for objects with no normals #fix adhere to the assumed 'standard' no normals in ABC file means completely smooth normals throughout the sequence #jira UE-35091 Change 3137894 on 2016/09/23 by Jurre.deBaare Importing an Alembic File While mesh Distance Fields are Enabled Crashes Editor #fix Needed to save the raw mesh before building the mesh to ensure a LOD resource was created #misc added a new check + message in case this occurs again #jira UE-36059 Change 3137938 on 2016/09/23 by Jurre.deBaare Alembic Importing with Incorrect UV's #fix adding option for flipping UVs on import #jira UE-36190 Alembic import axis not aligned correctly #fix also added option to specify scale and rotation to be applied during import (with preset for Maya and Max) #jira UE-35510 Change 3137949 on 2016/09/23 by Jurre.deBaare Frame range importing causes confusion during Alembic importing #fix this required storing information per Alembic object at which frame index it actual has stored frames, using this data we can determine which frames are empty, and at which frame there is data. This allows us to skip empty frames if we want to import data-only frames, or to import all frames in the sequence including empty (pre-roll) frames. #misc changed settings UI listview layout (extra columns and resized old ones) #jira UE-35498 Change 3137994 on 2016/09/23 by Martin.Wilson Fix for creating an empty state when dragging a montage into a state machine graph #jira UE-33371 Change 3138103 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds Change 3138104 on 2016/09/23 by Aaron.McLeran UE-35392 Copy pasting local node into separate project crashes the engine Change 3138224 on 2016/09/23 by Aaron.McLeran UE-36312 Fixing sound node distance cross fade for case of looping sounds - Adding a check for wave instance count to account for virtualized sounds (one-shots) Change 3138666 on 2016/09/23 by Ben.Zeigler #UEFW-204 Add more comprehensive gameplay tag tests Fix issue with HasTag(Tag, IncludeParent, IncludeParent) revealed by tests, this was not returning true correctly in some cases. This use case is weird and will be deprecated soon Change 3138779 on 2016/09/23 by Marc.Audy Get rid of pointless casts Change 3138782 on 2016/09/23 by Marc.Audy remove some GWorlds Change 3139701 on 2016/09/26 by Jurre.deBaare Assert failed on GemetryCache for PS4 package #fix add GeometryCache reference in engine build.cs and fix the serialization of geometry cache files #jira UE-36392 Change 3139704 on 2016/09/26 by Jurre.deBaare Fix for -1 begin frame #fix do the max as an signed int, to make sure we don't wrap around Change 3139748 on 2016/09/26 by Benn.Gallagher PR #2784: Make sure that SceneScratchBufferSize is a multiple of 16K as requested by PhysX (Contributed by DenizPiri) Moved the definition of the boundary to a FPhysScene class static Changed comments on original user settings property to communicate the fact that the value is now rounded to the next 16K boundary #jira UE-35736 Change 3139903 on 2016/09/26 by Benn.Gallagher Fixed exposing subinstance pins stomping over class defaults and setting to uninitialized values #jira UE-34366 Change 3140409 on 2016/09/26 by Lukasz.Furman fixed uninitialized configs of gameplay debugger copy of CL# 3140399 Change 3140516 on 2016/09/26 by dan.reynolds AEOverview Map Update - Ambient Zone + Focus Test Change 3140526 on 2016/09/26 by Jon.Nabozny #rn Fixed CanJump inconsistencies with previous versions. Deferred JumpCurrentCount increment until after jump, made bWasJumping a member variable, and updated how jump count and hold time were compared in CanJump. #jira UE-35524, UE-35582 Change 3140745 on 2016/09/26 by dan.reynolds AEOverview Test Map Update + Occlusion Test Change 3140839 on 2016/09/26 by dan.reynolds AEOverview - minor updates Change 3141101 on 2016/09/27 by Thomas.Sarkanen Preview scene worlds now render correctly Split "Preview" type into "EditorPreview" (the default) and "GamePreview". Deprecated the old "Preview" world type (but kept its index). In-game hidden flags now apply to GamePreview, but not EditorPreview worlds. Deprecated old bHack_Force_UsesGameHiddenFlags_True boolean. GamePReview now serves this purpose. Fixed up UT cases where this was being used. FPreviewScenes now use the editor mode by default, but can be set to non-editor if needed (as is the case with the still-experimental UViewport). Custom depth pass is not enabled for EditorPreview (as before) but is for GamePreview. Fixed erroneous use of TEnumAsByte for non-uproperty WorldType. #jira UE-22883 - Using FPreviewScenes in-game for scene captures Change 3141106 on 2016/09/27 by Thomas.Sarkanen Column toggling improvements Column toggle menu now does not close when items are selected. This requries some Slate changes to how submenus are built to allow for sumbenus to specify whether they close after selection. Also allowed columns to be hidden by default for specific use cases (like the sequence browser). #jira UE-35818 - Anim asset browser column picker should stay up Change 3141131 on 2016/09/27 by Thomas.Sarkanen Fix CIS warnings Fallout from preview world changes Change 3141143 on 2016/09/27 by Jurre.deBaare Fix for CIS errors Change 3141235 on 2016/09/27 by Thomas.Sarkanen Fix offset of Persona floor mesh when auto-alignment is enabled When auto alignment was disabled, the offset wasnt getting taken into account. #jira UE-35544 - In Persona, Floor Height Offset does nothing with Auto Align Floor to Mesh disabled Change 3141327 on 2016/09/27 by Marc.Audy Ensure that the client side AttachChildren array remains accurate #jira UE-26025 Change 3141474 on 2016/09/27 by mason.seay Updating test map name and moving PlayerStart Change 3141501 on 2016/09/27 by Benn.Gallagher Loading time improvements for destructibles from Nvidia Updated to use new framework custom version instead of global object version Fixed usage of TArray to enable correct loading and saving of the cached data. #jira UE-29680 Change 3141889 on 2016/09/27 by Marc.Audy Fix DestructibleMesh when WITH_APEX is 0 #jira UE-36484 Change 3142034 on 2016/09/27 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3141971 Change 3142131 on 2016/09/27 by Ori.Cohen Make sure we return eTouch to physx during an overlap query. Fixes bad behavior when multiple objects blocked in an overlap query. #JIRA UE-36381 Change 3142154 on 2016/09/27 by Ori.Cohen Fix build, ModuleCachedData instead of NxApexModuleCachedData Change 3142159 on 2016/09/27 by mason.seay Blueprint for testing Child Actor Templates Change 3142255 on 2016/09/27 by Jon.Nabozny Fix crashes in QAMeshMerge component by making it a UObject, exposing it's method statically, and taking QASkeletalMeshMergeParams as an argument. #jira UE-35199, UE-35197, UE-35201 Change 3142717 on 2016/09/27 by dan.reynolds AEOverview Update + Sound Class Test Change 3142764 on 2016/09/27 by Marc.Audy Fix Ocean deprecation warnings Change 3142962 on 2016/09/28 by Thomas.Sarkanen Fixed bounds calculations for local camera animations Correctly calculated bounds as local to the initial transform in the track. Implemented suggested fixes from UDN user chhaddon (The Coalition). #jira UE-29594 - CameraAnim bounds are incorrect when bRelativeToInitialTransform == true Change 3143007 on 2016/09/28 by Martin.Wilson Added virtual bones to USkeleton API Breaking change: -Added USkeleton pointer to RemoveBonesByName -FReferenceSkeleton::UpdateRefPoseTransform & FReferenceSkeleton::Add made private. Must use FReferenceSkeletonModifier instead #jira UEFW-81 Change 3143040 on 2016/09/28 by James.Golding Strip DrawDebug.. functions from Shipping and Test builds, controlled by new define ENABLE_DRAW_DEBUG Fix up game projects to compile in Shipping/Test after this change PR #2757: (Contributed by projectgheist) #jira UE-35488 Change 3143046 on 2016/09/28 by James.Golding Fix OrionEnvironmentPerfTest.cpp compiling in Shipping (optimizations were not being re-enabled at end of file) Change 3143047 on 2016/09/28 by James.Golding PR #2731: Capsule primitive drawing fix (Contributed by kamrann) #jira UE-35142 Change 3143050 on 2016/09/28 by Martin.Wilson Update DDC key as some animation have stale data Change 3143088 on 2016/09/28 by Martin.Wilson CIS Fixes for Ocean after FReferenceSkeleton changes Change 3143090 on 2016/09/28 by Benn.Gallagher Fixed split pins in animation blueprints losing their pin links on editor restart. The anim nodes had opted out of the Super version of reconstruct, but that's where split pin restoration was added so we were skipping it. #jira UE-36482 Change 3143091 on 2016/09/28 by Thomas.Sarkanen Fix play/pause keyboard shortcut toggle in Persona based editors Correctly handled widget mode switching in the skeleton selection edit mode (previously it was manually handling this rather than hooking into the correct level viewport callbacks). Added the ability for FEdModes to specify whether they can use a widget mode. Added a common set of commands that all Persona-based editors can opt into (only contains TogglePlay for now). #jira UE-35163 - Cannot use Play/Pause shortcut in Persona if viewport is focused Change 3143100 on 2016/09/28 by James.Golding UE-32275 Fix Anim Curve entries losing Auto state when hidden/reshown Change 3143107 on 2016/09/28 by Martin.Wilson Add check to IsRunningParallelEvaluation to verify that the skeletal mesh component in question still references us #jira UE-34431 Change 3143125 on 2016/09/28 by Jurre.deBaare PR #2749: Fix blend space triangulation (Contributed by tmiv) Change 3143225 on 2016/09/28 by Jurre.deBaare Mesh/material merging basic test files Change 3143235 on 2016/09/28 by Martin.Wilson Fix issue where montage wrong section was updated with changes from details panel when clicking on a new section #jira UE-35929 Change 3143312 on 2016/09/28 by Marc.Audy Don't globally reregister components, globally recreate render state instead when force deleting assets Fixes crash force deleting a blueprint with a child actor component in it from the content browser Change 3143340 on 2016/09/28 by Mieszko.Zielinski Improved consistency of loudness usage in AISense_Hearing #UE4 Change 3143359 on 2016/09/28 by Marc.Audy Fix spelling error in comment Change 3143372 on 2016/09/28 by Jurre.deBaare HLOD meshes are causing degenerate triangles #fix Setting flag to ignore degenerate triangles when building the meshes vertex/index buffers #jira UE-34336 Change 3143420 on 2016/09/28 by Mieszko.Zielinski Fix to BlackboardData initialization's dependency on parent asset's initialization #UE4 Change 3143421 on 2016/09/28 by Martin.Wilson Allow reading on animation sequence length in blueprints #jira UE-34168 Change 3143455 on 2016/09/28 by James.Golding Add 'noop' versions of DrawDebug function, so you will not get compile errors by default for calling them in Shipping/Test builds. Added optional SHIPPING_DRAW_DEBUG_ERROR define, which will give compile errors in Shipping/Test if still calling DrawDebug functions Change 3143518 on 2016/09/28 by Jurre.deBaare Meshes with no UV Coordinates will break the UVs of other meshes contained in the same HLOD if they share a material #fix calculate UV bounds and check whether they occupy any space (if not do not use them for baking out the material) #misc set texture sampling for HLOD proxy base material to clamp #jira UE-35221 Change 3143542 on 2016/09/28 by James.Golding Change SHIPPING_DRAW_DEBUG_ERROR define from ifdef to if Fix comment Enable by default for FN Change 3143543 on 2016/09/28 by Benn.Gallagher Changed branch + early return into an ensure during FPxQueryFilterCallback::preFilter. We were checking for invalid shapes in preFilter but that shouldn't happen. More likely to get some information as an ensure instead of earlying out on the funciton. Change 3143556 on 2016/09/28 by Aaron.McLeran UE-36540 Editor Preferences 'Enable Sound' option causes Real Time Audio to Stop Working after PIE Change 3143566 on 2016/09/28 by Benn.Gallagher Readded early out alongside new ensure for catching bad preFilter shapes Change 3143568 on 2016/09/28 by Marc.Audy Fix deprecation warnings in UT Change 3143572 on 2016/09/28 by Jurre.deBaare More test content for mesh/material merging Change 3143581 on 2016/09/28 by Jurre.deBaare More content :D Change 3143585 on 2016/09/28 by Jurre.deBaare Geometry cache cleaning #misc fix for missing materials, not serialized (facepalm) as they were added later on (required custom version bump) #misc cleaning out unecessary code Change 3143594 on 2016/09/28 by Marc.Audy Creating a child actor component by dragging an actor blueprint in to another blueprint now properly creates the template #jira UE-36511 Change 3143658 on 2016/09/28 by Marc.Audy RootComponent can be null by the time we hit PostUnregisterAllComponents so need to protect against the dereference #jira UE-36553 Change 3143776 on 2016/09/28 by Marc.Audy Properly reinstance child actor templates when using the fast reinstancing path #jira UE-36516 Change 3143896 on 2016/09/28 by Ori.Cohen Remove UPROPERTY on aggregate threshold which is always read from the physics settings. Change 3144022 on 2016/09/28 by Ben.Zeigler Move AIMoveTo node from BlueprintGraph to AIGraph and remove BlueprintGraph->AIModule dependency in build system Change 3144252 on 2016/09/28 by mason.seay More blueprints for child actor template testing Change 3144262 on 2016/09/28 by Mason.Seay Deleting assets Change 3144283 on 2016/09/28 by dan.reynolds AEOverview update + Sound Priority Test Change 3144411 on 2016/09/28 by dan.reynolds AEOverview end of day update and tweaks Change 3144679 on 2016/09/29 by Benn.Gallagher Changed skeletal bounds calculation to not consider clothing assets that aren't simulating in the current LOD. In this case we're not rendering the clothing, we're only rendering the skeletal geometry for that section in that LOD which isn't bound to cloth. Change 3144856 on 2016/09/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix OnLevelActorsAdded was getting called for actors in the thumbnail worlds, which forced a refresh on the listview #jira UE-30384 Change 3144864 on 2016/09/29 by Thomas.Sarkanen Preview mesh fixes Animation preview meshes are now respected (and saved). Mesh is displayed as empty if none is set (but a default is chosen). Skeleton preview meshes are now shown as empty if none is set (but a default is chosen). #jira UE-36582 - Cannot set preview mesh per-animation Change 3144865 on 2016/09/29 by Jurre.deBaare More test content Change 3144885 on 2016/09/29 by James.Golding UE-35307 Move 'invalid scale' warning to Message Log to be more visible in editor Change scale clamping in UpdateBodyScale to catch cases like (1,0,1) Change 3144903 on 2016/09/29 by Thomas.Sarkanen Deprecating StaticMesh in UStaticMeshComponent Added GetStaticMesh to access the value as read-only. SetStaticMesh is now called in all locations that used to call "StaticMesh =". Lots of fixups. #jira UE-24859 - Deprecate public access to StaticMesh property in UStaticMeshComponent Change 3145020 on 2016/09/29 by Thomas.Sarkanen Fix bounds calculations that include bones to respect LOD (and other requried bones) Sometimes bones would not be updated if we LOD switched, extending the bounds. #jira UE-36525 - UDebugSkelMeshComponent::CalcBounds should filter by LOD Change 3145041 on 2016/09/29 by Jurre.deBaare Setting the Target Lightmap UV Channel to an incorrect value leads to inconsistent results #fix removed target light map channel, we now determine according to the UV channels which are unused in the final mesh #misc ignore the source lightmap uv channels to reduce data #jira UE-36595 Change 3145219 on 2016/09/29 by Benn.Gallagher Fixed clothing actors not casting shadows in editor, after the material editing change the copy of the shadow flag was missed from the clothing association code, which runs on again on older clothing assets to use the new render data skinning. Also added some fix up for assets that have be saved in the mean time. #jira UE-36552 Change 3145222 on 2016/09/29 by Jurre.deBaare Exporting Alembic Skeletal mesh from UE4 to FBX causes a crash #fix on import set _all_ bone influence to 0 #jira UE-36602 Change 3145267 on 2016/09/29 by Ori.Cohen Move OnConstraintBreak delegate so that it fires outside of fetchResults. Fixes crash from user doing unsafe things during fetchResults. #JIRA UE-36483 Change 3145306 on 2016/09/29 by Jon.Nabozny Fixed PhAT so multiple constraints can be selected and edited properly at the same time. #JIRA: UE-31493 Change 3145342 on 2016/09/29 by Marc.Audy Do not update cull distance volumes whenever any property changes * Any movement or property change of a cull distance volume still does a global update * Any movement of a component belong to any other Actor updates only the components of that Actor * Any property change of a primitive component only updates that component #jira UE-36399 Change 3145958 on 2016/09/29 by Marc.Audy In game worlds don't auto activate components until the actor is ready to process them #jira UE-35189 Change 3146110 on 2016/09/29 by dan.reynolds AEOverview update + Soundwave Procedural Test Map Change 3146375 on 2016/09/30 by Benn.Gallagher Fixed crash saving newly created destructible mesh after material refactor. #jira UE-36619 Change 3146378 on 2016/09/30 by James.Golding UE-35908 Line trace against a BodyInstance now returns closest hit for trimesh (was any hit before) Also add stat for FBodyInstance::LineTrace Change 3146379 on 2016/09/30 by James.Golding Add test assets for creating procmesh collision in non-editor builds Change 3146386 on 2016/09/30 by Thomas.Sarkanen Fixed ensures (and functionality) of 'show uncompressed animation' option in Persona viewports Made sure that PreEvaluateAnimation is called for th einstance in use, rather than only the preview instance. This unearthed another issuye where each of the calls to GenSpaceBAses was causing the animation to run faster. Fixed this by resetting the update flag in the update context after it is used. #jira UE-36251 - Ensures showing uncompressed animations in anim blueprints Change 3146464 on 2016/09/30 by Thomas.Sarkanen Fix layered blend per bone odd/even connection counts alternately working/not working Older hacky fix for multi-property to array copies flip-flipped between using fast path and not, when it really should have disabled fast path after the first array pin. Now it disables fast path based on whether this is a new handler or not, rather than looking at the SimpleCopyPropertyName. #jira UE-35648 - Layered Blend Per Bone doesn't work correctly with 3+ inputs Change 3146652 on 2016/09/30 by Benn.Gallagher Fixed subinstance properties appearing in the caller's details panel as oddly named properties. #jira UE-34141 Change 3146673 on 2016/09/30 by Martin.Wilson Make RawAnimationData (and associated anim sequence data) private #jira ue-25869 Change 3146680 on 2016/09/30 by Benn.Gallagher Fixed errant asterisks in tooltips for source and target bone on rotation multiplier controller node #jira UE-29847 Change 3146681 on 2016/09/30 by Benn.Gallagher Fixed incorrect tooltip on left hand IK bone in hand ik retargetting node #jira UE-30885 Change 3146711 on 2016/09/30 by Jon.Nabozny Fix PhAT SnapConstraintToBone. #jira UE-31491 Change 3146717 on 2016/09/30 by Danny.Bouimad Adding Jurres really useful merge actor test assets to somewhere QA can get em. Change 3146738 on 2016/09/30 by Martin.Wilson Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1 #tests Editor tests with mambo pose asset #jira UE-36189 Change 3146750 on 2016/09/30 by Jurre.deBaare Material baking issue #misc Removed the renderer initialization which causes issue the first time you would render out a material (gradient from top left to bottom right over the texture) #misc Replaced incorrect masks with _way_ better approach thanks to Martin Change 3146755 on 2016/09/30 by Jurre.deBaare Need better progress bar for HLOD #fix replaced the progress updates with new more 'correct' ones according to the actual workload and fixed up the Simplygon progress callback #jira UE-34334 Change 3147085 on 2016/09/30 by Marc.Audy PR #2815: GetNextViewablePlayer now checking and returning correct PlayerState. (Contributed by joshkay) #jira UE-36632 Change 3147224 on 2016/09/30 by Martin.Wilson CIS Fix Change 3147280 on 2016/09/30 by Marc.Audy Mouse smoothing should use application frame rate, not the dilated game frame rate #jira UE-31040 Change 3147446 on 2016/09/30 by Aaron.McLeran UE-36682 SoundCue Delay Not Consuming Input StartTime Correctly Change 3147693 on 2016/09/30 by Ben.Zeigler #jira UE-36657 If a player has an existing Pawn during RestartPlayer, use that pawn's rotation instead of the start spot, because we were already keeping the pawn's location Change 3147697 on 2016/09/30 by Jon.Nabozny Add rotation parameter to FBodyInstance::Sweep and FBodyInstance::InternalSweepPhysX #jira UE-30486 Change 3147761 on 2016/09/30 by Jon.Nabozny Fix AUTRepulsorBubble UPrimitiveComponent::SweepComponent usage. Change 3148533 on 2016/10/03 by Thomas.Sarkanen Fix new deprecation warnings introduced by the pull from main Change 3148567 on 2016/10/03 by Marc.Audy Fix crash when exiting PIE while a panoramic screenshot is being taken Make stereo panorama tick with the world it is operating on #jira UE-36492 Change 3148571 on 2016/10/03 by Marc.Audy Allow modification of components that are EditAnywhere but don't exist in the CDO #jira UE-36694 Change 3148607 on 2016/10/03 by Martin.Wilson Properly end notify states when we clear the anim instance on a skeletal mesh. #jira UE-32488 Change 3148711 on 2016/10/03 by Martin.Wilson Fix type in virtual bone tooltip #jira UE-36703 Change 3148746 on 2016/10/03 by Benn.Gallagher Fixed a few cases where post process and sub instance anim calls weren't being made correctly. #jira UE-36529 Change 3148807 on 2016/10/03 by Martin.Wilson Fix mismatch skeleton error when undoing virtual bone changes #jira UE-36705 Change 3148812 on 2016/10/03 by Martin.Wilson Add undo support to removing virtual bones #jira UE-36706 Change 3148975 on 2016/10/03 by Jurre.deBaare Issue with combining meshes both with/without normal maps #fix make sure we always output atleast the default normal value when baking out materials, this to ensure we output non-black values for meshes without normal maps (this would cause the normal to be incorrect) #misc fixed issue in function to set texture rectangle to a single colour #misc spotted comparison error Change 3148976 on 2016/10/03 by Ori.Cohen Make sure that shape queries that we pass into physx are never size 0. Fixes some NaNs #JIRA UE-36639 Change 3148991 on 2016/10/03 by Jurre.deBaare Changing LOD materials on Merged Actors Crashes Editor #fix take into account LOD that is using the material when remapping (removing duplicate) materials #jira UE-35883 Change 3148997 on 2016/10/03 by Jurre.deBaare Make sure we remove matrix samples that fall outside of the import range and remap those that are in range Change 3149002 on 2016/10/03 by Jurre.deBaare Issues with importing Alembic caches using matrix transformations #fix Apply conversion matrix to imported matrix samples to make them match the DCC package they were exported from Change 3149030 on 2016/10/03 by Martin.Wilson Dont show save warning on animations when we have curve data #jira UE-34145 Change 3149115 on 2016/10/03 by Mieszko.Zielinski Made PathfollowingComponent distinct between patrial and full paths in terms of acceptance radius used, when trying to determin if pathing agent is at goal location #UE4 #jira UE-35153 Change 3149186 on 2016/10/03 by Ben.Zeigler #UE-36722 Fix failure to spawn when trying to spawn 4 capsules in the exact same location There's no "Correct" direction to move out of a penetrating capsule, but old PhysX appeared to be consistent. New PhysX is not, so now we save and restore the adjustment instead of letting previous iterations modify it. This code is weird but this solution is better than the old version and handles inconsistent results Change 3149235 on 2016/10/03 by Martin.Wilson Change inline curve name editing to only change the name of that specific curve, instead of renaming the smart name itself. #jira UE-20005 Change 3149245 on 2016/10/03 by Marc.Audy Remove duplicate entries from AttachChildren caused by lack of atomic cross-object updates. Change 3149397 on 2016/10/03 by Ori.Cohen Fix collision profile writing out response values to channels that don't exist. #JIRA UE-36359 Change 3149679 on 2016/10/03 by Zak.Middleton #ue4 - Don't mark CharacterMovementComponent::bUseControllerDesiredRotation as an advanced property. Consolidate rotation settings (RotationRate, bUseControllerDesiredRotation, bOrientRotationToMovement) in a new "Rotation Settings" category. Change 3149929 on 2016/10/04 by Jurre.deBaare Fix for CIS errors #fix Mac didn't like undefined struct Change 3149977 on 2016/10/04 by danny.bouimad Massive update to Merge Actor test files Change 3150014 on 2016/10/04 by James.Golding UE-36686 Fix crash when slicing and not creating other section Change 3150016 on 2016/10/04 by James.Golding UE-35335 MergeActors now converts box collision to convex, so collision scales correctly after merging Change 3150019 on 2016/10/04 by James.Golding UE-36737 Fix LineTraceComponent not returning face index Change 3150020 on 2016/10/04 by James.Golding UE-36672 Export PhysicsContstraintComponent class so it can be subclassed outside Engine module Change 3150027 on 2016/10/04 by Ben.Marsh Add PhysX build option into Dev-Framework. Change 3150042 on 2016/10/04 by Benn.Gallagher Fixed clothing example 1.3 collision glitches Change 3150172 on 2016/10/04 by Benn.Gallagher Made Skeletal Mesh LOD reimports clear any existing simplification flag so we don't show "generated" next to LOD entries for them. #jira UE-36589 Change 3150319 on 2016/10/04 by Ori.Cohen Go back to only deferring body creation per component. This can now use the slow path when needed. Can't support deferring of multiple components without changing locking API so we'll do that in the future. #JIRA UE-36535, UE-36504 Change 3150355 on 2016/10/04 by Zak.Middleton #ue4 - Change checkSlow() to check() in GetDefaultObject<> because this is potentially an unsafe static cast. Change 3150370 on 2016/10/04 by Ori.Cohen Fix deferred actors not getting flushed. Change 3150386 on 2016/10/04 by Martin.Wilson Fix additive animation check failing in cooked builds when using virtual bones #jira UE-36743 Change 3150424 on 2016/10/04 by Ori.Cohen Exclude kinematic actors from active transforms generation. Change 3150613 on 2016/10/04 by Zak.Middleton #ue4 - Fix bad GetDefaultObject<> in AbilitySystemGlobals. Turned up since changing checkSlow() to check() in GetDefaultObject. (Mirror CL 3138304 in Orion-DevGeneral) #jira UE-36810 #tests compiled Change 3150679 on 2016/10/04 by Ben.Zeigler Crash fix with no async scene Change 3150765 on 2016/10/04 by Ben.Zeigler Deprecate UStructProperty::ExportTextItem_Static and ImportItem_Static, and add ExportText and ImportText directly to UScriptStruct Add bAllowNativeOverride to specify rather to call the native override. For unclear reasons the static export skipped the native override while the static import included it This allows calling the generic ImportText from inside a native ImportTextItem and then doing some post processing Change 3150796 on 2016/10/04 by Marc.Audy Fix LOCTEXT warnings related to blueprint class menu options Change 3150806 on 2016/10/04 by Ben.Zeigler Fix bad text format in import error message, lead to double error Change 3150891 on 2016/10/04 by Ben.Zeigler #jira UE-36170 Fix duplicate GUID spam when async loading levels during PIE by checking the package flag instead of the runtime global Change 3150914 on 2016/10/04 by Marc.Audy Don't try to recreate render state if it has already been recreated while the recreate context was active #jira UE-36590 Change 3151195 on 2016/10/04 by Dan.Reynolds Updates to QASoundWaveProcedural QASoundWaveProcedural edited to be a GameplayStatic which spawns an Audio Component Handler as well as a Procedural Sound Wave. Support for envelope shaping (Attack, Sustain, Release) as well as multiple waveforms (Sine, Triangle, Sawtooth, Square). Blueprint API expanded to include separate functions for setting QASoundWaveProcedural settings and Playing. Change 3151233 on 2016/10/04 by Ben.Zeigler #jira UE-36836 Fix variable shadowing warnings Change 3151328 on 2016/10/04 by dan.reynolds AEOverview Update - Added Sound Wave Procedural test map and added support for mobile (tested on Android) menu selection - Still a WIP Change 3151461 on 2016/10/05 by Thomas.Sarkanen Fix localization warnings #jira UE-36720 - //UE4/Main: Step 'Build Engine Localization' - 2 Warnings Change 3151546 on 2016/10/05 by Martin.Wilson Fix pose watch regression due to persona refactor changes. #jira UE-36851 Change 3151587 on 2016/10/05 by Jurre.deBaare Updating Simplygon to SDK version 8.0 #misc removed redundant files #misc fixed landscape culling in merge actor path #misc added support for volume culling using simplygon #misc fixed when or not to use mesh data for material baking #notes Change: 3137650 Date: 23/09/2016 07:57 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: -Renamed commandline variables for ZipUtils AutomationScript -Implemented Execute instead of ExecuteBuild -Updated commandline arguments in SimplygonSwarm JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#2 Change: 3137649 Date: 23/09/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Moved file hash computation to ImportObject JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#4 Change: 3137646 Date: 23/09/2016 07:55 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Fixes CL3099204 EditorPerProjectUserSetting Removed ConfigRestartRequired attribute from properties where it was not required MeshUtilities -Added FProxyFailedDelegate -Extended IMeshMerging to include FProxyFailed delegate -Added ProxyGenerationFailed method to FProxyGenerationProcessor class -Setup FailedDelegate for both MeshMerging and DistributedMeshMerging SimplygonMeshReduction -Added check for invalid texture id -Updated notes and removed commented code that is not required. -Setup failed delegate -Fixed issue where image data was never hooked into the texture. -Fixed issue where texture table was never passed into casters SimplygonSwarm -Setup failed delegate -Fixed RawMesh pointer usage. -Move helper method into SimplygonSwarmHelpers.h. -Added SimplygonSwarmHelpers -Removed redundant constant path to 7-zip -Removed GetSimplygonDirectory instead using inplace. -Removed commented code that is currently not required. -Fixed Typos JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Private/MeshUtilities.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#4 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmHelpers.h#1 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#3 Change: 3099204 Date: 24/08/2016 07:56 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Simplygon 8.0 Updates Deprecated support for 7.0 and updated SimplygonSwarm and SimplygonMeshReduction to use 8.0 EditorPerProjectSettings *SwarmMaxUploadChunkSizeInMB for limiting the max upload size for swarm. Note the Simplygon Grid has a limitation of 2GB *SwarmNumOfConcurrentJobs for executing number of concurrent jobs *Fixed issue where SG_MATERIAL_CHANNEL_METALLIC to SG_MATERIAL_CHANNEL_METALNESS (Chage in 8.0 SDK) SPL, SimplygonSwarm, RESTClient *Bumped up SPL Version to 8 *Fixed code paths to use ZipUtils UAT script for zipping and unzipping CL3094374 *Removed SPL Templates for version 7.0 *Added conditional logging to REST methods *Added multi part upload. The RESTClient automatically decided if large files need to be split up before uploading to simplygon grid. *Updated method to take in texturepath SimplygonMeshReduction *Removed minimum version requirement. *Bumped up minimum version *Chagned license file name to refelect 8.0 changes *MaterialBaking related method now take in TextureTable as an extra parameter. This is due to 8.0 move away from old way of setting up materials and using SimplygonShadingNetowrk based appraoch. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Private/SimplygonMeshReduction.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonMeshReduction/Public/SimplygonTypes.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonRESTClient.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Private/SimplygonSwarm.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonRESTClient.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Developer/SimplygonSwarm/Public/SimplygonSwarmPrivatePCH.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorPerProjectUserSettings.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Settings/EditorPerProjectUserSettings.cpp#2 Change: 3099200 Date: 24/08/2016 07:48 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: #fix Copy constructor for FMeshReduciton mapped ShadingImportance to SilhouetteImportance JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/Engine/MeshMerging.h#2 Change: 3099199 Date: 24/08/2016 07:47 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: Added Automation Script ZipUtils to zip file and unzip files from SimplygonSwarm. This will remove any dependency on external zip program and should work across platforms JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Programs/AutomationTool/Scripts/ZipUtils.Automation.cs#1 Change: 3099197 Date: 24/08/2016 07:40 Client: Mustafa.Tungekar_Dev-Partner-Simplygon User: Mustafa.Tungekar Status: submitted Type: restricted ImportedBy: Identity: Description: *Speed improvements for FBX Scene Importer *Added a static method to compute Hash. JobStatus: Jobs: Files: //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp#3 //UE4/Dev-Partner-Simplygon/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Classes/EditorFramework/AssetImportData.h#2 //UE4/Dev-Partner-Simplygon/Engine/Source/Runtime/Engine/Private/EditorFramework/AssetImportData.cpp#2 Change 3151664 on 2016/10/05 by Richard.Hinckley Fixing ACharacter template for "New C++ Class" feature. Avoiding naming a function parameter the same as an existing class member. Change 3151729 on 2016/10/05 by Thomas.Sarkanen Audit of remaining NaN checks Some checks remain on in shipping (generally those called from blueprint): - AActor::TeleportTo - AActor::SetActorRelativeScale3D #jira UE-30999 - Optimize ⌠ContainsNaN÷ and ⌠ContainsNaNOrInfinite÷, audit those still in shipping/test Change 3151742 on 2016/10/05 by Ori.Cohen Make sure that if physical animation component doesn't find a body and bone it doesn't crash. #JIRA UE-36839 Change 3151756 on 2016/10/05 by Jurre.deBaare Fixing d3dcompiler_47.dll missing issue #fix added runtime dependency and dll name to build.cs file #fix now load the d3dcompiler_47.dll from the Binaries/ThirdParty/Windows folder before loading the simplygon DLL Change 3151761 on 2016/10/05 by Thomas.Sarkanen Fix deprecation warning from last integration Moved Preview to EditorPreview in FEditorWorldManager::OnWorldContextAdd. #jira UE-36858 - Compile UE4Editor* completed with 1 warning Change 3151782 on 2016/10/05 by Jurre.deBaare Simplygon patch up #misc linker errors popping up from JSONCPP #misc incorporated emissive material property fix from other shelve #misc static analysis fix Change 3151804 on 2016/10/05 by Marc.Audy Clear need end of frame update when unregistering a component Change 3151928 on 2016/10/05 by Ori.Cohen Fix runtime DLLs not including all delay loaded physx dll files. #JIRA UE-36816 Change 3151977 on 2016/10/05 by Martin.Wilson Notifies can no longer occupy the same time on the same track. #jira UE-30658 Change 3151989 on 2016/10/05 by Jon.Nabozny Fix ArchVis character rotation pitch when looking up/down. #jira UE-35706 Change 3152083 on 2016/10/05 by Marc.Audy Ensure that pending kill components get their marked for end of frame state cleared. Change 3152086 on 2016/10/05 by Ben.Zeigler #jira UE-36169 Fix it so missing linker errors that point to Blueprint CDOs are skipped, the same way it skips linker errors going to the actual class. Fixes a lot of spurious warnings from deleting components from blueprints or native classes Clean up the VerifyImport error handling so it also displays in -game and cook, and fix the missing class warning to work properly, previously it would happen 0% in development 100% in debug even if the class was valid Change 3152093 on 2016/10/05 by Marc.Audy Change logic for when location cannot be changed for a static component to be independent of has begun play and have to do with whether construction script is running or the level is in the process of loading (mostly for backwards compatibility adjustments in post load). #jira UE-36146 #jira UE-24647 Change 3152100 on 2016/10/05 by Ben.Zeigler Remove pragma optmize Change 3152112 on 2016/10/05 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3152072 Change 3152134 on 2016/10/05 by Jurre.deBaare Simplygon/Merge actor issues #fix for emissive output on meshes that do not have emissive properties #fix for texture binning, not removing invalid split area causing overlapped textures Change 3152136 on 2016/10/05 by James.Golding UE-36859 Fix tooltip saying you can click to stop recording Change 3152169 on 2016/10/05 by James.Golding UE-31209 UE-30935 : Expose bDeformableMesh and bFastCook options in FTriMeshCollisionData ProceduralMeshComponent will now cook using 'fast' and 'deformable' options, so updating collision on sections should work correctly Change ERuntimePhysxCookOptimizationFlags to EPhysXMeshCookFlags and use that to pass options to CookConvex and CookTriMesh Change 3152202 on 2016/10/05 by Jurre.deBaare Mac/Linux fix Change 3152303 on 2016/10/05 by Marc.Audy Fix deprecation warning post merge from main Change 3152320 on 2016/10/05 by Martin.Wilson Fix root motion from everything calculating incorrect root motion when animations haven't been ticking #jira UE-35364 Change 3152354 on 2016/10/05 by James.Golding PoseDriver should pass through if no poses activated Change 3152357 on 2016/10/05 by James.Golding UE-36844 Remove unused OnAssetModifiedNotifier delegate from PoseAsset, ensure OnPoseListChanged is called when updating PoseAsset from anim. Change 3152556 on 2016/10/05 by Marc.Audy Remove autos Change 3152560 on 2016/10/05 by Marc.Audy Don't allow child actor references to be dragged from the outliner to a level script #jira UE-16700 Change 3152568 on 2016/10/05 by Marc.Audy Don't allow non-networking code to set bRemoteOwned in the actor spawn parameters Remove deprecated bNoCollisionFail #jira UE-35928 Change 3152575 on 2016/10/05 by Marc.Audy Allow construction script to run post move for native classes. Actor can determine whether it should only occur on finish or every call to post edit move Change 3153101 on 2016/10/06 by Thomas.Sarkanen Fix crash re-opening the viewport in Persona-based editors #jira UE-36775 - Editor crashes when re-opening viewport in Persona Change 3153139 on 2016/10/06 by James.Golding UE-36908 Remove GetRuntimeOnlyCookOptimizationFlags if cooking is not supported Change 3153160 on 2016/10/06 by Thomas.Sarkanen Fix for crash when deleting additive layer track Code had not been updated to use the new delgate system (was still using reciprocal FPersona ptr). #jira UE-36740 - Crash when removing or disabling an additive layer track in Persona Change 3153175 on 2016/10/06 by Benn.Gallagher Fixed crashes when using subinstances in non-default states. we previously initialized the anim instances in the node initialize, but in states that haven't been hit by an initialize this will happen off the game thread which is not allowed. #jira UE-36900 Change 3153223 on 2016/10/06 by Thomas.Sarkanen Fixed crash when opening an asset from the blend space editor Code was still trying to open 'old' Persona when it was disabled. Also fix other call sites where this was being done outside of asset type actions. #jira UE-36766 - Crash attempting to open an asset from Aim Offset graph in Persona Change 3153324 on 2016/10/06 by Thomas.Sarkanen Prevented invalid GUIDs from being saved into smart name containers AddOrFindName now checks to see if existing GUIDs are valid before using them. AddName now requires a valid GUID to be passed in. Also added Modify() call to the skeleton when FindOrAddSmartName is called from VerifySmartNameInternal, as without this the skeleton might not get saved. Also add Laurent's fix for fixing up already-saved invalid GUIDs (CL 3138068). #jira UE-36367 - It is possible for curves with an invalid GUID to be saved into the USkeleton asset Change 3153348 on 2016/10/06 by Martin.Wilson Re add ticking code so all Persona editors viewports tick during drag events (went missing in Persona refactor) #jira UE-36751 Change 3153426 on 2016/10/06 by Mieszko.Zielinski Added missing elements of block comments support in BT editor #UE4 Change 3153454 on 2016/10/06 by Benn.Gallagher Fixed crash using anim debug with subinstances that are preceded by branching nodes. #jira UE-36935 [CL 3153517 by Ori Cohen in Main branch]
2016-10-06 12:11:11 -04:00
else
{
// Make sure we remove the area entry
UnusedAreas.RemoveAtSwap(BestAreaIndex);
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3136612) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3108929 on 2016/08/31 by Jon.Nabozny PR #2745: Add FQuat version of SetWorldRotation functions (Contibuted by EverNewJoy) #jira UE-35260 Change 3108930 on 2016/08/31 by Jon.Nabozny Fix out of date URadialForceComponent::CollisionObjectQueryParams by adding a BeginPlay event callback. #jira UE-33880 Change 3108934 on 2016/08/31 by Jon.Nabozny Fix check in UCharacterMovement::StepUp to properly account for distance the component is above the floor. #jira UE-33051 Change 3108971 on 2016/08/31 by Jon.Nabozny Add missing URadialForceComponent.h changes from CR 3108930 Change 3109557 on 2016/09/01 by Thomas.Sarkanen Copying //Tasks/Dev-Framework/Dev-PersonaUpgrade to Dev-Framework (//UE4/Dev-Framework) Persona Upgrade Summary of changes: - Persona module is now a repository of re-usable components, rather than an asset editor in itself. - Multiple asset editors now exist for specific asset types (Animation, Skeleton, anim BP etc). - Skeleton editing is now performed via the new IEditableSkeleton interface. This wraps up all mutations that can be performed on a skeleton in a model-view type architecture. - Skeleton tree acts as the view of the editable skeleton's data. When an edit is made in one version of a skeleton tree, it is reflected in all of them. - Removed all 'PersonaPtr's. Communication is now performed via delegates and appropriate API bindings (preview scene, editable skeleton etc.) - Viewport reworked to use editor modes for its more specific inputs. Skeletal controls now use editor modes for their inputs. - Better control of 'focus on draw' in the viewport. We can now optionally interpolate in approriate circumstances. - Animation preview scene resurrected. Now we manage much of the underlying objects in the preview scene. It also acts as a messaging conduit for events related to the scene. - We can now add additional meshes to a skeleton for use as previews. This is perfomred via a new UPreviewMeshCollection asset type & edited in the viewport. - Removed old SAdditionalMeshesEditor as the new system replaces its functionality. - Added asset family shortcut bar (and IAssetFamily to support this). - Const corrected some engine functions. - Added the ability for a skel mesh component to function without a primary skeletal mesh. This is usually a transient state in-editor but now the engine will not crash. - Padding, layouts and appearance of all editors have been polished. - Moved recording controls to the viewport and recording code into the preview scene. Now anything that uses a Persona viewport can use recording. - Tweaked recording icon to always use some red (feedback was it was non-obvious that it was a recording button). - Improved anim BP preview editor. We now have a bubtton that copies values that have changed to the defaults so that preview edits can more easily be seen & transferred. - Removed sequence recorder from non-level editor windows. Change 3109628 on 2016/09/01 by Thomas.Sarkanen Fix non-unity build Change 3109639 on 2016/09/01 by Thomas.Sarkanen CIS fix: Monolithic non-editor builds Change 3109648 on 2016/09/01 by Thomas.Sarkanen Properly fix monolithic CIS this time Change 3109683 on 2016/09/01 by Thomas.Sarkanen Fix Mac editor CIS Change 3109689 on 2016/09/01 by Benn.Gallagher Fix crash in when a client spawns a destructible in a world with multiple players, caused by assuming we have a scene when the insertion may be deferred. #jira UE-35353 Change 3109699 on 2016/09/01 by Thomas.Sarkanen More Mac Editor CIS fixes. Change 3109727 on 2016/09/01 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Change 3109758 on 2016/09/01 by Thomas.Sarkanen More Mac editor CIS fixes Somehow includes from engine and unrealed were still getting picked up outside of PCH on windows. Updated PCH's and other includes to cover the mssing types. Change 3109829 on 2016/09/01 by Thomas.Sarkanen Fix crash when attaching slave components with differing bone counts Change 3111672 on 2016/09/02 by Thomas.Sarkanen Populated UV channels correctly Delegate for preview mesh change was being fired early (when the preview scene was created), so UV channels were never populated. Added a call to populate on construction. Change 3111924 on 2016/09/02 by Martin.Wilson Clean up references to GetBoneTree and deprecate #jira UE-35525 Change 3112086 on 2016/09/02 by Martin.Wilson Fix pose flickering on LOD change when using Layered Blend by Bone node #Jira UE-35471 Change 3112097 on 2016/09/02 by Aaron.McLeran UE-35533 StopQuietest concurrency not resulting in sounds returning to play - Issue is due to the fact that once an active sound was flagged as needing to stop due to max concurrency, it was never unflagging as needing to stop - Fix is to make sure to unflag active sounds in a concurrency group as bShouldStopDueToMaxConcurrency before flagging the ones that do. Change 3112467 on 2016/09/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3112269 Change 3112604 on 2016/09/02 by Lina.Halper Fixed merge compile error Change 3113524 on 2016/09/05 by Thomas.Sarkanen Prevent invalid assets from causing crashes with asset families Store asset references as weak object ptrs as assets can go away underneath us. Also dont preserve asset families when all referencing asset editors are shut down, use weak references instead. #jira UE-35572 - Crash when opening Child Montage after force deleting an older child montage with the same name from the same asset Change 3114118 on 2016/09/06 by Marc.Audy Add boolean return to AGameMode::ClearPause to indicate whether pausing was cleared #jira UE-32852 Change 3114201 on 2016/09/06 by Lina.Halper #ANMI: Moving animation curves from asset to skeleton - Backward compatibility - AnimCurve Viewer contains the setting of changing curve type - only material or morph would display. - Morphtarget curves are automatically set on loading - Asset still contains curve type including editable or disabled and so on. I was going to make this to be editor only but I can't until we copy over all the data - because morphtarget/material deprecated flags are needed to be loaded in game - TODO: Moving cached UI to FBoneContainer, so that it can work with RequiredBones - TODO: Linking curve to joint - TODO: Allow Layer blending to use this data to blend curves #Code review:Martin.Wilson, James.Golding #jira: UEFW-179 Change 3114391 on 2016/09/06 by Lina.Halper Build warning fix Change 3114399 on 2016/09/06 by Lina.Halper Fix build error. Change 3114403 on 2016/09/06 by Lina.Halper Attempt to fix build error Change 3114591 on 2016/09/06 by Lina.Halper Fix compile error Change 3114963 on 2016/09/06 by Lina.Halper Fixed crash on deleting skeleton when placed in the level #jira: UE-35601 Change 3114985 on 2016/09/06 by Lina.Halper Fix crash with copy pose mesh node not checking registered or not. #jira: UE-35602 Change 3115933 on 2016/09/07 by James.Golding UE-33251 - add 'restart required' to bSupportUVFromHitResults option Change 3116021 on 2016/09/07 by Marc.Audy Fix spelling de-auto NULL to nullptr minor optimization Change 3116046 on 2016/09/07 by James.Golding Move AnimNode_LegIK.h to Public and .cpp for Private Change 3116048 on 2016/09/07 by James.Golding UE-34640 Fix bogus tooltips for collision channels Change 3116050 on 2016/09/07 by James.Golding PR #2728: UE-34953: Improved comments for Hit callbacks (Contributed by projectgheist) Change 3116060 on 2016/09/07 by Lina.Halper #ANIM: - Fix crash of setting multiple times in the same menu - Make sure you can set to original animation, and not break #jira: UE-35580 Change 3116064 on 2016/09/07 by James.Golding Fix missing change for LegIK file move Change 3116291 on 2016/09/07 by Marc.Audy FindObjectWithOuter once again allows ClassToLookFor to be null as comment indicates is allowed Change 3116590 on 2016/09/07 by Dan.Reynolds Audio Test Map Content WIP Change 3116649 on 2016/09/07 by mason.seay Updated map to test flying Change 3116712 on 2016/09/07 by dan.reynolds Test Content Update EQTest Map WIP Change 3117257 on 2016/09/08 by Benn.Gallagher Fixed skeletal mesh details not working in new standalone mesh editor. Duplicated the detail customization and reworked to handle the new host app (no longer FPersona). Change 3117348 on 2016/09/08 by Benn.Gallagher Added "Post-Process" Animation Blueprints. These run after the main anim instance, and the class used is set on the mesh so that any instance of that mesh uses that class as a post process. If there is a sub-input node inside the post process graph then the pose at the end of the main instance will be passed through into that instance. #jira UEFW-180 Change 3117393 on 2016/09/08 by Benn.Gallagher Hid UDestructibleMesh properties that are unsupported on destructibles in the destrucitble mesh editor (shadow assets and post process blueprints are only for normal skeletal meshes) #jira UE-34508 Change 3117507 on 2016/09/08 by Jurre.deBaare Streamline Persona Asset Browser #added ability to set whether or not a column should generate widgets in STableViews #added filtering code to SAssetview to allow for hiding/showing columns related to the asset type #added an ini path for saving the column filter state in SAnimationSequenceBrowser #jira UEFW-148 Change 3118003 on 2016/09/08 by mason.seay Updating meshes to use complex collision Change 3118020 on 2016/09/08 by Zak.Middleton #ue4 - Auto-register UpdatedComponent in MovementComponent in InitializeComponent() if not found during OnRegister(). This can occur for non-native (BP) root components. Change 3118437 on 2016/09/08 by Lina.Halper Fix grammar error #jira: UE-35729, UE-35730, UE-35729 Change 3118456 on 2016/09/08 by Lina.Halper Removed space because slate showed long spaces. It's long line now but at least in UI, it looks cleaner. Change 3118492 on 2016/09/08 by Aaron.McLeran Copying //UE4/Dev-Audio to Dev-Framework (//UE4/Dev-Framework) Change 3118517 on 2016/09/08 by Lina.Halper Went back to original without spaces Change 3118711 on 2016/09/08 by Aaron.McLeran Fixing build errors with CL 3118492 Change 3118712 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 Change 3118745 on 2016/09/08 by Aaron.McLeran Fixing a build warning with CL 3118492 - Fixed init order in FSoundSource Change 3119201 on 2016/09/09 by Benn.Gallagher Fix static analysis warnings (Accessing nullptr), added check on the pointer #jira UE-35755 Change 3119338 on 2016/09/09 by Benn.Gallagher Fixed destructible import throwing out meshes where 1 or more submeshes are empty Change 3119371 on 2016/09/09 by Lina.Halper fix texts Change 3119453 on 2016/09/09 by Lina.Halper Change text style of the child montage instruction. #jira: UE-35144 Change 3119454 on 2016/09/09 by Lina.Halper Add option to open asset from context menu of the segment #jira: UE-35632 Change 3119457 on 2016/09/09 by mason.seay Updated maps and rebuilt lighting Change 3119584 on 2016/09/09 by Marc.Audy Support for new metadata ShowInnerProperties (written by Matt K) Change 3119667 on 2016/09/09 by Aaron.McLeran Fixing compile errors on Mac. - Commandlet can't run on Mac (or other desktop platforms) right now since audio mixer isn't yet supported there Change 3119732 on 2016/09/09 by Aaron.McLeran Fixing clang compile error - Apparently clang didn't like my ascii art of the wavetable shapes. Switched to /* */ style comment. Change 3119734 on 2016/09/09 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3119702 Change 3119787 on 2016/09/09 by Lina.Halper Move cached UID to required bone - removed skeleton cached UID list - removed skeletalmeshcomponent cached UID list - FBoneContainer will contain UID list and can be re-cached anytime bones are recalculated - added versioning to up-to-date skeleton curve list with skeletalmeshcomponent #code review:Benn.Gallagher, Martin.Wilson Change 3119800 on 2016/09/09 by Aaron.McLeran Changing audio mixer's GetAudioClock to GetAudioTime to avoid conflicting with other GetAudioClock function merged into dev-framework. Change 3120260 on 2016/09/09 by Marc.Audy Fix if statement Change 3120790 on 2016/09/12 by Thomas.Sarkanen Reordered skeletal mesh and animations in asset shortcut bar #jira UE-35845 - Move anim asset shortcut bar ordering to Skeleton > Skeletal Mesh > Animation > AnimBP Change 3120793 on 2016/09/12 by Thomas.Sarkanen Improved fix for missing mesh details customization Improves on CL 3117257. Removed extra RefreshViewports function. Communication should be done via the preview scene to accomodate future multiple viewports. Re-used generic asset properties tab with a callback delegate that allows post-construction customization. Removed older custom tab. Removed dependency between FSkeletalMeshDetails and FSkeletonEditor. Trying to avoid back-pointer dependencies to monolithic editors, as this was the main bulk of refactoring work when teasing Persona apart. Change 3120867 on 2016/09/12 by Marc.Audy Fix incorrect condition in for causing static analysis warning Change 3120900 on 2016/09/12 by mason.seay Actually build lighting this time Change 3120904 on 2016/09/12 by Thomas.Sarkanen Skeletons can now be deleted once opened (once more) Editable skeleton manager now holds onto weak ptrs instread of shared ptrs. Added logic to compact if weak ptrs are invalid. #jira UE-35848 - Can't delete skeletons that have been opened in the new standalone editor Change 3120927 on 2016/09/12 by Thomas.Sarkanen Details panel now shows selected items when re-opened Kept the underlying widget around so that any item selections can still correctly update the (hidden) UI. #jira UE-35445 - Details tab in persona dosn't populate with information when first opened Change 3120979 on 2016/09/12 by Thomas.Sarkanen Re-added the ability to create pose assets This was added at a similar time to my final merges and didnt get merged over to the standalone animation editor. #jira UE-35740 - Create Pose asset missing from create animation dropdown Change 3121208 on 2016/09/12 by Benn.Gallagher Added bulk reimport to the reimport manager that uses slow tasks to give users an idea how far they are through large operations. #jira UE-33216 Change 3121274 on 2016/09/12 by James.Golding PR #2264: Added functions that can change a UTimelineComponent's curve(s) via Blueprints. (Contributed by hgamiel) #jira UE-29346 Change 3121276 on 2016/09/12 by James.Golding UE-33242 : Add option to copy morph target names to clipboard Change 3121278 on 2016/09/12 by James.Golding UE-33004 : Add proper commands for Curve Viewer Change 3121472 on 2016/09/12 by Zak.Middleton #ue4 - Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached(). #jira UE-34482 Change 3121829 on 2016/09/12 by dan.reynolds Audio Blueprints Content Example WIP Update checked in to backlog by request of ZakB and Nick BB. Change 3122218 on 2016/09/12 by Aaron.McLeran Minor cleanup in XAudio2Source.cpp Change 3122823 on 2016/09/13 by Thomas.Sarkanen Fix incorrect camera offset when opening some skeletal meshes Skeletons that had no preview skeletal mesh set up gave incorrect bounds on first tick. This is fixed by updating the preview mesh in the scene desc so that bounds are correctly calculated on first viewport tick. #jira UE-35550 - Persona camera is far away from some skeletal meshes Change 3122857 on 2016/09/13 by Lina.Halper Importing frame count issue with blendshapes - with this change when calculating sample rate, it checks blendshape curves. #jira: UE-27706 Change 3122992 on 2016/09/13 by Marc.Audy Child Actor Component now have an editable template * Template is stored as a child inside the child actor template * When gathering components for an actor, need to stop searching beyond any nested AActor #jira UEFW-125, UE-16474 Change 3123087 on 2016/09/13 by Marc.Audy Fix Child Actor Template being nulled out on template Change 3123170 on 2016/09/13 by mason.seay Updated test map to test SpawnEmitterAttached SnapToTarget settings UEENGQA-9268 Change 3123203 on 2016/09/13 by Marc.Audy Multi-select of child actor components allows editing of template properties Change 3123205 on 2016/09/13 by Marc.Audy Fix details panel constantly updating and not being interactable when multi-selected objects have ShowInnerProperty property #author Matt.Kuhlenschmidt Change 3123422 on 2016/09/13 by Aaron.McLeran UE-35950 Fixing XboxOne spatialization - XBoxOne doesn't support device details, so we need to manually set it to the output channels and channel mask. Unfortunately, that was incorrectly set. Change 3123484 on 2016/09/13 by Lina.Halper Fix animation frame UI issue - This now displays from [0, numframes -1] #jira: UE-33437 Change 3123500 on 2016/09/13 by Marc.Audy Undo/redo of mobility changes will also undo/redo the mobility changes on ancestors/descendants that were changed along with it #jira UE-35885 Change 3123549 on 2016/09/13 by Marc.Audy Fix warning message Change 3123581 on 2016/09/13 by Marc.Audy PR #2751: Editor Only UActorComponents for Blueprints (Contributed by moritz-wundke) #jira UE-35424 Change 3123688 on 2016/09/13 by Ben.Zeigler Add logic to K2Node_Variable that updates the variable reference to the correct class, if the variable has moved up or down in the class hierarchy. This is similar to code in UK2Node_CallFunction::CreateSelfPin which already handled this case correctly Change 3123768 on 2016/09/13 by Marc.Audy Go away auto NULL to nullptr Use ranged for instead of iterators Change 3123906 on 2016/09/13 by Aaron.McLeran UE-34615 Supporting Pausing Sounds on Audio Components Change 3123949 on 2016/09/13 by Aaron.McLeran UE-35965 Spatialization no longer occurs when Non-Spatialized Radius is set above 0 Change 3124109 on 2016/09/13 by Aaron.McLeran UE-33364 Making bSuppressSubtitles a UPROPERTY EditAnywhere, BlueprintReadWrite Change 3124137 on 2016/09/13 by Aaron.McLeran PR #2601: made looping sound waves searchable by the asset registry Change 3124396 on 2016/09/14 by James.Golding Allow anim node edit modes to work on all nodes, not just skel controls Change 3124498 on 2016/09/14 by Benn.Gallagher Added method to get swing and twist quaternions from FQuat #jira UE-34054 Change 3124504 on 2016/09/14 by James.Golding Missed a few references to SkeletalControlEditMode Change 3124508 on 2016/09/14 by James.Golding Fix function groupings in animnode editmode headers Change 3124625 on 2016/09/14 by james.cobbett Rebuilding lighting. Change 3124632 on 2016/09/14 by James.Golding UEFW-205 Adding support for PoseDriver to drive bones (based on PoseAsset) - Converted PoseDriver from SkelControl to AnimNode - Added PoseDriverEditMode - Added debug drawing to show target poses and current ref position - Aded support for PoseDriver using translation instead of rotation - Added AnimGraphNode_PoseHandler class, with code corresponding with AnimNode_PoseHandler Change 3124636 on 2016/09/14 by James.Golding Missed file Change 3124652 on 2016/09/14 by Marc.Audy Fix initialization order warning #jira UE-35980 Change 3124658 on 2016/09/14 by Marc.Audy Fix if statement #jira UE-35976 Change 3124685 on 2016/09/14 by James.Golding Move PoseDriver files from BoneControllers to AnimNodes folder Rename AnimNode_PosePriver.cpp to AnimNode_PoseDriver.cpp Move AnimGraphNode_AssetPlayerBase.cpp from Classes to Private Change 3124690 on 2016/09/14 by James.Golding Missing header edit after file move Change 3124707 on 2016/09/14 by Danny.Bouimad Fixing UE-34814, issue where a socket was not rendering correctly. Note: The old socket wasn't attached to a bone to fix the issue so it was attached to the root bone. Somehow this was undone. Change 3124954 on 2016/09/14 by Jurre.deBaare Import Alembic file gets editor crash #fix double check if Alembic isn't lying and there are no actual normals #misc fixed type in function signature #jira UE-35702 Change 3124980 on 2016/09/14 by Lina.Halper Tweak UI of child anim montage - removed padding, changed font size Change 3124981 on 2016/09/14 by Lina.Halper Changed text of keys to Frames Change 3124998 on 2016/09/14 by Lina.Halper Fix curve issue when evaluting with # of frames. #jira: UE-35782 Change 3125034 on 2016/09/14 by Aaron.McLeran Changes to 3123906 based on feedback from Marc Audy Change 3125109 on 2016/09/14 by Aaron.McLeran PR #2463: Support parsing .WAV files with a WAVE_FORMAT_EXTENSIBLE format chunk (Contributed by Mattiwatti) Change 3125184 on 2016/09/14 by Lukasz.Furman vehicle RVO fixes #ue4 Change 3125191 on 2016/09/14 by Lukasz.Furman added blueprint interface for component's navigation influence control #ue4 Change 3125348 on 2016/09/14 by Mason.Seay Added GamepadFaceButtonRight as an input mapping for Crouch Change 3125352 on 2016/09/14 by Lina.Halper #ANIM: Pose Asset - Insert pose support - made sure pose asset editor updates if the new pose is inserted. #jira: UE-32608 Change 3125413 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Add GameModeBase and GameStateBase classes that are parent classes of existing GameMode and GameState. The classes have been split in half so the base functionality needed by all games are in the Base classes, with legacy and match-specific code in the children Added BP access to several GameState and GameMode functions, and GetGameState/GetGameMode now return the base classes. World->GetAuthGameMode now returns GameModeBase, so direct accesses to the return value may not work. The casted template works as before. World->GameState is now private, and GetGameState returns GameStateBase. Code that accessed GameState should now call GetGameState<>. GameModeBase::StartNewPlayer has been deprecated, and split into InitializeHUDForPlayer and HandleStartingNewPlayer. Several Login functions on GameModeBase that take TSharedPtr<const FUniqueNetId> are now deprecated correctly, they previously stopped working correctly in 4.13 The ShouldShowGore feature on GameState has been fully deprecated, along with hooks in Matinee Change 3125414 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Convert all internal templates to use GameModeBase Convert most sample games, ShooterGame and several legacy projects are still using GameMode Change 3125415 on 2016/09/14 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Internal game compile fixes needed to support GameMode refactor Fixed a few places that overrode StartNewPlayer to override new functions instead Change 3125438 on 2016/09/14 by Ben.Zeigler Log compile fix Change 3125460 on 2016/09/14 by Ben.Zeigler Another try at log compile issues Change 3125685 on 2016/09/14 by Aaron.McLeran Attempt to fix compile error Change 3125700 on 2016/09/14 by Aaron.McLeran UE-35958 Undo in sound cue editor does not undo looping changes. Issue was sound cues were not being flagged as transactional and ignoring undo transactions Change 3125857 on 2016/09/14 by Aaron.McLeran -Adding a RF_Transactional flag to postload for sound nodes so older sound nodes created incorrectly will work properly with the undo system. -Changed to setting flag directly in NewObject line instead of calling SetFlags Change 3125888 on 2016/09/14 by Aaron.McLeran Adding call to super post load in USoundNode::PostLoad() Change 3125964 on 2016/09/14 by Aaron.McLeran Fixing attenuation on 2D multichannel files (specifically 3, 7 and 8-channel files). Change 3125974 on 2016/09/14 by Aaron.McLeran UE-35892 Not loading audio data when in -nosound mode Change 3125983 on 2016/09/14 by Ben.Zeigler Better Nogore fix for lens effect Change 3125985 on 2016/09/14 by Ben.Zeigler Fix fortnite compile failure on mac, it was inside non instantiated template Change 3126409 on 2016/09/15 by Benn.Gallagher Fixed crash when adding a reroute node on a line with another reroute node in an anim graph. Becuase we use poselinks as an exec line we weren't killing the output links. #jira UE-35657 Change 3126507 on 2016/09/15 by Thomas.Sarkanen Prevent crash when calling SetAnimationMode on a component with no skeletal mesh Guard against the mesh being NULL, as with other calls to InitializeAnimScriptInstance. #jira UE-36003 - Crash playing Ocean Change 3126539 on 2016/09/15 by Marc.Audy Fix Win32 compilation error #jira UE-36018 Change 3126575 on 2016/09/15 by Marc.Audy Properly fix compile Change 3126635 on 2016/09/15 by Benn.Gallagher Fix for crash when setting collision responses on destructible components after they have been fractured. #jira UE-35604 Change 3126649 on 2016/09/15 by Lina.Halper - Fixed issue with updating cache UID List, so certain curves did not work. - Fixed issue with not finding meta data because the name has changed - converted to SmartName, and if it is going to look for by UID. Change 3126816 on 2016/09/15 by Lukasz.Furman Back out changelist 3125191 Change 3126903 on 2016/09/15 by Marc.Audy Fix !WITH_APEX compile errors from CL# 3126635 Change 3126908 on 2016/09/15 by Mieszko.Zielinski Added initialization of FBlackboardEntry properties #UE4 Change 3127081 on 2016/09/15 by Ben.Zeigler #jira UEFW-32 Game Mode Cleanup Change the way that the GameMode is picked based on URL to be handled by GameInstance instead of World/GameMode. Add PreloadContentForURL, CreateGameModeForURL, and OverrideGameModeClass to GameInstance and deprecate GameMode versions. GameMode::GameModeClassAliases has moved to GameMapsSettings::GameModeClassAliases and WorldSettings::DefaultMapPrefixes has moved to GameMapsSettings::GameModeMapPrefixes and unified in format. Fixed internal game ini files and added example to BaseEngine.ini Removed some outdated seekfree preload code and replace with GameInstance::PreloadContentForURL Change 3127102 on 2016/09/15 by Ben.Zeigler Crash fix if there is no deprecated config section Change 3127103 on 2016/09/15 by Aaron.McLeran UE-34100 audio playback of an individual source Change 3127109 on 2016/09/15 by Marc.Audy Remove inconsistently used AUDIO_DEVICE_HANDLE_INVALID and use INDEX_NONE everywhere instead Change 3127143 on 2016/09/15 by Aaron.McLeran Missing file in CL 3127103 Change 3127218 on 2016/09/15 by Ori.Cohen PR #2766: More vehicle stats for profiler (Contributed by DenizPiri) #JIRA UE-35564 Change 3127264 on 2016/09/15 by Aaron.McLeran Switching to using USoundWave instead of USoundBase in notification delegate for play progress percent Change 3127285 on 2016/09/15 by Marc.Audy Make it easier to create an audio component that will exist across level transitions Refactor FAudioDevice::CreateComponent to use a Params block instead of long parameter list UAudioComponent can now store which AudioDevice it is targetted at instead of being limited to its registered world or the main audio device (breaks in multi-PIE) #jira UE-16451 Change 3127360 on 2016/09/15 by Marc.Audy Consolidate a few GetWorld()s Change 3127931 on 2016/09/16 by Benn.Gallagher Fixed holes appearing in clothing meshes after reskinning changes. Caused by mismatched triangle counts when applying the clothing mesh. #jira UE-36054 Change 3128001 on 2016/09/16 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3127918 Change 3128005 on 2016/09/16 by James.Cobbett #jira UE-29618 Submitting test assets Change 3128022 on 2016/09/16 by Lina.Halper Allow re-merge all skeletalmeshes back to skeleton when recreating skeleton from scratch #jira: UE-27256 Change 3128044 on 2016/09/16 by James.Cobbett Submitting gamemode test asset Change 3128169 on 2016/09/16 by Mieszko.Zielinski Fixed couple of static analysis warnings in AI code #UE4 Change 3128430 on 2016/09/16 by Marc.Audy Fix infinite loop when running a pause frame with tick interval functions (4.13.1) #jira UE-36096 Change 3128558 on 2016/09/16 by Mieszko.Zielinski Refactored FEnvQueryInstance::AddItemData to not require second template parameter (TypeValue) #UE4 #jira UE-33036 Change 3128678 on 2016/09/16 by Jon.Nabozny #rn Added a delegate to GameViewportClient that notifies when the Game's platform specific window is being closed. #rn This can be used to prevent the game from being exited. #jira UE-34123 Change 3128693 on 2016/09/16 by Marc.Audy Add UnpausedTimeSeconds to UWorld to accumulate the dilated/clamped game time even when paused Change 3128753 on 2016/09/16 by Mieszko.Zielinski Fixed aborting previous movements as part requesting a new one needlesly reseting move agent's current velocity #UE4 #jira UE-35852 Change 3128791 on 2016/09/16 by Marc.Audy PR #2777: Accurate DeltaSeconds for objects with TickIntervals (Contributed by YossiMHWF) Tick Functions with a Tick Interval will now return the dilated/clamped game DeltaSeconds since the last time it ticked #jira UE-35719 Change 3128974 on 2016/09/16 by Mieszko.Zielinski Fixes to BB key synchronization #UE4 syncing between two BBs associated by a common parent now works Change 3128984 on 2016/09/16 by Jon.Nabozny Fix FConstraintBaseParams ContactDistance clamping. The value is intended to be in either degrees or cm units (depending on constraint type), so clamping max to 1 doesn't make sense. Change 3129010 on 2016/09/16 by Dan.Reynolds Updating developer folder content for external referencing Change 3129093 on 2016/09/16 by Ben.Zeigler #jira UE-35424 Switch from using AlwaysLoadOnServer/Client to bIsEditorOnly for components that should be editor only. This works better with cooking and is clearer in usage Move MarkAsEditorOnlySubobject to ActorComponent so it works for all components and not just primitive ones Change 3129103 on 2016/09/16 by Marc.Audy Fix initialization order CIS warning Change 3129361 on 2016/09/16 by Dan.Reynolds Fixes to QASoundWaveProcedural.h Change 3129994 on 2016/09/19 by Thomas.Sarkanen Skeletal mesh to Static mesh conversion Added feature to convert selected actors' meshes into static meshes. Supports static and skeletal meshes. Added extension points to all Persona-based editors so their toolbars can be overriden with context about the editor itself. Added IHasPersonaToolkit interface that all of these editors implement. Added toolbar button to each Persona-based editor. Added level editor right-click menu option. Added CPU skinning path for cloth sections (non-SIMD for now). Moved CPU skinning flag from UDebugSkelMeshComponent into USkinnedMeshComponent. Moved a few structures around so CPU skinned renderdata is more readily exposed. #jira UE-35549 - Convert skel mesh on specific anim frame to StaticMesh Change 3130008 on 2016/09/19 by Benn.Gallagher Fixed crash when creating a destructible mesh from a speed tree mesh. The materials are incompatible - after discussion decided to report the error to the user and bail on making the destructible #jira UE-3687 Change 3130009 on 2016/09/19 by Thomas.Sarkanen Fixed static analysis warnings in Persona and AnimationBlueprintEditor Also moved a bool check inside (original line number for the warning led me to that code instead, but thought it was worth fixing anyways). Change 3130012 on 2016/09/19 by Thomas.Sarkanen CIS fix (implcit use of copy constructor) Change 3130016 on 2016/09/19 by Thomas.Sarkanen Mac CIS fix - forward declare some classes. Change 3130027 on 2016/09/19 by Thomas.Sarkanen Fix shadow variables found with Clang Change 3130044 on 2016/09/19 by Jurre.deBaare Improved Texture Merging using the Merge Actors Tool #feature added simple binning algorithm to be used with texture importance values #misc small array indexing copy-paste error #jira UE-33823 Change 3130068 on 2016/09/19 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3129803 Change 3130181 on 2016/09/19 by Jurre.deBaare G++ compile errors #fix array enum size requires cast to be valid Change 3130182 on 2016/09/19 by Jurre.deBaare Remove FColor operator after feedback from Marc, assuming color order is indeed icky and can tackle the problem differently Change 3130250 on 2016/09/19 by Marc.Audy Fix flag check indicated by static analysis Change 3130256 on 2016/09/19 by Benn.Gallagher Changed "Create Physics Asset" context menu options to allow creation without assigning the physics asset to the selected mesh to make it easier to set up capsule shadows. #jira UE-34796 Change 3130267 on 2016/09/19 by Marc.Audy Post integration WEX fixups for GameMode and FAudioDevice::CreateComponent changes Change 3130551 on 2016/09/19 by Ben.Zeigler Change WEX OnlineSubsystem plugin to exactly match Engine one with GameMode refactors, no functionaly change but this should make merging easier Change 3130564 on 2016/09/19 by Jurre.deBaare More CIS fixes Change 3130572 on 2016/09/19 by Ben.Zeigler #jira UE-36142 Fix 1v1 and 2v2 game mode references, they were always wrong but are now being cooked properly with the game mode changes Change 3130586 on 2016/09/19 by Ben.Zeigler #jira UE-36124 Fix orion crash, the class layout of OrionGameState_MOBA differed between BlueprintContext and OrionGame modules because of the server perf define being different Change 3130587 on 2016/09/19 by Martin.Wilson Add start time to Montage_Play and PlaySlotAnimationAsDynamicMontage #jira UE-34798 Change 3130694 on 2016/09/19 by Ben.Zeigler #jira UE-35424 Restore BrushComponent to the 4.13 behavior for computing editor only, as they set AlwaysLoadOnClient/Server to false even if they're not editor only unlike other primitive components Change 3130700 on 2016/09/19 by Ben.Zeigler #jira UE-36141 Fix it so PlayerCanRestart is called before restarting player on initial login, to match behavior when requesting a restart or match starting. This is a bug fix in the core code that UT was working around originally Change 3130778 on 2016/09/19 by Dan.Reynolds WIP Content update for external referencing Change 3130812 on 2016/09/19 by Marc.Audy No longer use inconsistently applied bWantsBeginPlay #jira UE-21048 Change 3130876 on 2016/09/19 by Richard.Hinckley Fixing comments for documentation purposes. Change 3131076 on 2016/09/19 by Marc.Audy PR #2775: Make WorldContextObj arguments const pointers (Contributed by jorgenpt) #jira UE-35625 Change 3131102 on 2016/09/19 by Richard.Hinckley Fixing typo that slipped through. Change 3131254 on 2016/09/19 by Ben.Zeigler #jira UE-36162 Remove bad game mode reference Change 3131396 on 2016/09/19 by Marc.Audy Undo CL# 3125974 to fix Fortnite crash until investigation can be done #jira -UE-36164 Change 3131846 on 2016/09/20 by Thomas.Sarkanen Recording now functional again in blendspace editor Blendspaces now use the anim editor base. Anim editor base now has the option of a scrollable or non-scrollable widget area. Blendspaces use the non-scrollable one as before. Scrub widget now seperates the concepts of frames and scrub cursor. This is to allow blendspaces to still use scrubbing when they use normalized time. Removed PURE_VIRTUAL from SAnimEditorBase as it is not a UObject class. #jira UE-35843 - Missing record option for Blendspaces Change 3131921 on 2016/09/20 by Thomas.Sarkanen Re-added anim slot manager tab Anim slot manager was not added back into the standalone editors when they were split up. #jira UE-35954 - Anim Slot Manager opens up to unrecognized tab Change 3131922 on 2016/09/20 by Thomas.Sarkanen Added 'dirty' indicator to asset shortcut bar #jira UE-36015 - No 'dirty' indicator in anim asset shortcut bar Change 3131950 on 2016/09/20 by Thomas.Sarkanen Animation stepping now functions as it did previously Recent changes to deal with different frame counts left off an epsilon in the frame increment/decrement logic. Re-instating the epsilon fixes this. #jira UE-36172 - The To Next button in the Animation timeline doesn't work consistently Change 3131953 on 2016/09/20 by james.cobbett Updating test assets. Change 3132241 on 2016/09/20 by Martin.Wilson Fix crash when importing a pose to pose asset. #jira UE-36122 Change 3132417 on 2016/09/20 by Thomas.Sarkanen Fixed crash when anim instance is set to NULL when URO is turned on (and GC occurs) A dangling pointer to the UID array on the instance was hanging around. We now make sure to clear this when necessary. #jira UE-36182 - Fornite cooked crashed when hitting a husk near/on a chest - CurveToCopyFrom.IsValid() Change 3132790 on 2016/09/20 by Ori.Cohen Ensure that physics handle automatically wakes up any object it's grabbing on release. Also fix editor case where moving camera grabs component #JIRA UE-35257 Change 3132795 on 2016/09/20 by Ori.Cohen Fix typo where enable swing drive was used for both swing and twist. #JIRA UE-35634 Change 3132838 on 2016/09/20 by Ori.Cohen Move flush deferred actor to EndPhysics #JIRA UE-35899 Change 3133088 on 2016/09/20 by Ori.Cohen Back out defer flush change. This requires more thought. Change 3133185 on 2016/09/20 by Wes.Hunt QoS Analytics providers now use the real final Data Router URL #jira UE-30655 Change 3133262 on 2016/09/20 by Wes.Hunt HttpServiceTracker now uses UserID fields that match what we expect for all other apps. Part of #jira UE-33354. Change 3133266 on 2016/09/20 by Wes.Hunt Make anonymous analytics UserID match format expected by the backend to remove ambiguity. Part of #jira UE-33354. Change 3133277 on 2016/09/20 by Chris.Evans !N Pose asset test Change 3133504 on 2016/09/20 by dan.reynolds Updating WIP Test Content Change 3133761 on 2016/09/21 by Thomas.Sarkanen Fixed 100% crash when killing a husk Interpolation was still getting performed when we had an invalid UID container. We now check this before kicking off a task. #jira UE-36203 - Fornite cooked crashed when killing a husk and jumping backwards Change 3133766 on 2016/09/21 by Thomas.Sarkanen Fixed crash when compiling animation blueprint when a node outside of the tree evaluation is selected The OnNodeSelected callback was not getting called for deselection when the node could not be found (i.e. was NULL). Removed NULL check as it is valid to call. ALso added comment warning that the passed in runtime node can be NULL. #jira UE-35974 - Crash in FSkeletalControlEditMode when compiling an anim blueprint Change 3133774 on 2016/09/21 by Danny.Bouimad Translation Pose Driver test assets content/animation/posedrivertests Change 3133796 on 2016/09/21 by Thomas.Sarkanen Added metadata to remove "reset to default" button for certain properties Allows removal of the reset button without a cumbersome details customization. Fixes crash where a parent struct of an editfixedsize array was reset. #jira UE-36109 - Crash when resetting shape properties on a BodySetup in PhAT Change 3133831 on 2016/09/21 by Jurre.deBaare Vert Color Background not contained to Asset's Viewport #fix Added a way to directly set the visibility of the floor/environment in the static mesh editor #jira UE-35052 Change 3133832 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will stop animating when Elapsed Time exceeds an excessively high number #fix set UI/clamp min/max for playback speed (-512 - 512x playback speed) and start offset (-14400 - 14400, 4 hours) and clamp at runtime as well #jira UE-34629 Change 3133833 on 2016/09/21 by Jurre.deBaare Geometry Cache asset will continue to loop when running in reverse when Loop is turned off and Elapsed Time is has reached 0 #fix do not wrap around for non-looping negative sampling times :) #jira UE-34630 Change 3133834 on 2016/09/21 by Jurre.deBaare Merge Actors button is not enabled when selecting assets in the viewport if they are not visible in the Merge Actor window #fix moved selected mesh count functionality so that it is not dependent on the listview being rendered (this is an awesome bug) #jira UE-34303 Static mesh does not show after using "Merge Actors" if the mesh is part of a child actor component that has been added to the blueprint #fix recursively add child actor components to include all static meshes #jira UE-25187 Change 3133835 on 2016/09/21 by Jurre.deBaare Mesh Preview Scene: Remove bottom quad from floor mesh to make viewing from below easier. (in loving memory of Tom Looman) #fix new mesh with removed bottom quad, allowing for see-through from below #jira UE-35022 Change 3133836 on 2016/09/21 by Jurre.deBaare It isn't clear when a profile is added to the Preview Scene Settings #fix selected profile now changes to newly added one #jira UE-33848 Change preview scene profile naming to validate name input in UI instead of PostEditChange #fix added ui feedback for duplicate naming #misc extra checks for having a correct profile name when adding a new profile #jira UE-34078 Adding Preview Scene Profile after Removing One duplicates the name of the last added profile #fix determine correct name by checking existing ones #jira UE-33898 Change 3133838 on 2016/09/21 by Jurre.deBaare Prevent preview scene assets being loaded in game (proper fix) #fix now saving direct FString path to the environment cube map and load them once we ::Get the assetviewer settings #jira UE-36082 Change 3133839 on 2016/09/21 by Jurre.deBaare Moving over UE-35254 from 4.13.1 Change 3133840 on 2016/09/21 by Jurre.deBaare Moving over UE-35639 from 4.13.1 Change 3133844 on 2016/09/21 by Jurre.deBaare Alembic import causing a crash #jira UE-35551 #fix handle the case where there is not hierarchy found for a specific object, in that case just output the identity matrix as object matrix #jira UE-35451 #fix handle case where we imported an empty object in the Geometry cache path #misc alembic importer signature change #misc typo in function signature Change 3133951 on 2016/09/21 by Mieszko.Zielinski Fixed deprecation message on UAIPerceptionComponent::GetPerceivedActors #UE4 Change 3134014 on 2016/09/21 by Jon.Nabozny #rn Ensure the runaway loop counter gets reset when processing parallel animation. #jira UE-33946 Change 3134032 on 2016/09/21 by Jurre.deBaare Remove comments Change 3134100 on 2016/09/21 by James.Golding UE-35300 Support UV traces for UV on BSP Change 3134103 on 2016/09/21 by Lukasz.Furman fixed NavLinkProxy not working correctly in PIE #jira UE-36194 Change 3134104 on 2016/09/21 by James.Golding UE-33004 Use UI commands for PoseEditor, allow keyboard shortcuts Change 3134106 on 2016/09/21 by James.Golding UE-36138 Fix crash in procmesh slicing, avoid creating, and skip processing, sections with no verts Change 3134109 on 2016/09/21 by James.Golding UE-35813 Don't do srgb conversion for proc mesh vertex colors UE-35821 Procedural Mesh component not respecting 'Bound Scale' setting Change 3134145 on 2016/09/21 by Mieszko.Zielinski Fixed persistent BB key changes not getting propagated to child BB assets #UE4 Change 3134296 on 2016/09/21 by Lukasz.Furman fixed navlink's "snap to cheapest area" mode not working correctly with dynamic navmesh copy of CL# 3133219 Change 3134390 on 2016/09/21 by mason.seay Blueprint for collision bug repro Change 3134517 on 2016/09/21 by Mieszko.Zielinski CIS fix #UE4 Change 3134746 on 2016/09/21 by Ben.Zeigler Documentation and comment cleanup pass for GameMode changes, it's ready for a Doc team pass Change GameStateBase::GetDefaultGameMode to return a const * as it's a CDO that is not safe to modify, and remove Blueprint acessibility as there's no way to make that safe Change 3134850 on 2016/09/21 by Ben.Zeigler Fix PlatformShowcase warnings Change 3134852 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3134107 Change 3134853 on 2016/09/21 by Marc.Audy Resolve of reimport portions Change 3134857 on 2016/09/21 by Marc.Audy Fixes related to show inner properties for Map and Set now that Dev-Editor has made it to Dev-Framework Change 3135002 on 2016/09/21 by Ori.Cohen Fix compiler errors Change 3135147 on 2016/09/21 by dan.reynolds AEOverview Test WIP Update Change 3135168 on 2016/09/21 by Wes.Hunt Edigrate of CL3135131: EngineAnalytics uses EngineVersion once again instead of BuildVersion, which doesn't contain major.minor.hotfix info. #jira UE-36211 Change 3135216 on 2016/09/21 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3135156 Change 3135238 on 2016/09/21 by Aaron.McLeran UE-36288 Fixing concurrency resolution stop quietest Change 3135257 on 2016/09/21 by Ben.Zeigler Fix Orion version of OnlineGameFramework plugin Change 3135258 on 2016/09/21 by Ben.Zeigler Other Orion GameMode fixes Change 3135290 on 2016/09/21 by dan.reynolds AEOverview test map skeleton complete with comments per Nick BB request Change 3135323 on 2016/09/21 by dan.reynolds Update to AEOverview test maps Change 3135385 on 2016/09/21 by Marc.Audy Fix static analysis warnings in automation tests Change 3135634 on 2016/09/22 by Thomas.Sarkanen Remove duplicated details customization Now we only have one customization that both 'old' Persona and the skeletal mesh editor can use. Change 3135660 on 2016/09/22 by Thomas.Sarkanen CIS fix: Fixed deleted file still being included. Change 3135949 on 2016/09/22 by Thomas.Sarkanen Fixed (another) crash with invalid curve data when an anim instance is GCed Invalidated cached curve as it can hold onto a reference to anim instance data. Also added a check for valididty in the non-parallel eval, non-interpolation case. #jira UE-36292 - Fortnite Editor Crashed when shooting a husk during defense phase - CurveToCopyFrom.IsValid() [CL 3136620 by Marc Audy in Main branch]
2016-09-22 15:33:34 -04:00
}
else
{
bSuccess = false;
break;
}
}
// This means we failed to find a fit, in this case we resize the textures and try again until we find one
if (bSuccess == false)
{
for (FWeightedTexture& Texture : WeightedTextures)
{
Texture.Area.Max *= .99f;
}
}
} while (!bSuccess);
// Now generate boxes
OutGeneratedBoxes.Empty(InTexureWeights.Num());
OutGeneratedBoxes.AddZeroed(InTexureWeights.Num());
// Generate boxes according to the inserted textures
for (const FWeightedTexture& Texture : InsertedTextures)
{
FBox2D& Box = OutGeneratedBoxes[Texture.TextureIndex];
Box = Texture.Area;
}
}
float FMaterialUtilities::ComputeRequiredTexelDensityFromScreenSize(const float InScreenSize, float InWorldSpaceRadius)
{
static const float ScreenX = 1920;
float WorldSizeCM = InWorldSpaceRadius * 2;
float WorldSizeMeter = WorldSizeCM / 100;
float ScreenSizePercent = InScreenSize;
float ScreenSizePixel = ScreenSizePercent * ScreenX;
float TexelDensityPerMeter = ScreenSizePixel / WorldSizeMeter;
return TexelDensityPerMeter;
}
float FMaterialUtilities::ComputeRequiredTexelDensityFromDrawDistance(const float InDrawDistance, float InWorldSpaceRadius)
{
// Generate a projection matrix.
static const float ScreenX = 1920;
static const float ScreenY = 1080;
static const float HalfFOVRad = FMath::DegreesToRadians(45.0f);
static const FMatrix ProjectionMatrix = FPerspectiveMatrix(HalfFOVRad, ScreenX, ScreenY, 0.01f);
float WorldSizeCM = InWorldSpaceRadius * 2;
float WorldSizeMeter = WorldSizeCM / 100;
float ScreenSizePercent = ComputeBoundsScreenSize(FVector::ZeroVector, InWorldSpaceRadius, FVector(0.0f, 0.0f, InDrawDistance), ProjectionMatrix);
float ScreenSizePixel = ScreenSizePercent * ScreenX;
float TexelDensityPerMeter = ScreenSizePixel / WorldSizeMeter;
return TexelDensityPerMeter;
}
static int32 ComputeTextureSizeFromTexelRatio(const double TexelRatio, const double TargetTexelDensity)
{
// Compute the perfect texture size that would get us to our texture density
// Also compute the nearest power of two sizes (below and above our target)
const int32 SizePerfect = FMath::CeilToInt(TargetTexelDensity / TexelRatio);
const int32 SizeHi = FMath::RoundUpToPowerOfTwo(SizePerfect);
const int32 SizeLo = SizeHi >> 1;
// Compute the texel density we achieve with these two texture sizes
const double TexelDensityLo = SizeLo * TexelRatio;
const double TexelDensityHi = SizeHi * TexelRatio;
// Select best match between low & high res textures.
const double TexelDensityLoDiff = TargetTexelDensity - TexelDensityLo;
const double TexelDensityHiDiff = TexelDensityHi - TargetTexelDensity;
const int32 BestTextureSize = TexelDensityLoDiff < TexelDensityHiDiff ? SizeLo : SizeHi;
return BestTextureSize;
}
int32 FMaterialUtilities::GetTextureSizeFromTargetTexelDensity(const UE::Geometry::FDynamicMesh3& Mesh, float InTargetTexelDensity)
{
const UE::Geometry::FDynamicMeshUVOverlay* UVOverlay = Mesh.Attributes()->PrimaryUV();
double Mesh3DArea = 0;
double MeshUVArea = 0;
// If no UVs, assume perfect UV space usage.
const bool bHasUVs = UVOverlay != nullptr;
if (!bHasUVs)
{
MeshUVArea = 1.0;
}
for (int TriangleID : Mesh.TriangleIndicesItr())
{
// World space area
Mesh3DArea += Mesh.GetTriArea(TriangleID);
// UV space area
if (bHasUVs)
{
UE::Geometry::FIndex3i UVVertices = UVOverlay->GetTriangle(TriangleID);
UE::Geometry::FTriangle2d TriangleUV = UE::Geometry::FTriangle2d(
(FVector2d)UVOverlay->GetElement(UVVertices.A),
(FVector2d)UVOverlay->GetElement(UVVertices.B),
(FVector2d)UVOverlay->GetElement(UVVertices.C));
MeshUVArea += TriangleUV.Area();
}
}
return GetTextureSizeFromTargetTexelDensity(Mesh3DArea, MeshUVArea, InTargetTexelDensity);
}
int32 FMaterialUtilities::GetTextureSizeFromTargetTexelDensity(const FMeshDescription& InMesh, float InTargetTexelDensity)
{
FStaticMeshConstAttributes Attributes(InMesh);
TVertexAttributesConstRef<FVector3f> Positions = Attributes.GetVertexPositions();
TUVAttributesConstRef<FVector2f> UVs = Attributes.GetUVCoordinates(0);
double Mesh3DArea = 0;
double MeshUVArea = 0;
// If no UVs, assume perfect UV space usage.
const bool bHasUVs = UVs.IsValid() && UVs.GetNumElements() != 0;
if (!bHasUVs)
{
MeshUVArea = 1.0;
}
for (const FTriangleID TriangleID : InMesh.Triangles().GetElementIDs())
{
// World space area
TArrayView<const FVertexID> TriVertices = InMesh.GetTriangleVertices(TriangleID);
Mesh3DArea += UE::Geometry::VectorUtil::Area(Positions[TriVertices[0]], Positions[TriVertices[1]], Positions[TriVertices[2]]);
// UV space area
if (bHasUVs)
{
TArrayView<const FUVID> TriUVs = InMesh.GetTriangleUVIndices(TriangleID);
MeshUVArea += UE::Geometry::VectorUtil::Area(UVs[0], UVs[1], UVs[2]);
}
}
return GetTextureSizeFromTargetTexelDensity(Mesh3DArea, MeshUVArea, InTargetTexelDensity);
}
int32 FMaterialUtilities::GetTextureSizeFromTargetTexelDensity(double InMesh3DArea, double InMeshUVArea, double InTargetTexelDensity)
{
double TexelRatio = FMath::Sqrt(InMeshUVArea / InMesh3DArea) * 100;
static const int32 MinTextureSize = 16;
static const int32 MaxTextureSize = 8192;
int32 TextureSize = ComputeTextureSizeFromTexelRatio(TexelRatio, InTargetTexelDensity);
if (TextureSize > MaxTextureSize)
{
UE_LOG(LogMaterialUtilities, Warning, TEXT("Mesh would require %d x %d textures, clamping down to maximum (%d x %d)"), TextureSize, TextureSize, MaxTextureSize, MaxTextureSize);
}
return FMath::Clamp(TextureSize, MinTextureSize, MaxTextureSize);
}