Files
UnrealEngineUWP/Engine/Source/Runtime/AnimGraphRuntime/Private/AnimNodes/AnimNode_CopyPoseFromMesh.cpp

340 lines
12 KiB
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
#include "AnimNodes/AnimNode_CopyPoseFromMesh.h"
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
#include "Animation/AnimInstanceProxy.h"
#include "Animation/AnimTrace.h"
/////////////////////////////////////////////////////
// FAnimNode_CopyPoseFromMesh
FAnimNode_CopyPoseFromMesh::FAnimNode_CopyPoseFromMesh()
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
: SourceMeshComponent(nullptr)
, bUseAttachedParent (false)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3760710 by Thomas.Sarkanen Fix crash deleting primitives in PhAT Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data. #jira UE-52404 - Crash deleting bodies #tests deleted primitives in PhAT Change 3760798 by Martin.Wilson Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing #Jira UE-52343 Change 3761312 by Martin.Wilson Fix for infrequent crash on module start up Change 3761333 by Danny.Bouimad Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more! Change 3761550 by Aaron.McLeran Engine changes requested by oculus for spatializer interface Change 3761728 by Martin.Wilson Fix crash when undoing a change on a skeletal mesh that uses virtual bones #Jira UE-52475 Change 3762032 by Ethan.Geller #jira UE-49076 Implement PR for VOIP bug fix on Mac Change 3762109 by Aaron.McLeran Enabling bAllowAnyoneToDestroyMe on audio components Change 3762125 by Aaron.McLeran Checking in missing file Change 3762568 by Aaron.McLeran Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code. Change 3762571 by Aaron.McLeran Adding multichannel file support. - Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way - Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use Change 3762626 by Aaron.McLeran Adding ability to automatically tag ambisonics files. Change 3762627 by Aaron.McLeran Fixing up source buses to be more useful - Added pre and post source effect bus sends types. - Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation. Change 3762652 by Aaron.McLeran Fix for device hot swap Change 3762725 by Ethan.Geller Fixing multichannel indices so that it matches the multichannel cook Change 3762738 by Ethan.Geller Add ambisonics plugin support Change 3762739 by Ethan.Geller Updating oculus audio plugin - Base implementation by Peter Sterling at Oculus - Ambisonics decoding using Oculus API implemented by Ethan Change 3763687 by Martin.Wilson Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it #Jira UE-52510 Change 3764412 by Ethan.Geller Fix the incremental build, pt 2 Change 3764721 by Ethan.Geller Fix the build, take 3 Change 3764767 by Martin.Wilson Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item #Jira UE-52537 Change 3764845 by Aaron.McLeran Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices. Prevents hang on releasing sound wave procedural references in GC. Change 3766047 by Thomas.Sarkanen Pinnable command list widget Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used. Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed. #jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT Change 3766111 by Thomas.Sarkanen CIS fix Change 3766273 by Lina.Halper Rename PostBlendPhysics to FinalizeAnimationUpdate Change 3768507 by Thomas.Sarkanen CIS fix Change 3768637 by James.Golding Add 'GetSectionFromProceduralMesh' util function #jira UE-49262 Change 3768649 by Lina.Halper Moved the automation test to tests folder #jira:UE-46250 Change 3768675 by Benn.Gallagher Fixed incorrect deprecated angular velocity accessor. Change 3768776 by Benn.Gallagher Fix for skeletal mesh editor crash importing more than 5 LODs #jira UE-52263 Change 3768804 by Martin.Wilson Live Link Virtual subjects Virtuals subjects are created within the client and contain the bones of multiple real subjects Change 3768874 by Martin.Wilson UAnimSequenceBase is now entirely exported with ENGINE_API #Jira UE-48020 Change 3769318 by Lina.Halper - Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated. - Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back #jira: UEAP-272 Change 3769714 by Lina.Halper Fix CIS Change 3770672 by James.Golding Expose API for changing 'Use CCD' flag at runtime #jira UE-50332 Change 3770675 by James.Golding Add test map for 'Set Use CCD' function Change 3770711 by Thomas.Sarkanen Multi viewports and bone-locked cameras in animation editor viewports All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings. Fixed up bounds following to actually work correctly (now follows without lag). Added the ability to follow (and orbit) a specified bone as well. #jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene. #jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled Change 3770786 by Lina.Halper Support curve in copy pose node #jira: UE-50182 Change 3770943 by James.Golding Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data) Fix from Kier at NVIDIA #jira UE-52444 Change 3771145 by Benn.Gallagher Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite #jira UE-49747 Change 3772262 by Benn.Gallagher Defaulted the clothing create menu to use the skeletal mesh physics asset #jira UE-51607 Change 3772389 by Thomas.Sarkanen Added a keyboard shortcut to toggle between body and constraint selection Shortcut is Ctrl+T by default. #jira UE-51804 - Add a quick switch between selected constraints and bodies Change 3772393 by Thomas.Sarkanen Constraints are now displayed only once in the physics asset editor tree view User constraints are still displayed twice, however. #jira UE-51808 - Constraints in PhAT should only be displayed once in the tree Change 3772404 by James.Golding Fix Modify Curve AnimNode not calling CacheBones on source pose #jira UE-52129 Change 3772418 by Benn.Gallagher Allowed clothing visualizations to be enabled while clothing paint mode is active. Fixed crash attempting to visualize backstops when the clothing data has no backstops. #jira UE-47042 Change 3772964 by Thomas.Sarkanen Expose sequence recording settings in Persona editors Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily. Added a structure details view to edit the default animation settings. Hooked default animation settings up to Persona animation recording. #jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor Change 3772967 by Martin.Wilson Add NativeBeginPlay function to AnimInstance #jira UE-51351 PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei) Change 3772986 by Thomas.Sarkanen Added "Show Only Selected Constraints" to the physics asset editor #jira UE-51805 - Add 'show only selected constraints' option to PhAT Change 3773012 by Benn.Gallagher Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value #jira UE-42354 Change 3773132 by Martin.Wilson Added Uncheck all unconnected pins for BreakStruct nodes #jira UE-51136 PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist) Change 3773158 by Benn.Gallagher Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary #jira UE-48109 Change 3773895 by Jurre.deBaare Move material baking out of experimental #fix Removed experimental settings gating around Material Baking functionality #jira UE-52685 Change 3773898 by Jurre.deBaare Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build) Change 3773899 by Jurre.deBaare Add keybind for switching between paint / erase color while mesh painting #fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut) #jira UE-52197 Change 3773900 by Jurre.deBaare Hotkey to enable and disable post processing in the preview scene settings #fix Added hotkey and command for toggling Post Processing in Preview Scenes #jira UE-48111 Change 3773933 by Martin.Wilson Add missing file (for live link monolithic build failure) Change 3773949 by Jurre.deBaare Right click add selected to HLOD cluster / create cluster #fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection #jira UE-48334 Change 3773950 by Jurre.deBaare HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing #fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner) #jira UE-49094 Change 3773964 by James.Golding Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA' #jira UE-52545 Change 3773978 by Thomas.Sarkanen Allow edits to physics sim options to be undone/redone Added RF_Transactional to the object #jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu Change 3773982 by Martin.Wilson Add pre and post conversion callbacks to root motion conversion in character movement component #jira UE-51966 Change 3773988 by Thomas.Sarkanen Duplicating CL 3773896 from Fortnite: Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run Change 3773999 by Martin.Wilson Fix incorrect merge Change 3774030 by Thomas.Sarkanen Renamed "Create Joints" to "Create Constraints" #jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint" Change 3774031 by Thomas.Sarkanen Fixed typo in comment #jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset Change 3774200 by Lina.Halper Fix crash with empty element in the constraint setup #jira: UE-52686 Change 3774236 by Ori.Cohen Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors #jira UE-52320 Change 3774284 by James.Golding Fix constructor order CIS error in AudioMicerSubmix.cpp Change 3774511 by James.Golding Fix up removed RevisionNumber param Change 3774724 by Lina.Halper Fix of motion blur change of previous bone transform Change 3775493 by Thomas.Sarkanen Duplicating CL 3775488 from Fortnite: Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775508 by James.Golding Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block Change 3775538 by James.Golding Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback Change 3775921 by Ori.Cohen Better fix for destructible crash (also fix CIS) #jira UE-52762 Change 3776054 by Benn.Gallagher Fixed crash deleting max distance mask from a clothing data entry. #jira UE-52723 Change 3776063 by Thomas.Sarkanen Fix static analysis warning Change 3776331 by Jurre.deBaare Hierarchical LOD Outliner scrollbar doesn't appear #fix removed AutoHeight from parent vertical box around HLOD outliner details view #jira UE-52756 Change 3776704 by Martin.Wilson Fix array properties not always refreshing when new items are added #UE-52760 Change 3776755 by Thomas.Sarkanen Duplicating CL 3776656 from Fortnite: Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3777385 by Aaron.McLeran #jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine. Change 3778233 by Lina.Halper Removed android from oculus audio platform Change 3778714 by Ethan.Geller #jira UE-52818 remove Android from Oculus Audio platforms Change 3779004 by Lina.Halper Include "Features/IModularFeatures.h" to cpp Fix build error Change 3780324 by Thomas.Sarkanen Duplicating CL 3778679 from Fortnite-Main: Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3763999 by Ethan.Geller remove space from ambisonics mixer name, fix build Change 3774470 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039 [CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
, bCopyCurves (false)
, bCopyCustomAttributes(false)
, bUseMeshPose (false)
{
}
void FAnimNode_CopyPoseFromMesh::Initialize_AnyThread(const FAnimationInitializeContext& Context)
{
DECLARE_SCOPE_HIERARCHICAL_COUNTER_ANIMNODE(Initialize_AnyThread)
FAnimNode_Base::Initialize_AnyThread(Context);
// Initial update of the node, so we dont have a frame-delay on setup
GetEvaluateGraphExposedInputs().Execute(Context);
}
void FAnimNode_CopyPoseFromMesh::CacheBones_AnyThread(const FAnimationCacheBonesContext& Context)
{
DECLARE_SCOPE_HIERARCHICAL_COUNTER_ANIMNODE(CacheBones_AnyThread)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3760710 by Thomas.Sarkanen Fix crash deleting primitives in PhAT Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data. #jira UE-52404 - Crash deleting bodies #tests deleted primitives in PhAT Change 3760798 by Martin.Wilson Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing #Jira UE-52343 Change 3761312 by Martin.Wilson Fix for infrequent crash on module start up Change 3761333 by Danny.Bouimad Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more! Change 3761550 by Aaron.McLeran Engine changes requested by oculus for spatializer interface Change 3761728 by Martin.Wilson Fix crash when undoing a change on a skeletal mesh that uses virtual bones #Jira UE-52475 Change 3762032 by Ethan.Geller #jira UE-49076 Implement PR for VOIP bug fix on Mac Change 3762109 by Aaron.McLeran Enabling bAllowAnyoneToDestroyMe on audio components Change 3762125 by Aaron.McLeran Checking in missing file Change 3762568 by Aaron.McLeran Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code. Change 3762571 by Aaron.McLeran Adding multichannel file support. - Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way - Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use Change 3762626 by Aaron.McLeran Adding ability to automatically tag ambisonics files. Change 3762627 by Aaron.McLeran Fixing up source buses to be more useful - Added pre and post source effect bus sends types. - Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation. Change 3762652 by Aaron.McLeran Fix for device hot swap Change 3762725 by Ethan.Geller Fixing multichannel indices so that it matches the multichannel cook Change 3762738 by Ethan.Geller Add ambisonics plugin support Change 3762739 by Ethan.Geller Updating oculus audio plugin - Base implementation by Peter Sterling at Oculus - Ambisonics decoding using Oculus API implemented by Ethan Change 3763687 by Martin.Wilson Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it #Jira UE-52510 Change 3764412 by Ethan.Geller Fix the incremental build, pt 2 Change 3764721 by Ethan.Geller Fix the build, take 3 Change 3764767 by Martin.Wilson Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item #Jira UE-52537 Change 3764845 by Aaron.McLeran Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices. Prevents hang on releasing sound wave procedural references in GC. Change 3766047 by Thomas.Sarkanen Pinnable command list widget Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used. Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed. #jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT Change 3766111 by Thomas.Sarkanen CIS fix Change 3766273 by Lina.Halper Rename PostBlendPhysics to FinalizeAnimationUpdate Change 3768507 by Thomas.Sarkanen CIS fix Change 3768637 by James.Golding Add 'GetSectionFromProceduralMesh' util function #jira UE-49262 Change 3768649 by Lina.Halper Moved the automation test to tests folder #jira:UE-46250 Change 3768675 by Benn.Gallagher Fixed incorrect deprecated angular velocity accessor. Change 3768776 by Benn.Gallagher Fix for skeletal mesh editor crash importing more than 5 LODs #jira UE-52263 Change 3768804 by Martin.Wilson Live Link Virtual subjects Virtuals subjects are created within the client and contain the bones of multiple real subjects Change 3768874 by Martin.Wilson UAnimSequenceBase is now entirely exported with ENGINE_API #Jira UE-48020 Change 3769318 by Lina.Halper - Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated. - Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back #jira: UEAP-272 Change 3769714 by Lina.Halper Fix CIS Change 3770672 by James.Golding Expose API for changing 'Use CCD' flag at runtime #jira UE-50332 Change 3770675 by James.Golding Add test map for 'Set Use CCD' function Change 3770711 by Thomas.Sarkanen Multi viewports and bone-locked cameras in animation editor viewports All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings. Fixed up bounds following to actually work correctly (now follows without lag). Added the ability to follow (and orbit) a specified bone as well. #jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene. #jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled Change 3770786 by Lina.Halper Support curve in copy pose node #jira: UE-50182 Change 3770943 by James.Golding Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data) Fix from Kier at NVIDIA #jira UE-52444 Change 3771145 by Benn.Gallagher Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite #jira UE-49747 Change 3772262 by Benn.Gallagher Defaulted the clothing create menu to use the skeletal mesh physics asset #jira UE-51607 Change 3772389 by Thomas.Sarkanen Added a keyboard shortcut to toggle between body and constraint selection Shortcut is Ctrl+T by default. #jira UE-51804 - Add a quick switch between selected constraints and bodies Change 3772393 by Thomas.Sarkanen Constraints are now displayed only once in the physics asset editor tree view User constraints are still displayed twice, however. #jira UE-51808 - Constraints in PhAT should only be displayed once in the tree Change 3772404 by James.Golding Fix Modify Curve AnimNode not calling CacheBones on source pose #jira UE-52129 Change 3772418 by Benn.Gallagher Allowed clothing visualizations to be enabled while clothing paint mode is active. Fixed crash attempting to visualize backstops when the clothing data has no backstops. #jira UE-47042 Change 3772964 by Thomas.Sarkanen Expose sequence recording settings in Persona editors Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily. Added a structure details view to edit the default animation settings. Hooked default animation settings up to Persona animation recording. #jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor Change 3772967 by Martin.Wilson Add NativeBeginPlay function to AnimInstance #jira UE-51351 PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei) Change 3772986 by Thomas.Sarkanen Added "Show Only Selected Constraints" to the physics asset editor #jira UE-51805 - Add 'show only selected constraints' option to PhAT Change 3773012 by Benn.Gallagher Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value #jira UE-42354 Change 3773132 by Martin.Wilson Added Uncheck all unconnected pins for BreakStruct nodes #jira UE-51136 PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist) Change 3773158 by Benn.Gallagher Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary #jira UE-48109 Change 3773895 by Jurre.deBaare Move material baking out of experimental #fix Removed experimental settings gating around Material Baking functionality #jira UE-52685 Change 3773898 by Jurre.deBaare Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build) Change 3773899 by Jurre.deBaare Add keybind for switching between paint / erase color while mesh painting #fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut) #jira UE-52197 Change 3773900 by Jurre.deBaare Hotkey to enable and disable post processing in the preview scene settings #fix Added hotkey and command for toggling Post Processing in Preview Scenes #jira UE-48111 Change 3773933 by Martin.Wilson Add missing file (for live link monolithic build failure) Change 3773949 by Jurre.deBaare Right click add selected to HLOD cluster / create cluster #fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection #jira UE-48334 Change 3773950 by Jurre.deBaare HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing #fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner) #jira UE-49094 Change 3773964 by James.Golding Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA' #jira UE-52545 Change 3773978 by Thomas.Sarkanen Allow edits to physics sim options to be undone/redone Added RF_Transactional to the object #jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu Change 3773982 by Martin.Wilson Add pre and post conversion callbacks to root motion conversion in character movement component #jira UE-51966 Change 3773988 by Thomas.Sarkanen Duplicating CL 3773896 from Fortnite: Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run Change 3773999 by Martin.Wilson Fix incorrect merge Change 3774030 by Thomas.Sarkanen Renamed "Create Joints" to "Create Constraints" #jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint" Change 3774031 by Thomas.Sarkanen Fixed typo in comment #jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset Change 3774200 by Lina.Halper Fix crash with empty element in the constraint setup #jira: UE-52686 Change 3774236 by Ori.Cohen Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors #jira UE-52320 Change 3774284 by James.Golding Fix constructor order CIS error in AudioMicerSubmix.cpp Change 3774511 by James.Golding Fix up removed RevisionNumber param Change 3774724 by Lina.Halper Fix of motion blur change of previous bone transform Change 3775493 by Thomas.Sarkanen Duplicating CL 3775488 from Fortnite: Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775508 by James.Golding Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block Change 3775538 by James.Golding Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback Change 3775921 by Ori.Cohen Better fix for destructible crash (also fix CIS) #jira UE-52762 Change 3776054 by Benn.Gallagher Fixed crash deleting max distance mask from a clothing data entry. #jira UE-52723 Change 3776063 by Thomas.Sarkanen Fix static analysis warning Change 3776331 by Jurre.deBaare Hierarchical LOD Outliner scrollbar doesn't appear #fix removed AutoHeight from parent vertical box around HLOD outliner details view #jira UE-52756 Change 3776704 by Martin.Wilson Fix array properties not always refreshing when new items are added #UE-52760 Change 3776755 by Thomas.Sarkanen Duplicating CL 3776656 from Fortnite: Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3777385 by Aaron.McLeran #jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine. Change 3778233 by Lina.Halper Removed android from oculus audio platform Change 3778714 by Ethan.Geller #jira UE-52818 remove Android from Oculus Audio platforms Change 3779004 by Lina.Halper Include "Features/IModularFeatures.h" to cpp Fix build error Change 3780324 by Thomas.Sarkanen Duplicating CL 3778679 from Fortnite-Main: Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3763999 by Ethan.Geller remove space from ambisonics mixer name, fix build Change 3774470 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039 [CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
}
void FAnimNode_CopyPoseFromMesh::RefreshMeshComponent(USkeletalMeshComponent* TargetMeshComponent)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
{
auto ResetMeshComponent = [this](USkeletalMeshComponent* InMeshComponent, USkeletalMeshComponent* InTargetMeshComponent)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
{
USkeletalMeshComponent* CurrentMeshComponent = CurrentlyUsedSourceMeshComponent.Get();
// if current mesh exists, but not same as input mesh
if (CurrentMeshComponent)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
{
// if component has been changed, reinitialize
if (CurrentMeshComponent != InMeshComponent)
{
ReinitializeMeshComponent(InMeshComponent, InTargetMeshComponent);
}
// if component is still same but mesh has been changed, we have to reinitialize
else if (CurrentMeshComponent->SkeletalMesh != CurrentlyUsedSourceMesh.Get())
{
ReinitializeMeshComponent(InMeshComponent, InTargetMeshComponent);
}
else if (InTargetMeshComponent)
{
// see if target mesh has changed
if (InTargetMeshComponent->SkeletalMesh != CurrentlyUsedTargetMesh.Get())
{
ReinitializeMeshComponent(InMeshComponent, InTargetMeshComponent);
}
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
}
// if not valid, but input mesh is
else if (!CurrentMeshComponent && InMeshComponent)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
{
ReinitializeMeshComponent(InMeshComponent, InTargetMeshComponent);
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
}
};
if(SourceMeshComponent.IsValid())
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
{
ResetMeshComponent(SourceMeshComponent.Get(), TargetMeshComponent);
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
}
else if (bUseAttachedParent)
{
if (TargetMeshComponent)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
{
// Walk up the attachment chain until we find a skeletal mesh component
USkeletalMeshComponent* ParentMeshComponent = nullptr;
for (USceneComponent* AttachParentComp = TargetMeshComponent->GetAttachParent(); AttachParentComp != nullptr; AttachParentComp = AttachParentComp->GetAttachParent())
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
{
ParentMeshComponent = Cast<USkeletalMeshComponent>(AttachParentComp);
if (ParentMeshComponent)
{
break;
}
}
if (ParentMeshComponent)
{
ResetMeshComponent(ParentMeshComponent, TargetMeshComponent);
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3436999) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 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) @ CL 3353839 Change 3385512 on 2017/04/07 by Aaron.McLeran Bringing changes over from FN that fix audio streaming on PC/Mac/XboxOne/PS4 CL#3318457 - Fix crash when recycling PS4 sound sources. CL#3313213 - Allowing XboxOne to cook streaming audio CL#3313719 - GetWaveFormat now returns OPUS for streaming audio waves CL#3320066 - Added libopus for XboxOne CL#3320070 - libopus is now properly linked in XboxOne CL#3313219 - Allowing Mac to cook streaming audio CL#3315332 - Fixed audio streaming on Mac CL#3315335 - (additional file missed in previous CL) CL#3313207 - Sounds now register themselves with the audio streaming manager even if they are loaded before the audio device manager is created. CL#3313294 - Removed some accidental debugging code that was mistakenly added in CL#3313207 CL#3318530 - Fix threading issues in FAudioStreamingManager CL#3340718 - Fix for crash with audio streaming CL#3340844 - Fix for more thread safety in audio streaming manager CL#3343794 - Added a check in destructor of loaded chunk CL#3343794 - Removing check in stopping a source CL#3355393 - Moving audio streaming callbacks to use indices rather than ptrs to elements in dynamic array CL#3369020 - bumping up size of compressed chunks for AT9 files when doing stream chunk compression CL#3369131 - bumping up AT9 version number to get new AT9 cooks for larger chunks CL#3373626 - Fixing ps4 streaming CL#3375110 - Reverting some changes from 3373626 CL#3382078 - Making audio streaming decoding async to audio thread for xaudio2 CL#3383214 - Fixing buffer order issue for audio streaming Change 3386321 on 2017/04/10 by Lina.Halper #ANIM : preview - Attache preview mesh to use copy mesh pose #jira: UE-43114, UEAP-186 #rb: Thomas.Sarkanen Change 3386415 on 2017/04/10 by Ori.Cohen Improve the cost of UpdateKinematicBodies - added the ability to defer non simulating bodies. #JIRA UEAP-79 Change 3386418 on 2017/04/10 by Ori.Cohen Fix physx memory leak when a commandlet loads many assets without ticking scene #JIRA UE-43378 Change 3386569 on 2017/04/10 by dan.reynolds Updated dummy platform generated by standalone AEOverview tests to distinguish floor materials between the platform and the test zone. Change 3386714 on 2017/04/10 by Ori.Cohen Improve stats extensibility and expose it to the automation framework. Change 3386805 on 2017/04/10 by Lina.Halper Fix build error for editor #rb: none Change 3386854 on 2017/04/10 by Lina.Halper build fix for clang #rb:none Change 3387198 on 2017/04/10 by Aaron.McLeran #jira UE-43699 Deleting unused velocity variable. OpenAL's velocity is not supported in WebAudio. Removing dead code in AndroidAudioSource.cpp Change 3387346 on 2017/04/10 by Ori.Cohen Added performance regression map for physics (update kinematic bones and postBroadPhase) #JIRA UEAP-79 Change 3387409 on 2017/04/10 by Ori.Cohen Fix build, forgot to update this code Change 3387536 on 2017/04/10 by Lina.Halper Merging using AnimPhys-Fortnite-Main - fix preview mesh selection/animation #code review: Thomas.Sarkanen #rb: none #i_need_autocorrect Change 3387995 on 2017/04/11 by Martin.Wilson Live link updates - Refactor of provider api (separate update of hierarchy and transforms) - multi connection streaming from provider - provider maintains internal state so that new connections can be updated without interaction with streaming source. - Lifetime changes (connection timeout) Change 3388241 on 2017/04/11 by Lina.Halper Merging using AnimPhys-Fortnite-Main - merge CL of 3388238 #rb: Thomas.Sarkanen Change 3388294 on 2017/04/11 by Lina.Halper build fix #rb: none Change 3388341 on 2017/04/11 by Ori.Cohen Turn off vs2013 for physx Change 3389115 on 2017/04/11 by Ori.Cohen Forgot missing blueprint for perf test Change 3389224 on 2017/04/11 by Ori.Cohen Added sweep multi tests to perf regression #JIRA UEAP-79 Change 3389984 on 2017/04/12 by Martin.Wilson CIS Fix Change 3390315 on 2017/04/12 by Lina.Halper - fix on crash of component array when shutting down anim blueprint #jira: UE-43868 #rb: Thomas.Sarkanen Change 3390402 on 2017/04/12 by Martin.Wilson Fix update not being called on post process instances when the main anim instance does not do a parallel update #jira UE-43906 Change 3390772 on 2017/04/12 by Lina.Halper Fix crash on importing LOD with lesser # of joints #rb: Benn.Gallagher Change 3394850 on 2017/04/14 by Aaron.McLeran Adjusting how wavetable generation works for custom wavetables. - Changed wavetable creation to use a TSharedPtr vs a raw ptr. Change 3394853 on 2017/04/14 by Aaron.McLeran Bringing from Odin the ability to set the lowpass filter frequency on an audio component from BP Change 3395684 on 2017/04/17 by Ori.Cohen Make debugdraw for line traces const correct. Change 3396680 on 2017/04/17 by Ori.Cohen Added a total scene query stat and the ability to trace all scene queries Change 3397564 on 2017/04/18 by Benn.Gallagher Added clothing functional and performance test map + assets. Change 3397769 on 2017/04/18 by Thomas.Sarkanen CIS fix Fixup incorrect AudioStreaming.cpp merge when bringing Main into Dev-AnimPhys Change 3398518 on 2017/04/18 by Lina.Halper Mirroring fix on set world rotation #rb: Zak.Middleton #jira: UE-43830 Change 3400400 on 2017/04/19 by Chad.Garyet adding switch physx build to anim-phys Change 3400416 on 2017/04/19 by Chad.Garyet updated email targets to include switch Change 3402005 on 2017/04/20 by Ori.Cohen Pass stats into scene queries. Not all call sites are updated yet, waiting on Jon for uber search/replace script. Change 3402264 on 2017/04/20 by Ori.Cohen CIS fix Change 3402344 on 2017/04/20 by Ori.Cohen Turn off find unknown (was on by mistake) Change 3403311 on 2017/04/21 by Benn.Gallagher Clothing changes from Dev-General. Fixed LOD pops, mesh swap crashes and convex collision locations Change 3403399 on 2017/04/21 by Benn.Gallagher Lighting build, content cleanup and reorganization for clothing test map Change 3403401 on 2017/04/21 by Benn.Gallagher Clothing test ground truth updates after lighting build. Change 3403813 on 2017/04/21 by danny.bouimad Adding everything needed for our multiplat map TM-AnimPhys Change 3403900 on 2017/04/21 by mason.seay Added WIP text to tests that need fixup Change 3405383 on 2017/04/24 by Ori.Cohen Fix typo where complex flag was not being passed in to constructor. #JIRA UE-44278, UE-44279 Change 3405389 on 2017/04/24 by Martin.Wilson Live link: - Added support for sending curve data across live link and applying it via the Live Link node - Added pose snapshots which are built in the live link clients tick and read by the rest of the engine, save reading live data. Change 3405569 on 2017/04/24 by Martin.Wilson Missed file from CL 3405389 Change 3405810 on 2017/04/24 by Chad.Garyet fixing busted target for dev-animphys stream Change 3406566 on 2017/04/24 by Aaron.McLeran #jira UE-44272 Fixing granular synth with packaged builds - Changed the way granular synth component and wave table component get PCM data from USoundWave assets. No duplication, just precache directly. Change 3406694 on 2017/04/24 by Aaron.McLeran Update to phonon/steam audio plugin from valve Change 3407794 on 2017/04/25 by Aaron.McLeran #jira UE-44357 Fix for attenuation settings in sequencer Change 3407848 on 2017/04/25 by Jon.Nabozny Add stats to FCollisionQueryParams (continued from CL-3402005). Change 3407857 on 2017/04/25 by Jon.Nabozny Disable FIND_UNKNOWN_SCENE_QUERIES. Change 3407915 on 2017/04/25 by Lina.Halper Animation Automation Test for curve and simple notify Change 3408164 on 2017/04/25 by Ori.Cohen Expose the physx tree rebuild rate. Change 3408174 on 2017/04/25 by Lina.Halper - Changed 1, 2, 3, 4 for ordering of timing - Made sure the notify test takes more time between shots. Change 3408359 on 2017/04/25 by Jon.Nabozny Fix FConfigFile::Write for arrays of different sizes. (Looks like it is still broke for arrays of the same same, with different values). Change 3408633 on 2017/04/25 by Aaron.McLeran #jira UE-44297 Fix for animating sound cue graph when editor "non-realtime" button is checked - Fix is to explicitely register an active timer lambda that queries the preview audio component while the sound cue is playing Change 3408768 on 2017/04/25 by Aaron.McLeran Fixing UHT crash Change 3409225 on 2017/04/26 by Lina.Halper Increase tolerance for the shot test. It's very sensitive otherwise. Change 3409313 on 2017/04/26 by Benn.Gallagher Refactor of clothing paint tool framework to create a more extensible editor and get rid of some GDC techdebt Change 3409478 on 2017/04/26 by danny.bouimad Moved Text Actor forwards as it was causing zFighting Change 3409572 on 2017/04/26 by Benn.Gallagher CIS fix after cloth painter changes Change 3409585 on 2017/04/26 by danny.bouimad Updated Tm-AnimPhys to utilize the AEOverview maps, also found a crash with viewing shader complexity that only occurs on this map. Change 3410948 on 2017/04/27 by Martin.Wilson Live Link: - Add subject clearing support to client / message bus protocol - Update ref skeleton when subject changes. - Remove old classes Change 3413305 on 2017/04/28 by Danny.Bouimad Disabled audio tests on AnimPhys Testmap to hopefuly stop the lighting crashes during launch on (content problem) Change 3413408 on 2017/04/28 by mason.seay Resaving to clear empty engine version warnings Change 3413418 on 2017/04/28 by Benn.Gallagher CIS fix, #pragma once in wrong place (after an include) Change 3413737 on 2017/04/28 by Martin.Wilson Rename Live Link Message Bus messages to contain the word message to avoid future name clashes Change 3414121 on 2017/04/28 by Ori.Cohen Added task batching for physx tasks. Set fortnite to 8 as we already have a lot of thread contention during that time and it's best to just do it all in a single task. Change 3417833 on 2017/05/02 by Thomas.Sarkanen Fix bad merge in SynthComponentGranulator.cpp Change 3418174 on 2017/05/02 by Jon.Nabozny Fix memory leak in UDestructibleComponent::SetSkeletalMesh Change 3418907 on 2017/05/02 by Aaron.McLeran #jira UE-44599 Fixing active sound un-pause issue. - While paused, active sounds were updating their active playbacktime. Change 3419001 on 2017/05/02 by Ori.Cohen Added GetNumSimulatedAndAwake so that we can easily test for jitter. Change 3419079 on 2017/05/02 by Ori.Cohen Added a jitter automated test. Change 3419213 on 2017/05/02 by mason.seay Reaving content to remove empty engine version warnings Change 3419351 on 2017/05/02 by Ori.Cohen Added automated test for raycasting against landscape from underneath (JIRA UE-39819) It looks like this is currently broken Change 3419356 on 2017/05/02 by Ori.Cohen Updated test with associated JIRA where we first saw this Change 3419478 on 2017/05/02 by Ori.Cohen Added automated test for origin shift regression crash when using aggregates. Change 3420736 on 2017/05/03 by Ori.Cohen Added automated test for moving objects during an overlap callback for UE-41450 #rnx Change 3420803 on 2017/05/03 by Ori.Cohen Added automated test for JIRA UE-18019 #rnx Change 3420835 on 2017/05/03 by Jurre.deBaare Anim modifier BP for release notes Change 3421185 on 2017/05/03 by Ori.Cohen Missing file Change 3422673 on 2017/05/04 by danny.bouimad Fixed the cooked/uncooked lighting issue with AEO_StageFloor. The lights should no longer repeatidly spawn when loading in as sub levels. Change 3422898 on 2017/05/04 by Danny.Bouimad Updating QA Audio Content Change 3422908 on 2017/05/04 by Danny.Bouimad Fixing Automation CIS error 'Can't find file for asset. /Game/Tests/Physics/ISMCStaticSweep_BuiltData' Change 3423508 on 2017/05/04 by Danny.Bouimad Replacing ground truth and adding build data for nonissue Automation CIS failure OverlapCallback Change 3423634 on 2017/05/04 by danny.bouimad Made updates to TM-AnimPhys testmap Change 3423870 on 2017/05/04 by Ori.Cohen Fix wheels separating from vehicle due to world kinematic refactor. Added temp variable for now #jira UE-44624 Change 3423917 on 2017/05/04 by Ori.Cohen Assert_Equal for int returns a bool Change 3425267 on 2017/05/05 by Martin.Wilson Live Link - Add interpolation to subjects - Add connection settings that can be modified in client panel. All subjects modified by a connection use its connection settings - Give live link sources their client Guid so that they can send it with subject data Change 3425303 on 2017/05/05 by Martin.Wilson Missed file from CL 3425267 Change 3430351 on 2017/05/09 by Martin.Wilson Crash fix for live link interpolation Change 3430601 on 2017/05/09 by Benn.Gallagher Disabled clothing perf test temporarily due to stats issues Change 3432669 on 2017/05/10 by Ori.Cohen Temporarily turn off line trace under heightfield test. This is a known bug which won't be fixed until 4.17 Change 3432679 on 2017/05/10 by Ori.Cohen Temporarily turn off check during TLS release on Switch. Change 3434960 on 2017/05/11 by danny.bouimad Disabled content on TM-AnimPhys that was casuing a out of memory when drawing debug lines on switch. Change 3436639 on 2017/05/12 by Danny.Bouimad Updating ground truths and map for OverlapCallBack to fix CIS error. [CL 3437043 by Thomas Sarkanen in Main branch]
2017-05-12 11:21:11 -04:00
}
else
{
CurrentlyUsedSourceMeshComponent.Reset();
}
}
else
{
CurrentlyUsedSourceMeshComponent.Reset();
}
}
else
{
CurrentlyUsedSourceMeshComponent.Reset();
}
}
void FAnimNode_CopyPoseFromMesh::PreUpdate(const UAnimInstance* InAnimInstance)
{
QUICK_SCOPE_CYCLE_COUNTER(FAnimNode_CopyPoseFromMesh_PreUpdate);
RefreshMeshComponent(InAnimInstance->GetSkelMeshComponent());
USkeletalMeshComponent* CurrentMeshComponent = CurrentlyUsedSourceMeshComponent.IsValid() ? CurrentlyUsedSourceMeshComponent.Get() : nullptr;
if (CurrentMeshComponent && CurrentMeshComponent->SkeletalMesh && CurrentMeshComponent->IsRegistered())
{
// If our source is running under master-pose, then get bone data from there
if(USkeletalMeshComponent* MasterPoseComponent = Cast<USkeletalMeshComponent>(CurrentMeshComponent->MasterPoseComponent.Get()))
{
CurrentMeshComponent = MasterPoseComponent;
}
// re-check mesh component validity as it may have changed to master
if(CurrentMeshComponent->SkeletalMesh && CurrentMeshComponent->IsRegistered())
{
const bool bUROInSync = CurrentMeshComponent->ShouldUseUpdateRateOptimizations() && CurrentMeshComponent->AnimUpdateRateParams != nullptr && CurrentMeshComponent->AnimUpdateRateParams == InAnimInstance->GetSkelMeshComponent()->AnimUpdateRateParams;
const bool bUsingExternalInterpolation = CurrentMeshComponent->IsUsingExternalInterpolation();
const TArray<FTransform>& CachedComponentSpaceTransforms = CurrentMeshComponent->GetCachedComponentSpaceTransforms();
const bool bArraySizesMatch = CachedComponentSpaceTransforms.Num() == CurrentMeshComponent->GetComponentSpaceTransforms().Num();
// Copy source array from the appropriate location
SourceMeshTransformArray.Reset();
SourceMeshTransformArray.Append((bUROInSync || bUsingExternalInterpolation) && bArraySizesMatch ? CachedComponentSpaceTransforms : CurrentMeshComponent->GetComponentSpaceTransforms());
// Ref skeleton is need for parent index lookups later, so store it now
CurrentlyUsedMesh = CurrentMeshComponent->SkeletalMesh;
if(bCopyCurves)
{
UAnimInstance* SourceAnimInstance = CurrentMeshComponent->GetAnimInstance();
if (SourceAnimInstance)
{
// attribute curve contains all list
SourceCurveList.Reset();
SourceCurveList.Append(SourceAnimInstance->GetAnimationCurveList(EAnimCurveType::AttributeCurve));
}
else
{
SourceCurveList.Reset();
}
}
if (bCopyCustomAttributes)
{
SourceCustomAttributes.CopyFrom(CurrentMeshComponent->GetCustomAttributes());
}
}
else
{
CurrentlyUsedMesh.Reset();
}
}
}
void FAnimNode_CopyPoseFromMesh::Update_AnyThread(const FAnimationUpdateContext& Context)
{
DECLARE_SCOPE_HIERARCHICAL_COUNTER_ANIMNODE(Update_AnyThread)
// This introduces a frame of latency in setting the pin-driven source component,
// but we cannot do the work to extract transforms on a worker thread as it is not thread safe.
GetEvaluateGraphExposedInputs().Execute(Context);
TRACE_ANIM_NODE_VALUE(Context, TEXT("Component"), *GetNameSafe(CurrentlyUsedSourceMeshComponent.IsValid() ? CurrentlyUsedSourceMeshComponent.Get() : nullptr));
TRACE_ANIM_NODE_VALUE(Context, TEXT("Mesh"), *GetNameSafe(CurrentlyUsedSourceMeshComponent.IsValid() ? CurrentlyUsedSourceMeshComponent.Get()->SkeletalMesh : nullptr));
}
void FAnimNode_CopyPoseFromMesh::Evaluate_AnyThread(FPoseContext& Output)
{
DECLARE_SCOPE_HIERARCHICAL_COUNTER_ANIMNODE(Evaluate_AnyThread)
FCompactPose& OutPose = Output.Pose;
OutPose.ResetToRefPose();
USkeletalMesh* CurrentMesh = CurrentlyUsedMesh.IsValid() ? CurrentlyUsedMesh.Get() : nullptr;
if(SourceMeshTransformArray.Num() > 0 && CurrentMesh)
{
const FBoneContainer& RequiredBones = OutPose.GetBoneContainer();
if (bUseMeshPose)
{
FCSPose<FCompactPose> MeshPoses;
MeshPoses.InitPose(OutPose);
for (FCompactPoseBoneIndex PoseBoneIndex : OutPose.ForEachBoneIndex())
{
const FMeshPoseBoneIndex MeshBoneIndex = RequiredBones.MakeMeshPoseIndex(PoseBoneIndex);
const int32* Value = BoneMapToSource.Find(MeshBoneIndex.GetInt());
if (Value && SourceMeshTransformArray.IsValidIndex(*Value))
{
const int32 SourceBoneIndex = *Value;
MeshPoses.SetComponentSpaceTransform(PoseBoneIndex, SourceMeshTransformArray[SourceBoneIndex]);
}
}
FCSPose<FCompactPose>::ConvertComponentPosesToLocalPosesSafe(MeshPoses, OutPose);
}
else
{
for (FCompactPoseBoneIndex PoseBoneIndex : OutPose.ForEachBoneIndex())
{
const FMeshPoseBoneIndex MeshBoneIndex = RequiredBones.MakeMeshPoseIndex(PoseBoneIndex);
const int32* Value = BoneMapToSource.Find(MeshBoneIndex.GetInt());
if (Value && SourceMeshTransformArray.IsValidIndex(*Value))
{
const int32 SourceBoneIndex = *Value;
const int32 ParentIndex = CurrentMesh->GetRefSkeleton().GetParentIndex(SourceBoneIndex);
const FCompactPoseBoneIndex MyParentIndex = RequiredBones.GetParentBoneIndex(PoseBoneIndex);
// only apply if I also have parent, otherwise, it should apply the space bases
if (SourceMeshTransformArray.IsValidIndex(ParentIndex) && MyParentIndex != INDEX_NONE)
{
const FTransform& ParentTransform = SourceMeshTransformArray[ParentIndex];
const FTransform& ChildTransform = SourceMeshTransformArray[SourceBoneIndex];
OutPose[PoseBoneIndex] = ChildTransform.GetRelativeTransform(ParentTransform);
}
else
{
OutPose[PoseBoneIndex] = SourceMeshTransformArray[SourceBoneIndex];
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3760710 by Thomas.Sarkanen Fix crash deleting primitives in PhAT Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data. #jira UE-52404 - Crash deleting bodies #tests deleted primitives in PhAT Change 3760798 by Martin.Wilson Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing #Jira UE-52343 Change 3761312 by Martin.Wilson Fix for infrequent crash on module start up Change 3761333 by Danny.Bouimad Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more! Change 3761550 by Aaron.McLeran Engine changes requested by oculus for spatializer interface Change 3761728 by Martin.Wilson Fix crash when undoing a change on a skeletal mesh that uses virtual bones #Jira UE-52475 Change 3762032 by Ethan.Geller #jira UE-49076 Implement PR for VOIP bug fix on Mac Change 3762109 by Aaron.McLeran Enabling bAllowAnyoneToDestroyMe on audio components Change 3762125 by Aaron.McLeran Checking in missing file Change 3762568 by Aaron.McLeran Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code. Change 3762571 by Aaron.McLeran Adding multichannel file support. - Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way - Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use Change 3762626 by Aaron.McLeran Adding ability to automatically tag ambisonics files. Change 3762627 by Aaron.McLeran Fixing up source buses to be more useful - Added pre and post source effect bus sends types. - Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation. Change 3762652 by Aaron.McLeran Fix for device hot swap Change 3762725 by Ethan.Geller Fixing multichannel indices so that it matches the multichannel cook Change 3762738 by Ethan.Geller Add ambisonics plugin support Change 3762739 by Ethan.Geller Updating oculus audio plugin - Base implementation by Peter Sterling at Oculus - Ambisonics decoding using Oculus API implemented by Ethan Change 3763687 by Martin.Wilson Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it #Jira UE-52510 Change 3764412 by Ethan.Geller Fix the incremental build, pt 2 Change 3764721 by Ethan.Geller Fix the build, take 3 Change 3764767 by Martin.Wilson Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item #Jira UE-52537 Change 3764845 by Aaron.McLeran Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices. Prevents hang on releasing sound wave procedural references in GC. Change 3766047 by Thomas.Sarkanen Pinnable command list widget Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used. Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed. #jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT Change 3766111 by Thomas.Sarkanen CIS fix Change 3766273 by Lina.Halper Rename PostBlendPhysics to FinalizeAnimationUpdate Change 3768507 by Thomas.Sarkanen CIS fix Change 3768637 by James.Golding Add 'GetSectionFromProceduralMesh' util function #jira UE-49262 Change 3768649 by Lina.Halper Moved the automation test to tests folder #jira:UE-46250 Change 3768675 by Benn.Gallagher Fixed incorrect deprecated angular velocity accessor. Change 3768776 by Benn.Gallagher Fix for skeletal mesh editor crash importing more than 5 LODs #jira UE-52263 Change 3768804 by Martin.Wilson Live Link Virtual subjects Virtuals subjects are created within the client and contain the bones of multiple real subjects Change 3768874 by Martin.Wilson UAnimSequenceBase is now entirely exported with ENGINE_API #Jira UE-48020 Change 3769318 by Lina.Halper - Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated. - Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back #jira: UEAP-272 Change 3769714 by Lina.Halper Fix CIS Change 3770672 by James.Golding Expose API for changing 'Use CCD' flag at runtime #jira UE-50332 Change 3770675 by James.Golding Add test map for 'Set Use CCD' function Change 3770711 by Thomas.Sarkanen Multi viewports and bone-locked cameras in animation editor viewports All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings. Fixed up bounds following to actually work correctly (now follows without lag). Added the ability to follow (and orbit) a specified bone as well. #jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene. #jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled Change 3770786 by Lina.Halper Support curve in copy pose node #jira: UE-50182 Change 3770943 by James.Golding Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data) Fix from Kier at NVIDIA #jira UE-52444 Change 3771145 by Benn.Gallagher Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite #jira UE-49747 Change 3772262 by Benn.Gallagher Defaulted the clothing create menu to use the skeletal mesh physics asset #jira UE-51607 Change 3772389 by Thomas.Sarkanen Added a keyboard shortcut to toggle between body and constraint selection Shortcut is Ctrl+T by default. #jira UE-51804 - Add a quick switch between selected constraints and bodies Change 3772393 by Thomas.Sarkanen Constraints are now displayed only once in the physics asset editor tree view User constraints are still displayed twice, however. #jira UE-51808 - Constraints in PhAT should only be displayed once in the tree Change 3772404 by James.Golding Fix Modify Curve AnimNode not calling CacheBones on source pose #jira UE-52129 Change 3772418 by Benn.Gallagher Allowed clothing visualizations to be enabled while clothing paint mode is active. Fixed crash attempting to visualize backstops when the clothing data has no backstops. #jira UE-47042 Change 3772964 by Thomas.Sarkanen Expose sequence recording settings in Persona editors Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily. Added a structure details view to edit the default animation settings. Hooked default animation settings up to Persona animation recording. #jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor Change 3772967 by Martin.Wilson Add NativeBeginPlay function to AnimInstance #jira UE-51351 PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei) Change 3772986 by Thomas.Sarkanen Added "Show Only Selected Constraints" to the physics asset editor #jira UE-51805 - Add 'show only selected constraints' option to PhAT Change 3773012 by Benn.Gallagher Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value #jira UE-42354 Change 3773132 by Martin.Wilson Added Uncheck all unconnected pins for BreakStruct nodes #jira UE-51136 PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist) Change 3773158 by Benn.Gallagher Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary #jira UE-48109 Change 3773895 by Jurre.deBaare Move material baking out of experimental #fix Removed experimental settings gating around Material Baking functionality #jira UE-52685 Change 3773898 by Jurre.deBaare Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build) Change 3773899 by Jurre.deBaare Add keybind for switching between paint / erase color while mesh painting #fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut) #jira UE-52197 Change 3773900 by Jurre.deBaare Hotkey to enable and disable post processing in the preview scene settings #fix Added hotkey and command for toggling Post Processing in Preview Scenes #jira UE-48111 Change 3773933 by Martin.Wilson Add missing file (for live link monolithic build failure) Change 3773949 by Jurre.deBaare Right click add selected to HLOD cluster / create cluster #fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection #jira UE-48334 Change 3773950 by Jurre.deBaare HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing #fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner) #jira UE-49094 Change 3773964 by James.Golding Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA' #jira UE-52545 Change 3773978 by Thomas.Sarkanen Allow edits to physics sim options to be undone/redone Added RF_Transactional to the object #jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu Change 3773982 by Martin.Wilson Add pre and post conversion callbacks to root motion conversion in character movement component #jira UE-51966 Change 3773988 by Thomas.Sarkanen Duplicating CL 3773896 from Fortnite: Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run Change 3773999 by Martin.Wilson Fix incorrect merge Change 3774030 by Thomas.Sarkanen Renamed "Create Joints" to "Create Constraints" #jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint" Change 3774031 by Thomas.Sarkanen Fixed typo in comment #jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset Change 3774200 by Lina.Halper Fix crash with empty element in the constraint setup #jira: UE-52686 Change 3774236 by Ori.Cohen Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors #jira UE-52320 Change 3774284 by James.Golding Fix constructor order CIS error in AudioMicerSubmix.cpp Change 3774511 by James.Golding Fix up removed RevisionNumber param Change 3774724 by Lina.Halper Fix of motion blur change of previous bone transform Change 3775493 by Thomas.Sarkanen Duplicating CL 3775488 from Fortnite: Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775508 by James.Golding Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block Change 3775538 by James.Golding Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback Change 3775921 by Ori.Cohen Better fix for destructible crash (also fix CIS) #jira UE-52762 Change 3776054 by Benn.Gallagher Fixed crash deleting max distance mask from a clothing data entry. #jira UE-52723 Change 3776063 by Thomas.Sarkanen Fix static analysis warning Change 3776331 by Jurre.deBaare Hierarchical LOD Outliner scrollbar doesn't appear #fix removed AutoHeight from parent vertical box around HLOD outliner details view #jira UE-52756 Change 3776704 by Martin.Wilson Fix array properties not always refreshing when new items are added #UE-52760 Change 3776755 by Thomas.Sarkanen Duplicating CL 3776656 from Fortnite: Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3777385 by Aaron.McLeran #jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine. Change 3778233 by Lina.Halper Removed android from oculus audio platform Change 3778714 by Ethan.Geller #jira UE-52818 remove Android from Oculus Audio platforms Change 3779004 by Lina.Halper Include "Features/IModularFeatures.h" to cpp Fix build error Change 3780324 by Thomas.Sarkanen Duplicating CL 3778679 from Fortnite-Main: Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3763999 by Ethan.Geller remove space from ambisonics mixer name, fix build Change 3774470 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039 [CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
}
}
}
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3760710 by Thomas.Sarkanen Fix crash deleting primitives in PhAT Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data. #jira UE-52404 - Crash deleting bodies #tests deleted primitives in PhAT Change 3760798 by Martin.Wilson Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing #Jira UE-52343 Change 3761312 by Martin.Wilson Fix for infrequent crash on module start up Change 3761333 by Danny.Bouimad Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more! Change 3761550 by Aaron.McLeran Engine changes requested by oculus for spatializer interface Change 3761728 by Martin.Wilson Fix crash when undoing a change on a skeletal mesh that uses virtual bones #Jira UE-52475 Change 3762032 by Ethan.Geller #jira UE-49076 Implement PR for VOIP bug fix on Mac Change 3762109 by Aaron.McLeran Enabling bAllowAnyoneToDestroyMe on audio components Change 3762125 by Aaron.McLeran Checking in missing file Change 3762568 by Aaron.McLeran Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code. Change 3762571 by Aaron.McLeran Adding multichannel file support. - Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way - Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use Change 3762626 by Aaron.McLeran Adding ability to automatically tag ambisonics files. Change 3762627 by Aaron.McLeran Fixing up source buses to be more useful - Added pre and post source effect bus sends types. - Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation. Change 3762652 by Aaron.McLeran Fix for device hot swap Change 3762725 by Ethan.Geller Fixing multichannel indices so that it matches the multichannel cook Change 3762738 by Ethan.Geller Add ambisonics plugin support Change 3762739 by Ethan.Geller Updating oculus audio plugin - Base implementation by Peter Sterling at Oculus - Ambisonics decoding using Oculus API implemented by Ethan Change 3763687 by Martin.Wilson Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it #Jira UE-52510 Change 3764412 by Ethan.Geller Fix the incremental build, pt 2 Change 3764721 by Ethan.Geller Fix the build, take 3 Change 3764767 by Martin.Wilson Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item #Jira UE-52537 Change 3764845 by Aaron.McLeran Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices. Prevents hang on releasing sound wave procedural references in GC. Change 3766047 by Thomas.Sarkanen Pinnable command list widget Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used. Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed. #jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT Change 3766111 by Thomas.Sarkanen CIS fix Change 3766273 by Lina.Halper Rename PostBlendPhysics to FinalizeAnimationUpdate Change 3768507 by Thomas.Sarkanen CIS fix Change 3768637 by James.Golding Add 'GetSectionFromProceduralMesh' util function #jira UE-49262 Change 3768649 by Lina.Halper Moved the automation test to tests folder #jira:UE-46250 Change 3768675 by Benn.Gallagher Fixed incorrect deprecated angular velocity accessor. Change 3768776 by Benn.Gallagher Fix for skeletal mesh editor crash importing more than 5 LODs #jira UE-52263 Change 3768804 by Martin.Wilson Live Link Virtual subjects Virtuals subjects are created within the client and contain the bones of multiple real subjects Change 3768874 by Martin.Wilson UAnimSequenceBase is now entirely exported with ENGINE_API #Jira UE-48020 Change 3769318 by Lina.Halper - Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated. - Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back #jira: UEAP-272 Change 3769714 by Lina.Halper Fix CIS Change 3770672 by James.Golding Expose API for changing 'Use CCD' flag at runtime #jira UE-50332 Change 3770675 by James.Golding Add test map for 'Set Use CCD' function Change 3770711 by Thomas.Sarkanen Multi viewports and bone-locked cameras in animation editor viewports All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings. Fixed up bounds following to actually work correctly (now follows without lag). Added the ability to follow (and orbit) a specified bone as well. #jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene. #jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled Change 3770786 by Lina.Halper Support curve in copy pose node #jira: UE-50182 Change 3770943 by James.Golding Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data) Fix from Kier at NVIDIA #jira UE-52444 Change 3771145 by Benn.Gallagher Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite #jira UE-49747 Change 3772262 by Benn.Gallagher Defaulted the clothing create menu to use the skeletal mesh physics asset #jira UE-51607 Change 3772389 by Thomas.Sarkanen Added a keyboard shortcut to toggle between body and constraint selection Shortcut is Ctrl+T by default. #jira UE-51804 - Add a quick switch between selected constraints and bodies Change 3772393 by Thomas.Sarkanen Constraints are now displayed only once in the physics asset editor tree view User constraints are still displayed twice, however. #jira UE-51808 - Constraints in PhAT should only be displayed once in the tree Change 3772404 by James.Golding Fix Modify Curve AnimNode not calling CacheBones on source pose #jira UE-52129 Change 3772418 by Benn.Gallagher Allowed clothing visualizations to be enabled while clothing paint mode is active. Fixed crash attempting to visualize backstops when the clothing data has no backstops. #jira UE-47042 Change 3772964 by Thomas.Sarkanen Expose sequence recording settings in Persona editors Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily. Added a structure details view to edit the default animation settings. Hooked default animation settings up to Persona animation recording. #jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor Change 3772967 by Martin.Wilson Add NativeBeginPlay function to AnimInstance #jira UE-51351 PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei) Change 3772986 by Thomas.Sarkanen Added "Show Only Selected Constraints" to the physics asset editor #jira UE-51805 - Add 'show only selected constraints' option to PhAT Change 3773012 by Benn.Gallagher Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value #jira UE-42354 Change 3773132 by Martin.Wilson Added Uncheck all unconnected pins for BreakStruct nodes #jira UE-51136 PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist) Change 3773158 by Benn.Gallagher Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary #jira UE-48109 Change 3773895 by Jurre.deBaare Move material baking out of experimental #fix Removed experimental settings gating around Material Baking functionality #jira UE-52685 Change 3773898 by Jurre.deBaare Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build) Change 3773899 by Jurre.deBaare Add keybind for switching between paint / erase color while mesh painting #fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut) #jira UE-52197 Change 3773900 by Jurre.deBaare Hotkey to enable and disable post processing in the preview scene settings #fix Added hotkey and command for toggling Post Processing in Preview Scenes #jira UE-48111 Change 3773933 by Martin.Wilson Add missing file (for live link monolithic build failure) Change 3773949 by Jurre.deBaare Right click add selected to HLOD cluster / create cluster #fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection #jira UE-48334 Change 3773950 by Jurre.deBaare HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing #fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner) #jira UE-49094 Change 3773964 by James.Golding Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA' #jira UE-52545 Change 3773978 by Thomas.Sarkanen Allow edits to physics sim options to be undone/redone Added RF_Transactional to the object #jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu Change 3773982 by Martin.Wilson Add pre and post conversion callbacks to root motion conversion in character movement component #jira UE-51966 Change 3773988 by Thomas.Sarkanen Duplicating CL 3773896 from Fortnite: Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run Change 3773999 by Martin.Wilson Fix incorrect merge Change 3774030 by Thomas.Sarkanen Renamed "Create Joints" to "Create Constraints" #jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint" Change 3774031 by Thomas.Sarkanen Fixed typo in comment #jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset Change 3774200 by Lina.Halper Fix crash with empty element in the constraint setup #jira: UE-52686 Change 3774236 by Ori.Cohen Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors #jira UE-52320 Change 3774284 by James.Golding Fix constructor order CIS error in AudioMicerSubmix.cpp Change 3774511 by James.Golding Fix up removed RevisionNumber param Change 3774724 by Lina.Halper Fix of motion blur change of previous bone transform Change 3775493 by Thomas.Sarkanen Duplicating CL 3775488 from Fortnite: Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775508 by James.Golding Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block Change 3775538 by James.Golding Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback Change 3775921 by Ori.Cohen Better fix for destructible crash (also fix CIS) #jira UE-52762 Change 3776054 by Benn.Gallagher Fixed crash deleting max distance mask from a clothing data entry. #jira UE-52723 Change 3776063 by Thomas.Sarkanen Fix static analysis warning Change 3776331 by Jurre.deBaare Hierarchical LOD Outliner scrollbar doesn't appear #fix removed AutoHeight from parent vertical box around HLOD outliner details view #jira UE-52756 Change 3776704 by Martin.Wilson Fix array properties not always refreshing when new items are added #UE-52760 Change 3776755 by Thomas.Sarkanen Duplicating CL 3776656 from Fortnite: Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3777385 by Aaron.McLeran #jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine. Change 3778233 by Lina.Halper Removed android from oculus audio platform Change 3778714 by Ethan.Geller #jira UE-52818 remove Android from Oculus Audio platforms Change 3779004 by Lina.Halper Include "Features/IModularFeatures.h" to cpp Fix build error Change 3780324 by Thomas.Sarkanen Duplicating CL 3778679 from Fortnite-Main: Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3763999 by Ethan.Geller remove space from ambisonics mixer name, fix build Change 3774470 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039 [CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
if (bCopyCurves)
{
for (auto Iter = SourceCurveList.CreateConstIterator(); Iter; ++Iter)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3760710 by Thomas.Sarkanen Fix crash deleting primitives in PhAT Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data. #jira UE-52404 - Crash deleting bodies #tests deleted primitives in PhAT Change 3760798 by Martin.Wilson Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing #Jira UE-52343 Change 3761312 by Martin.Wilson Fix for infrequent crash on module start up Change 3761333 by Danny.Bouimad Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more! Change 3761550 by Aaron.McLeran Engine changes requested by oculus for spatializer interface Change 3761728 by Martin.Wilson Fix crash when undoing a change on a skeletal mesh that uses virtual bones #Jira UE-52475 Change 3762032 by Ethan.Geller #jira UE-49076 Implement PR for VOIP bug fix on Mac Change 3762109 by Aaron.McLeran Enabling bAllowAnyoneToDestroyMe on audio components Change 3762125 by Aaron.McLeran Checking in missing file Change 3762568 by Aaron.McLeran Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code. Change 3762571 by Aaron.McLeran Adding multichannel file support. - Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way - Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use Change 3762626 by Aaron.McLeran Adding ability to automatically tag ambisonics files. Change 3762627 by Aaron.McLeran Fixing up source buses to be more useful - Added pre and post source effect bus sends types. - Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation. Change 3762652 by Aaron.McLeran Fix for device hot swap Change 3762725 by Ethan.Geller Fixing multichannel indices so that it matches the multichannel cook Change 3762738 by Ethan.Geller Add ambisonics plugin support Change 3762739 by Ethan.Geller Updating oculus audio plugin - Base implementation by Peter Sterling at Oculus - Ambisonics decoding using Oculus API implemented by Ethan Change 3763687 by Martin.Wilson Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it #Jira UE-52510 Change 3764412 by Ethan.Geller Fix the incremental build, pt 2 Change 3764721 by Ethan.Geller Fix the build, take 3 Change 3764767 by Martin.Wilson Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item #Jira UE-52537 Change 3764845 by Aaron.McLeran Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices. Prevents hang on releasing sound wave procedural references in GC. Change 3766047 by Thomas.Sarkanen Pinnable command list widget Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used. Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed. #jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT Change 3766111 by Thomas.Sarkanen CIS fix Change 3766273 by Lina.Halper Rename PostBlendPhysics to FinalizeAnimationUpdate Change 3768507 by Thomas.Sarkanen CIS fix Change 3768637 by James.Golding Add 'GetSectionFromProceduralMesh' util function #jira UE-49262 Change 3768649 by Lina.Halper Moved the automation test to tests folder #jira:UE-46250 Change 3768675 by Benn.Gallagher Fixed incorrect deprecated angular velocity accessor. Change 3768776 by Benn.Gallagher Fix for skeletal mesh editor crash importing more than 5 LODs #jira UE-52263 Change 3768804 by Martin.Wilson Live Link Virtual subjects Virtuals subjects are created within the client and contain the bones of multiple real subjects Change 3768874 by Martin.Wilson UAnimSequenceBase is now entirely exported with ENGINE_API #Jira UE-48020 Change 3769318 by Lina.Halper - Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated. - Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back #jira: UEAP-272 Change 3769714 by Lina.Halper Fix CIS Change 3770672 by James.Golding Expose API for changing 'Use CCD' flag at runtime #jira UE-50332 Change 3770675 by James.Golding Add test map for 'Set Use CCD' function Change 3770711 by Thomas.Sarkanen Multi viewports and bone-locked cameras in animation editor viewports All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings. Fixed up bounds following to actually work correctly (now follows without lag). Added the ability to follow (and orbit) a specified bone as well. #jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene. #jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled Change 3770786 by Lina.Halper Support curve in copy pose node #jira: UE-50182 Change 3770943 by James.Golding Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data) Fix from Kier at NVIDIA #jira UE-52444 Change 3771145 by Benn.Gallagher Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite #jira UE-49747 Change 3772262 by Benn.Gallagher Defaulted the clothing create menu to use the skeletal mesh physics asset #jira UE-51607 Change 3772389 by Thomas.Sarkanen Added a keyboard shortcut to toggle between body and constraint selection Shortcut is Ctrl+T by default. #jira UE-51804 - Add a quick switch between selected constraints and bodies Change 3772393 by Thomas.Sarkanen Constraints are now displayed only once in the physics asset editor tree view User constraints are still displayed twice, however. #jira UE-51808 - Constraints in PhAT should only be displayed once in the tree Change 3772404 by James.Golding Fix Modify Curve AnimNode not calling CacheBones on source pose #jira UE-52129 Change 3772418 by Benn.Gallagher Allowed clothing visualizations to be enabled while clothing paint mode is active. Fixed crash attempting to visualize backstops when the clothing data has no backstops. #jira UE-47042 Change 3772964 by Thomas.Sarkanen Expose sequence recording settings in Persona editors Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily. Added a structure details view to edit the default animation settings. Hooked default animation settings up to Persona animation recording. #jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor Change 3772967 by Martin.Wilson Add NativeBeginPlay function to AnimInstance #jira UE-51351 PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei) Change 3772986 by Thomas.Sarkanen Added "Show Only Selected Constraints" to the physics asset editor #jira UE-51805 - Add 'show only selected constraints' option to PhAT Change 3773012 by Benn.Gallagher Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value #jira UE-42354 Change 3773132 by Martin.Wilson Added Uncheck all unconnected pins for BreakStruct nodes #jira UE-51136 PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist) Change 3773158 by Benn.Gallagher Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary #jira UE-48109 Change 3773895 by Jurre.deBaare Move material baking out of experimental #fix Removed experimental settings gating around Material Baking functionality #jira UE-52685 Change 3773898 by Jurre.deBaare Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build) Change 3773899 by Jurre.deBaare Add keybind for switching between paint / erase color while mesh painting #fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut) #jira UE-52197 Change 3773900 by Jurre.deBaare Hotkey to enable and disable post processing in the preview scene settings #fix Added hotkey and command for toggling Post Processing in Preview Scenes #jira UE-48111 Change 3773933 by Martin.Wilson Add missing file (for live link monolithic build failure) Change 3773949 by Jurre.deBaare Right click add selected to HLOD cluster / create cluster #fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection #jira UE-48334 Change 3773950 by Jurre.deBaare HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing #fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner) #jira UE-49094 Change 3773964 by James.Golding Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA' #jira UE-52545 Change 3773978 by Thomas.Sarkanen Allow edits to physics sim options to be undone/redone Added RF_Transactional to the object #jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu Change 3773982 by Martin.Wilson Add pre and post conversion callbacks to root motion conversion in character movement component #jira UE-51966 Change 3773988 by Thomas.Sarkanen Duplicating CL 3773896 from Fortnite: Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run Change 3773999 by Martin.Wilson Fix incorrect merge Change 3774030 by Thomas.Sarkanen Renamed "Create Joints" to "Create Constraints" #jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint" Change 3774031 by Thomas.Sarkanen Fixed typo in comment #jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset Change 3774200 by Lina.Halper Fix crash with empty element in the constraint setup #jira: UE-52686 Change 3774236 by Ori.Cohen Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors #jira UE-52320 Change 3774284 by James.Golding Fix constructor order CIS error in AudioMicerSubmix.cpp Change 3774511 by James.Golding Fix up removed RevisionNumber param Change 3774724 by Lina.Halper Fix of motion blur change of previous bone transform Change 3775493 by Thomas.Sarkanen Duplicating CL 3775488 from Fortnite: Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775508 by James.Golding Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block Change 3775538 by James.Golding Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback Change 3775921 by Ori.Cohen Better fix for destructible crash (also fix CIS) #jira UE-52762 Change 3776054 by Benn.Gallagher Fixed crash deleting max distance mask from a clothing data entry. #jira UE-52723 Change 3776063 by Thomas.Sarkanen Fix static analysis warning Change 3776331 by Jurre.deBaare Hierarchical LOD Outliner scrollbar doesn't appear #fix removed AutoHeight from parent vertical box around HLOD outliner details view #jira UE-52756 Change 3776704 by Martin.Wilson Fix array properties not always refreshing when new items are added #UE-52760 Change 3776755 by Thomas.Sarkanen Duplicating CL 3776656 from Fortnite: Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3777385 by Aaron.McLeran #jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine. Change 3778233 by Lina.Halper Removed android from oculus audio platform Change 3778714 by Ethan.Geller #jira UE-52818 remove Android from Oculus Audio platforms Change 3779004 by Lina.Halper Include "Features/IModularFeatures.h" to cpp Fix build error Change 3780324 by Thomas.Sarkanen Duplicating CL 3778679 from Fortnite-Main: Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3763999 by Ethan.Geller remove space from ambisonics mixer name, fix build Change 3774470 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039 [CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
{
const SmartName::UID_Type* UID = CurveNameToUIDMap.Find(Iter.Key());
if (UID)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3760710 by Thomas.Sarkanen Fix crash deleting primitives in PhAT Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data. #jira UE-52404 - Crash deleting bodies #tests deleted primitives in PhAT Change 3760798 by Martin.Wilson Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing #Jira UE-52343 Change 3761312 by Martin.Wilson Fix for infrequent crash on module start up Change 3761333 by Danny.Bouimad Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more! Change 3761550 by Aaron.McLeran Engine changes requested by oculus for spatializer interface Change 3761728 by Martin.Wilson Fix crash when undoing a change on a skeletal mesh that uses virtual bones #Jira UE-52475 Change 3762032 by Ethan.Geller #jira UE-49076 Implement PR for VOIP bug fix on Mac Change 3762109 by Aaron.McLeran Enabling bAllowAnyoneToDestroyMe on audio components Change 3762125 by Aaron.McLeran Checking in missing file Change 3762568 by Aaron.McLeran Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code. Change 3762571 by Aaron.McLeran Adding multichannel file support. - Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way - Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use Change 3762626 by Aaron.McLeran Adding ability to automatically tag ambisonics files. Change 3762627 by Aaron.McLeran Fixing up source buses to be more useful - Added pre and post source effect bus sends types. - Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation. Change 3762652 by Aaron.McLeran Fix for device hot swap Change 3762725 by Ethan.Geller Fixing multichannel indices so that it matches the multichannel cook Change 3762738 by Ethan.Geller Add ambisonics plugin support Change 3762739 by Ethan.Geller Updating oculus audio plugin - Base implementation by Peter Sterling at Oculus - Ambisonics decoding using Oculus API implemented by Ethan Change 3763687 by Martin.Wilson Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it #Jira UE-52510 Change 3764412 by Ethan.Geller Fix the incremental build, pt 2 Change 3764721 by Ethan.Geller Fix the build, take 3 Change 3764767 by Martin.Wilson Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item #Jira UE-52537 Change 3764845 by Aaron.McLeran Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices. Prevents hang on releasing sound wave procedural references in GC. Change 3766047 by Thomas.Sarkanen Pinnable command list widget Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used. Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed. #jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT Change 3766111 by Thomas.Sarkanen CIS fix Change 3766273 by Lina.Halper Rename PostBlendPhysics to FinalizeAnimationUpdate Change 3768507 by Thomas.Sarkanen CIS fix Change 3768637 by James.Golding Add 'GetSectionFromProceduralMesh' util function #jira UE-49262 Change 3768649 by Lina.Halper Moved the automation test to tests folder #jira:UE-46250 Change 3768675 by Benn.Gallagher Fixed incorrect deprecated angular velocity accessor. Change 3768776 by Benn.Gallagher Fix for skeletal mesh editor crash importing more than 5 LODs #jira UE-52263 Change 3768804 by Martin.Wilson Live Link Virtual subjects Virtuals subjects are created within the client and contain the bones of multiple real subjects Change 3768874 by Martin.Wilson UAnimSequenceBase is now entirely exported with ENGINE_API #Jira UE-48020 Change 3769318 by Lina.Halper - Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated. - Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back #jira: UEAP-272 Change 3769714 by Lina.Halper Fix CIS Change 3770672 by James.Golding Expose API for changing 'Use CCD' flag at runtime #jira UE-50332 Change 3770675 by James.Golding Add test map for 'Set Use CCD' function Change 3770711 by Thomas.Sarkanen Multi viewports and bone-locked cameras in animation editor viewports All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings. Fixed up bounds following to actually work correctly (now follows without lag). Added the ability to follow (and orbit) a specified bone as well. #jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene. #jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled Change 3770786 by Lina.Halper Support curve in copy pose node #jira: UE-50182 Change 3770943 by James.Golding Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data) Fix from Kier at NVIDIA #jira UE-52444 Change 3771145 by Benn.Gallagher Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite #jira UE-49747 Change 3772262 by Benn.Gallagher Defaulted the clothing create menu to use the skeletal mesh physics asset #jira UE-51607 Change 3772389 by Thomas.Sarkanen Added a keyboard shortcut to toggle between body and constraint selection Shortcut is Ctrl+T by default. #jira UE-51804 - Add a quick switch between selected constraints and bodies Change 3772393 by Thomas.Sarkanen Constraints are now displayed only once in the physics asset editor tree view User constraints are still displayed twice, however. #jira UE-51808 - Constraints in PhAT should only be displayed once in the tree Change 3772404 by James.Golding Fix Modify Curve AnimNode not calling CacheBones on source pose #jira UE-52129 Change 3772418 by Benn.Gallagher Allowed clothing visualizations to be enabled while clothing paint mode is active. Fixed crash attempting to visualize backstops when the clothing data has no backstops. #jira UE-47042 Change 3772964 by Thomas.Sarkanen Expose sequence recording settings in Persona editors Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily. Added a structure details view to edit the default animation settings. Hooked default animation settings up to Persona animation recording. #jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor Change 3772967 by Martin.Wilson Add NativeBeginPlay function to AnimInstance #jira UE-51351 PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei) Change 3772986 by Thomas.Sarkanen Added "Show Only Selected Constraints" to the physics asset editor #jira UE-51805 - Add 'show only selected constraints' option to PhAT Change 3773012 by Benn.Gallagher Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value #jira UE-42354 Change 3773132 by Martin.Wilson Added Uncheck all unconnected pins for BreakStruct nodes #jira UE-51136 PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist) Change 3773158 by Benn.Gallagher Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary #jira UE-48109 Change 3773895 by Jurre.deBaare Move material baking out of experimental #fix Removed experimental settings gating around Material Baking functionality #jira UE-52685 Change 3773898 by Jurre.deBaare Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build) Change 3773899 by Jurre.deBaare Add keybind for switching between paint / erase color while mesh painting #fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut) #jira UE-52197 Change 3773900 by Jurre.deBaare Hotkey to enable and disable post processing in the preview scene settings #fix Added hotkey and command for toggling Post Processing in Preview Scenes #jira UE-48111 Change 3773933 by Martin.Wilson Add missing file (for live link monolithic build failure) Change 3773949 by Jurre.deBaare Right click add selected to HLOD cluster / create cluster #fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection #jira UE-48334 Change 3773950 by Jurre.deBaare HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing #fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner) #jira UE-49094 Change 3773964 by James.Golding Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA' #jira UE-52545 Change 3773978 by Thomas.Sarkanen Allow edits to physics sim options to be undone/redone Added RF_Transactional to the object #jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu Change 3773982 by Martin.Wilson Add pre and post conversion callbacks to root motion conversion in character movement component #jira UE-51966 Change 3773988 by Thomas.Sarkanen Duplicating CL 3773896 from Fortnite: Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run Change 3773999 by Martin.Wilson Fix incorrect merge Change 3774030 by Thomas.Sarkanen Renamed "Create Joints" to "Create Constraints" #jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint" Change 3774031 by Thomas.Sarkanen Fixed typo in comment #jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset Change 3774200 by Lina.Halper Fix crash with empty element in the constraint setup #jira: UE-52686 Change 3774236 by Ori.Cohen Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors #jira UE-52320 Change 3774284 by James.Golding Fix constructor order CIS error in AudioMicerSubmix.cpp Change 3774511 by James.Golding Fix up removed RevisionNumber param Change 3774724 by Lina.Halper Fix of motion blur change of previous bone transform Change 3775493 by Thomas.Sarkanen Duplicating CL 3775488 from Fortnite: Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775508 by James.Golding Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block Change 3775538 by James.Golding Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback Change 3775921 by Ori.Cohen Better fix for destructible crash (also fix CIS) #jira UE-52762 Change 3776054 by Benn.Gallagher Fixed crash deleting max distance mask from a clothing data entry. #jira UE-52723 Change 3776063 by Thomas.Sarkanen Fix static analysis warning Change 3776331 by Jurre.deBaare Hierarchical LOD Outliner scrollbar doesn't appear #fix removed AutoHeight from parent vertical box around HLOD outliner details view #jira UE-52756 Change 3776704 by Martin.Wilson Fix array properties not always refreshing when new items are added #UE-52760 Change 3776755 by Thomas.Sarkanen Duplicating CL 3776656 from Fortnite: Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3777385 by Aaron.McLeran #jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine. Change 3778233 by Lina.Halper Removed android from oculus audio platform Change 3778714 by Ethan.Geller #jira UE-52818 remove Android from Oculus Audio platforms Change 3779004 by Lina.Halper Include "Features/IModularFeatures.h" to cpp Fix build error Change 3780324 by Thomas.Sarkanen Duplicating CL 3778679 from Fortnite-Main: Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3763999 by Ethan.Geller remove space from ambisonics mixer name, fix build Change 3774470 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039 [CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
{
// set source value to output curve
Output.Curve.Set(*UID, Iter.Value());
}
}
}
if (bCopyCustomAttributes)
{
const FBoneContainer& RequiredBones = OutPose.GetBoneContainer();
UE::Anim::Attributes::CopyAndRemapAttributes(SourceCustomAttributes, Output.CustomAttributes, SourceBoneToTarget, RequiredBones);
}
}
void FAnimNode_CopyPoseFromMesh::GatherDebugData(FNodeDebugData& DebugData)
{
DECLARE_SCOPE_HIERARCHICAL_COUNTER_ANIMNODE(GatherDebugData)
FString DebugLine = DebugData.GetNodeName(this);
DebugLine += FString::Printf(TEXT("('%s')"), *GetNameSafe(CurrentlyUsedSourceMeshComponent.IsValid() ? CurrentlyUsedSourceMeshComponent.Get()->SkeletalMesh : nullptr));
DebugData.AddDebugItem(DebugLine, true);
}
void FAnimNode_CopyPoseFromMesh::ReinitializeMeshComponent(USkeletalMeshComponent* NewSourceMeshComponent, USkeletalMeshComponent* TargetMeshComponent)
{
CurrentlyUsedSourceMeshComponent.Reset();
// reset source mesh
CurrentlyUsedSourceMesh.Reset();
CurrentlyUsedTargetMesh.Reset();
BoneMapToSource.Reset();
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3760710 by Thomas.Sarkanen Fix crash deleting primitives in PhAT Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data. #jira UE-52404 - Crash deleting bodies #tests deleted primitives in PhAT Change 3760798 by Martin.Wilson Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing #Jira UE-52343 Change 3761312 by Martin.Wilson Fix for infrequent crash on module start up Change 3761333 by Danny.Bouimad Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more! Change 3761550 by Aaron.McLeran Engine changes requested by oculus for spatializer interface Change 3761728 by Martin.Wilson Fix crash when undoing a change on a skeletal mesh that uses virtual bones #Jira UE-52475 Change 3762032 by Ethan.Geller #jira UE-49076 Implement PR for VOIP bug fix on Mac Change 3762109 by Aaron.McLeran Enabling bAllowAnyoneToDestroyMe on audio components Change 3762125 by Aaron.McLeran Checking in missing file Change 3762568 by Aaron.McLeran Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code. Change 3762571 by Aaron.McLeran Adding multichannel file support. - Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way - Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use Change 3762626 by Aaron.McLeran Adding ability to automatically tag ambisonics files. Change 3762627 by Aaron.McLeran Fixing up source buses to be more useful - Added pre and post source effect bus sends types. - Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation. Change 3762652 by Aaron.McLeran Fix for device hot swap Change 3762725 by Ethan.Geller Fixing multichannel indices so that it matches the multichannel cook Change 3762738 by Ethan.Geller Add ambisonics plugin support Change 3762739 by Ethan.Geller Updating oculus audio plugin - Base implementation by Peter Sterling at Oculus - Ambisonics decoding using Oculus API implemented by Ethan Change 3763687 by Martin.Wilson Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it #Jira UE-52510 Change 3764412 by Ethan.Geller Fix the incremental build, pt 2 Change 3764721 by Ethan.Geller Fix the build, take 3 Change 3764767 by Martin.Wilson Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item #Jira UE-52537 Change 3764845 by Aaron.McLeran Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices. Prevents hang on releasing sound wave procedural references in GC. Change 3766047 by Thomas.Sarkanen Pinnable command list widget Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used. Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed. #jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT Change 3766111 by Thomas.Sarkanen CIS fix Change 3766273 by Lina.Halper Rename PostBlendPhysics to FinalizeAnimationUpdate Change 3768507 by Thomas.Sarkanen CIS fix Change 3768637 by James.Golding Add 'GetSectionFromProceduralMesh' util function #jira UE-49262 Change 3768649 by Lina.Halper Moved the automation test to tests folder #jira:UE-46250 Change 3768675 by Benn.Gallagher Fixed incorrect deprecated angular velocity accessor. Change 3768776 by Benn.Gallagher Fix for skeletal mesh editor crash importing more than 5 LODs #jira UE-52263 Change 3768804 by Martin.Wilson Live Link Virtual subjects Virtuals subjects are created within the client and contain the bones of multiple real subjects Change 3768874 by Martin.Wilson UAnimSequenceBase is now entirely exported with ENGINE_API #Jira UE-48020 Change 3769318 by Lina.Halper - Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated. - Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back #jira: UEAP-272 Change 3769714 by Lina.Halper Fix CIS Change 3770672 by James.Golding Expose API for changing 'Use CCD' flag at runtime #jira UE-50332 Change 3770675 by James.Golding Add test map for 'Set Use CCD' function Change 3770711 by Thomas.Sarkanen Multi viewports and bone-locked cameras in animation editor viewports All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings. Fixed up bounds following to actually work correctly (now follows without lag). Added the ability to follow (and orbit) a specified bone as well. #jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene. #jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled Change 3770786 by Lina.Halper Support curve in copy pose node #jira: UE-50182 Change 3770943 by James.Golding Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data) Fix from Kier at NVIDIA #jira UE-52444 Change 3771145 by Benn.Gallagher Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite #jira UE-49747 Change 3772262 by Benn.Gallagher Defaulted the clothing create menu to use the skeletal mesh physics asset #jira UE-51607 Change 3772389 by Thomas.Sarkanen Added a keyboard shortcut to toggle between body and constraint selection Shortcut is Ctrl+T by default. #jira UE-51804 - Add a quick switch between selected constraints and bodies Change 3772393 by Thomas.Sarkanen Constraints are now displayed only once in the physics asset editor tree view User constraints are still displayed twice, however. #jira UE-51808 - Constraints in PhAT should only be displayed once in the tree Change 3772404 by James.Golding Fix Modify Curve AnimNode not calling CacheBones on source pose #jira UE-52129 Change 3772418 by Benn.Gallagher Allowed clothing visualizations to be enabled while clothing paint mode is active. Fixed crash attempting to visualize backstops when the clothing data has no backstops. #jira UE-47042 Change 3772964 by Thomas.Sarkanen Expose sequence recording settings in Persona editors Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily. Added a structure details view to edit the default animation settings. Hooked default animation settings up to Persona animation recording. #jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor Change 3772967 by Martin.Wilson Add NativeBeginPlay function to AnimInstance #jira UE-51351 PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei) Change 3772986 by Thomas.Sarkanen Added "Show Only Selected Constraints" to the physics asset editor #jira UE-51805 - Add 'show only selected constraints' option to PhAT Change 3773012 by Benn.Gallagher Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value #jira UE-42354 Change 3773132 by Martin.Wilson Added Uncheck all unconnected pins for BreakStruct nodes #jira UE-51136 PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist) Change 3773158 by Benn.Gallagher Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary #jira UE-48109 Change 3773895 by Jurre.deBaare Move material baking out of experimental #fix Removed experimental settings gating around Material Baking functionality #jira UE-52685 Change 3773898 by Jurre.deBaare Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build) Change 3773899 by Jurre.deBaare Add keybind for switching between paint / erase color while mesh painting #fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut) #jira UE-52197 Change 3773900 by Jurre.deBaare Hotkey to enable and disable post processing in the preview scene settings #fix Added hotkey and command for toggling Post Processing in Preview Scenes #jira UE-48111 Change 3773933 by Martin.Wilson Add missing file (for live link monolithic build failure) Change 3773949 by Jurre.deBaare Right click add selected to HLOD cluster / create cluster #fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection #jira UE-48334 Change 3773950 by Jurre.deBaare HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing #fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner) #jira UE-49094 Change 3773964 by James.Golding Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA' #jira UE-52545 Change 3773978 by Thomas.Sarkanen Allow edits to physics sim options to be undone/redone Added RF_Transactional to the object #jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu Change 3773982 by Martin.Wilson Add pre and post conversion callbacks to root motion conversion in character movement component #jira UE-51966 Change 3773988 by Thomas.Sarkanen Duplicating CL 3773896 from Fortnite: Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run Change 3773999 by Martin.Wilson Fix incorrect merge Change 3774030 by Thomas.Sarkanen Renamed "Create Joints" to "Create Constraints" #jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint" Change 3774031 by Thomas.Sarkanen Fixed typo in comment #jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset Change 3774200 by Lina.Halper Fix crash with empty element in the constraint setup #jira: UE-52686 Change 3774236 by Ori.Cohen Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors #jira UE-52320 Change 3774284 by James.Golding Fix constructor order CIS error in AudioMicerSubmix.cpp Change 3774511 by James.Golding Fix up removed RevisionNumber param Change 3774724 by Lina.Halper Fix of motion blur change of previous bone transform Change 3775493 by Thomas.Sarkanen Duplicating CL 3775488 from Fortnite: Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775508 by James.Golding Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block Change 3775538 by James.Golding Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback Change 3775921 by Ori.Cohen Better fix for destructible crash (also fix CIS) #jira UE-52762 Change 3776054 by Benn.Gallagher Fixed crash deleting max distance mask from a clothing data entry. #jira UE-52723 Change 3776063 by Thomas.Sarkanen Fix static analysis warning Change 3776331 by Jurre.deBaare Hierarchical LOD Outliner scrollbar doesn't appear #fix removed AutoHeight from parent vertical box around HLOD outliner details view #jira UE-52756 Change 3776704 by Martin.Wilson Fix array properties not always refreshing when new items are added #UE-52760 Change 3776755 by Thomas.Sarkanen Duplicating CL 3776656 from Fortnite: Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3777385 by Aaron.McLeran #jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine. Change 3778233 by Lina.Halper Removed android from oculus audio platform Change 3778714 by Ethan.Geller #jira UE-52818 remove Android from Oculus Audio platforms Change 3779004 by Lina.Halper Include "Features/IModularFeatures.h" to cpp Fix build error Change 3780324 by Thomas.Sarkanen Duplicating CL 3778679 from Fortnite-Main: Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3763999 by Ethan.Geller remove space from ambisonics mixer name, fix build Change 3774470 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039 [CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
CurveNameToUIDMap.Reset();
if (TargetMeshComponent && IsValid(NewSourceMeshComponent) && NewSourceMeshComponent->SkeletalMesh)
{
USkeletalMesh* SourceSkelMesh = NewSourceMeshComponent->SkeletalMesh;
USkeletalMesh* TargetSkelMesh = TargetMeshComponent->SkeletalMesh;
if (IsValid(SourceSkelMesh) && !SourceSkelMesh->HasAnyFlags(RF_NeedPostLoad) &&
IsValid(TargetSkelMesh) && !TargetSkelMesh->HasAnyFlags(RF_NeedPostLoad))
{
CurrentlyUsedSourceMeshComponent = NewSourceMeshComponent;
CurrentlyUsedSourceMesh = SourceSkelMesh;
CurrentlyUsedTargetMesh = TargetSkelMesh;
if (SourceSkelMesh == TargetSkelMesh)
{
for(int32 ComponentSpaceBoneId = 0; ComponentSpaceBoneId < SourceSkelMesh->GetRefSkeleton().GetNum(); ++ComponentSpaceBoneId)
{
BoneMapToSource.Add(ComponentSpaceBoneId, ComponentSpaceBoneId);
}
}
else
{
const int32 SplitBoneIndex = (RootBoneToCopy != NAME_Name)? TargetSkelMesh->GetRefSkeleton().FindBoneIndex(RootBoneToCopy) : INDEX_NONE;
for (int32 ComponentSpaceBoneId = 0; ComponentSpaceBoneId < TargetSkelMesh->GetRefSkeleton().GetNum(); ++ComponentSpaceBoneId)
{
if (SplitBoneIndex == INDEX_NONE || ComponentSpaceBoneId == SplitBoneIndex
|| TargetSkelMesh->GetRefSkeleton().BoneIsChildOf(ComponentSpaceBoneId, SplitBoneIndex))
{
FName BoneName = TargetSkelMesh->GetRefSkeleton().GetBoneName(ComponentSpaceBoneId);
BoneMapToSource.Add(ComponentSpaceBoneId, SourceSkelMesh->GetRefSkeleton().FindBoneIndex(BoneName));
}
}
}
if (bCopyCurves)
{
USkeleton* SourceSkeleton = SourceSkelMesh->GetSkeleton();
USkeleton* TargetSkeleton = TargetSkelMesh->GetSkeleton();
// you shouldn't be here if this happened
if (ensureMsgf(SourceSkeleton, TEXT("Invalid null source skeleton : %s"), *GetNameSafe(SourceSkelMesh))
&& ensureMsgf(TargetSkeleton, TEXT("Invalid null target skeleton : %s"), *GetNameSafe(TargetSkelMesh)))
{
const FSmartNameMapping* SourceContainer = SourceSkeleton->GetSmartNameContainer(USkeleton::AnimCurveMappingName);
const FSmartNameMapping* TargetContainer = TargetSkeleton->GetSmartNameContainer(USkeleton::AnimCurveMappingName);
TArray<FName> SourceCurveNames;
SourceContainer->FillNameArray(SourceCurveNames);
for (int32 Index = 0; Index < SourceCurveNames.Num(); ++Index)
{
SmartName::UID_Type UID = TargetContainer->FindUID(SourceCurveNames[Index]);
if (UID != SmartName::MaxUID)
{
// has a valid UID, add to the list
SmartName::UID_Type& Value = CurveNameToUIDMap.Add(SourceCurveNames[Index]);
Value = UID;
}
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324) #lockdown Nick.Penwarden #rb none #rnx ============================ MAJOR FEATURES & CHANGES ============================ Change 3760710 by Thomas.Sarkanen Fix crash deleting primitives in PhAT Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data. #jira UE-52404 - Crash deleting bodies #tests deleted primitives in PhAT Change 3760798 by Martin.Wilson Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing #Jira UE-52343 Change 3761312 by Martin.Wilson Fix for infrequent crash on module start up Change 3761333 by Danny.Bouimad Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more! Change 3761550 by Aaron.McLeran Engine changes requested by oculus for spatializer interface Change 3761728 by Martin.Wilson Fix crash when undoing a change on a skeletal mesh that uses virtual bones #Jira UE-52475 Change 3762032 by Ethan.Geller #jira UE-49076 Implement PR for VOIP bug fix on Mac Change 3762109 by Aaron.McLeran Enabling bAllowAnyoneToDestroyMe on audio components Change 3762125 by Aaron.McLeran Checking in missing file Change 3762568 by Aaron.McLeran Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code. Change 3762571 by Aaron.McLeran Adding multichannel file support. - Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way - Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use Change 3762626 by Aaron.McLeran Adding ability to automatically tag ambisonics files. Change 3762627 by Aaron.McLeran Fixing up source buses to be more useful - Added pre and post source effect bus sends types. - Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation. Change 3762652 by Aaron.McLeran Fix for device hot swap Change 3762725 by Ethan.Geller Fixing multichannel indices so that it matches the multichannel cook Change 3762738 by Ethan.Geller Add ambisonics plugin support Change 3762739 by Ethan.Geller Updating oculus audio plugin - Base implementation by Peter Sterling at Oculus - Ambisonics decoding using Oculus API implemented by Ethan Change 3763687 by Martin.Wilson Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it #Jira UE-52510 Change 3764412 by Ethan.Geller Fix the incremental build, pt 2 Change 3764721 by Ethan.Geller Fix the build, take 3 Change 3764767 by Martin.Wilson Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item #Jira UE-52537 Change 3764845 by Aaron.McLeran Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices. Prevents hang on releasing sound wave procedural references in GC. Change 3766047 by Thomas.Sarkanen Pinnable command list widget Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used. Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed. #jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT Change 3766111 by Thomas.Sarkanen CIS fix Change 3766273 by Lina.Halper Rename PostBlendPhysics to FinalizeAnimationUpdate Change 3768507 by Thomas.Sarkanen CIS fix Change 3768637 by James.Golding Add 'GetSectionFromProceduralMesh' util function #jira UE-49262 Change 3768649 by Lina.Halper Moved the automation test to tests folder #jira:UE-46250 Change 3768675 by Benn.Gallagher Fixed incorrect deprecated angular velocity accessor. Change 3768776 by Benn.Gallagher Fix for skeletal mesh editor crash importing more than 5 LODs #jira UE-52263 Change 3768804 by Martin.Wilson Live Link Virtual subjects Virtuals subjects are created within the client and contain the bones of multiple real subjects Change 3768874 by Martin.Wilson UAnimSequenceBase is now entirely exported with ENGINE_API #Jira UE-48020 Change 3769318 by Lina.Halper - Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated. - Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back #jira: UEAP-272 Change 3769714 by Lina.Halper Fix CIS Change 3770672 by James.Golding Expose API for changing 'Use CCD' flag at runtime #jira UE-50332 Change 3770675 by James.Golding Add test map for 'Set Use CCD' function Change 3770711 by Thomas.Sarkanen Multi viewports and bone-locked cameras in animation editor viewports All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings. Fixed up bounds following to actually work correctly (now follows without lag). Added the ability to follow (and orbit) a specified bone as well. #jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene. #jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled Change 3770786 by Lina.Halper Support curve in copy pose node #jira: UE-50182 Change 3770943 by James.Golding Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data) Fix from Kier at NVIDIA #jira UE-52444 Change 3771145 by Benn.Gallagher Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite #jira UE-49747 Change 3772262 by Benn.Gallagher Defaulted the clothing create menu to use the skeletal mesh physics asset #jira UE-51607 Change 3772389 by Thomas.Sarkanen Added a keyboard shortcut to toggle between body and constraint selection Shortcut is Ctrl+T by default. #jira UE-51804 - Add a quick switch between selected constraints and bodies Change 3772393 by Thomas.Sarkanen Constraints are now displayed only once in the physics asset editor tree view User constraints are still displayed twice, however. #jira UE-51808 - Constraints in PhAT should only be displayed once in the tree Change 3772404 by James.Golding Fix Modify Curve AnimNode not calling CacheBones on source pose #jira UE-52129 Change 3772418 by Benn.Gallagher Allowed clothing visualizations to be enabled while clothing paint mode is active. Fixed crash attempting to visualize backstops when the clothing data has no backstops. #jira UE-47042 Change 3772964 by Thomas.Sarkanen Expose sequence recording settings in Persona editors Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily. Added a structure details view to edit the default animation settings. Hooked default animation settings up to Persona animation recording. #jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor Change 3772967 by Martin.Wilson Add NativeBeginPlay function to AnimInstance #jira UE-51351 PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei) Change 3772986 by Thomas.Sarkanen Added "Show Only Selected Constraints" to the physics asset editor #jira UE-51805 - Add 'show only selected constraints' option to PhAT Change 3773012 by Benn.Gallagher Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value #jira UE-42354 Change 3773132 by Martin.Wilson Added Uncheck all unconnected pins for BreakStruct nodes #jira UE-51136 PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist) Change 3773158 by Benn.Gallagher Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary #jira UE-48109 Change 3773895 by Jurre.deBaare Move material baking out of experimental #fix Removed experimental settings gating around Material Baking functionality #jira UE-52685 Change 3773898 by Jurre.deBaare Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build) Change 3773899 by Jurre.deBaare Add keybind for switching between paint / erase color while mesh painting #fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut) #jira UE-52197 Change 3773900 by Jurre.deBaare Hotkey to enable and disable post processing in the preview scene settings #fix Added hotkey and command for toggling Post Processing in Preview Scenes #jira UE-48111 Change 3773933 by Martin.Wilson Add missing file (for live link monolithic build failure) Change 3773949 by Jurre.deBaare Right click add selected to HLOD cluster / create cluster #fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection #jira UE-48334 Change 3773950 by Jurre.deBaare HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing #fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner) #jira UE-49094 Change 3773964 by James.Golding Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA' #jira UE-52545 Change 3773978 by Thomas.Sarkanen Allow edits to physics sim options to be undone/redone Added RF_Transactional to the object #jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu Change 3773982 by Martin.Wilson Add pre and post conversion callbacks to root motion conversion in character movement component #jira UE-51966 Change 3773988 by Thomas.Sarkanen Duplicating CL 3773896 from Fortnite: Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run Change 3773999 by Martin.Wilson Fix incorrect merge Change 3774030 by Thomas.Sarkanen Renamed "Create Joints" to "Create Constraints" #jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint" Change 3774031 by Thomas.Sarkanen Fixed typo in comment #jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset Change 3774200 by Lina.Halper Fix crash with empty element in the constraint setup #jira: UE-52686 Change 3774236 by Ori.Cohen Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors #jira UE-52320 Change 3774284 by James.Golding Fix constructor order CIS error in AudioMicerSubmix.cpp Change 3774511 by James.Golding Fix up removed RevisionNumber param Change 3774724 by Lina.Halper Fix of motion blur change of previous bone transform Change 3775493 by Thomas.Sarkanen Duplicating CL 3775488 from Fortnite: Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775508 by James.Golding Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block Change 3775538 by James.Golding Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback Change 3775921 by Ori.Cohen Better fix for destructible crash (also fix CIS) #jira UE-52762 Change 3776054 by Benn.Gallagher Fixed crash deleting max distance mask from a clothing data entry. #jira UE-52723 Change 3776063 by Thomas.Sarkanen Fix static analysis warning Change 3776331 by Jurre.deBaare Hierarchical LOD Outliner scrollbar doesn't appear #fix removed AutoHeight from parent vertical box around HLOD outliner details view #jira UE-52756 Change 3776704 by Martin.Wilson Fix array properties not always refreshing when new items are added #UE-52760 Change 3776755 by Thomas.Sarkanen Duplicating CL 3776656 from Fortnite: Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3777385 by Aaron.McLeran #jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine. Change 3778233 by Lina.Halper Removed android from oculus audio platform Change 3778714 by Ethan.Geller #jira UE-52818 remove Android from Oculus Audio platforms Change 3779004 by Lina.Halper Include "Features/IModularFeatures.h" to cpp Fix build error Change 3780324 by Thomas.Sarkanen Duplicating CL 3778679 from Fortnite-Main: Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3763999 by Ethan.Geller remove space from ambisonics mixer name, fix build Change 3774470 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039 [CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
}
}
if (bCopyCustomAttributes)
{
SourceBoneToTarget.Reserve(BoneMapToSource.Num());
Algo::Transform(BoneMapToSource, SourceBoneToTarget, [](const TPair<int32, int32>& Pair)
{
return TPair<int32, int32>(Pair.Value, Pair.Key);
});
}
}
}
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
}