Files
UnrealEngineUWP/Engine/Source/Editor/UnrealEd/Private/EditorAnimUtils.cpp

575 lines
20 KiB
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
#include "EditorAnimUtils.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Modules/ModuleManager.h"
#include "Serialization/ArchiveReplaceObjectRef.h"
#include "Animation/AnimationAsset.h"
#include "Animation/AnimSequence.h"
#include "Animation/AnimBlueprint.h"
#include "Animation/AnimBlueprintGeneratedClass.h"
#include "Kismet2/BlueprintEditorUtils.h"
#include "Kismet2/KismetEditorUtilities.h"
#include "IAssetTools.h"
#include "AssetToolsModule.h"
#include "Framework/Notifications/NotificationManager.h"
#include "ObjectEditorUtils.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Widgets/Notifications/SNotificationList.h"
#include "IContentBrowserSingleton.h"
#include "ContentBrowserModule.h"
#include "Subsystems/AssetEditorSubsystem.h"
#include "Editor.h"
#include "EditorReimportHandler.h"
#include "EditorFramework/AssetImportData.h"
Animation data MVC refactor #jira UE-104234 #rb Thomas.Sarkanen, Martin.Wilson, Alexis.Matte, Michael.Zyracki + Introduced UAnimDataModel, this currently represents the source data for bone and curve animation. It contains: + Bone animation tracks (FBoneAnimationTrack) + Key data (coarse) + Name + Bone tree index + Curve data (FAnimationCurveData) + Float Curves + Transform Curves + Play length + Sampling rate + Used for deriving the expected number of keys/frames when combined with the PlayLength + Transient data for supporting backwards compatibility APIs + (Dynamic) delegate which broadcasts the mutation Notifies + Introduced UAnimDataController, this has sole authority over mutating data contained by UAnimDataModel + API functionality allows to transform the contained data in all ways currently expected in the engine. + Any mutation will add an undo/redo-able FChange object into the transaction buffer + FChangeTransactor helper object allows for keeping track of (compounded) FChange's and inserting them into GUndo + Broadcasts change notifies alongside a payload object containing details about the change + Interested systems/objects can register to these changes through UAnimDataModel::OnModelModified event + Almost all functionality is exposed to both Blueprint and Python scripting + Allows for opening 'Brackets', these define the beginning and end of a chain of mutations. Allowing anything registered to OnModelModified to halt responding to the notifies until the (top-level) bracket is closed + Undo/redo actions + Each mutation to the UAnimDataModel is covered by a 'Action' which is based of FChange and is used to insert a undo/redo-able operation into the transactions buffer + Introduced EAnimDataModelNotifType and per-notify payload types. These are used to update views, and any model derived data + Introduced FAnimationCurveIdentifier, exposed to scripting, this is used for referencing a curve by name and type when passed to the controller + Allows for targetting a specific RichCurve as part of a TransformCurve + Introduced FAnimationDataNotifyCollectorused for keeping track of which notifies of type EAnimDataModelNotifType are broadcasted between top-level EAnimDataModelNotifType::BracketOpened and EAnimDataModelNotifType::BracketClosed notifies + Added CanTransact to UEngine, returns whether or not a transaction can be made + Added UAnimCompositeBase::SetCompositeLength, used for runtime changing of play length value + Animation Sequence helpers, containing 'helper' functionality for both AnimSequence and AnimDataModel * Animation Sequence Base + virtual PopulateModel, called during upgrade path for converting existing (legacy) data to the new UAnimDataModel data + virtual OnModelModified, registered to the Model's OnModified event to handle any Notifies and payloads + Added UAnimDataModel sub-object (editor only) + Added UAnimDataController instance (transient and editor only) + FAnimationDataNotifyCollector to keep track of model bracketed notifies * Deprecated * SetSequenceLength() * RefreshCurveData() * MarkRawDataAsModified() * RegisterOnAnimCurvesChanged() * UnregisterOnAnimCurvesChanged() * UnregisterOnAnimTrackCurvesChanged() * RegisterOnAnimTrackCurvesChanged() * Public access to RawCurveData * Animation Sequence + Implements PopulateModel/OnModelModified for AnimationSequence related data + Added TargetFrameRate, currently locked to the initial sampling rate, but allows for resampling the UAnimDataModel data according to the set rate + Added NumberOfSampledKeys (editor only), populated by resampling process + Added NumberOfSampledFrames (editor only), populated by resampling process + Added ResampledAnimationTrackData (editor only and transient), populated by resampling process + Added bBlockCompressionRequests (editor only), used for blocking compression during automation tests * Deprecated * SetNumberOfSampledKeys() * MarkRawDataAsModified() * GetRawAnimationData() * GetAnimationTrackNames() * AddNewRawTrack() * GetRawTrackToSkeletonMapTable() * GetRawAnimationTrack() * GetRawAnimationTrack() * UpdateFrameRate() * ExtractBoneTransform() * CompressRawAnimData() * GetSkeletonIndexFromRawDataTrackIndex() * RecycleAnimSequence() * CleanAnimSequenceForImport() * CopyNotifies() * PostProcessSequence() * AddLoopingInterpolation() * RemoveAllTracks() * DoesContainTransformCurves() * InsertFramesToRawAnimData() * CropRawAnimData() * RemoveTrack() * InsertTrack() * ResizeSequence() * Non-editor access to GetUncompressedRawSize() * Non-editor access to GetApproxRawSize() * Public access to UpdateCompressedCurveName() * NumberOfKeys * SamplingFrameRate * TrackToSkeletonMapTable * RawAnimationData * AnimationTrackNames * Animation Streamable * Model from source Sequence is duplicated rather than copying animation data * Deprecated ERawCurveTrackTypes::RCT_Vector (marked as hidden) + Added automated test for + All script exposed controller functionality + Undo/redo actions * Updated existing AnimSequence tests with deprecation and new expected data + Base data for compression is now populated from the 'resampled' version stored on the AnimSequence + Data cleanup and validation is now performed during compression + Track sanitization is now performed during compression (normalizing Quats and clamping near-zero values to zero) + Key reduction + Invalid track (missing bone from skeleton) removal + Curve name validation against skeleton * Replaced RawCurves with Float curves * Updated DDC key - Removed all Guid generation related functionality (now part of the model) * AnimSequenceBase model registers to AnimModel's notify event, used for refreshing the tracks * Replaces the in-place calling of RefreshTracks() * All curve tracks now hold a const CurveType* rather than a CurveType*/& for introspection of its data + Any mutations now go through the controller API + Uses AnimationCurveIdentifier to set Transform's per-channel tracks * RichCurveEditorModelNamed conformed to model/controller + Any modifications are applied to an temporary CurveType which always contains a copy of the const-ptr after any previous mutation + Registers to the outer AnimModel's notify event, used for updating the cached curve data + Registers to CurveModifiedDelegate, used for copying the temp curve data to the model using SetCurveKeys * Not-ideal but point that I got to for V1 * Would be replaced with either refactoring FRichCurve to be MVC like, or by calling UAnimDataController functionality from an implementation of FRichCurveEditorModel * Mark FChange overrides as final for swap/command change permutations * Changed FCompoundChange GetDescription to return concatenation of all sub-changes * Added GetDescription to FTransaction which returns the ToString() value of any contained FChange entries. * Entries in SUndoHistory tab now have a ToolTip showing the GetDescription() value + FChangeTransactor helper object allows for keeping track of (compounded) FChange's and inserting them into GUndo * Deprecation handling, conforming code to new APIs and exposing structure/objects/properties to scripting * Conforming AnimSequence importing from FBX to Model/Controller changes [CL 15106211 by Jurre deBaare in ue5-main branch]
2021-01-15 06:41:11 -04:00
#include "AnimationBlueprintLibrary.h"
#define LOCTEXT_NAMESPACE "EditorAnimUtils"
namespace EditorAnimUtils
{
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3037465) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3037044 on 2016/07/04 by Ben.Woodhouse (Content only change) Roll back WorldAlignedNormal material function to the previous version (which worked properly). The broken version was actually checked in back in 2014 (//depot/UE4-Fortnite/...@2342687), but it only hit //UE4/main very recently. #jira OR-24849 #rb me Change 3036463 on 2016/07/01 by Andrew.Grant Clarified BP compiler message #rb na #tests compiled AnimBP_Grux_Base Change 3036424 on 2016/07/01 by Andrew.Grant Integrated fix from //UE4/Main for state not being cleared when rebuidling HMSM. #rb na #tests verified warnings gone after resaving Agora_Terrain Change 3036317 on 2016/07/01 by Ben.Salem Allow FTests to be run in succession, and allow them to also be run in game instead of just editor. These are engine changes that have been tested extensively in fortnite, and have gone through a minor test pass here as well. #rb william.ewen, bob.tellez #tests Ran through all of Howitzer's new FTests in one run! Change 3036168 on 2016/07/01 by Frank.Fella MovieSceneRendering - Fix a crash when deserializing burn in options. Change from Andrew Rodham. #rb Me for Andrew. #tests Movie scene renders in a separate process no longer crash when the burn in options are missing. Change 3035632 on 2016/07/01 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28.2 @ CL 3035536 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3035630 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3035237 on 2016/07/01 by Dmitry.Rekman Updated WebRTC libs to avoid SIGPIPE (OR-24857). - Should also remove debug output. - These fixes has been previously done for OR-13279 but apparently libs have been recompiled from earlier sources since that. - Current libs have been compiled by Lee Clark (CL 3034752). #rb Lee Clark #codereview Lee.Clark, Andrew.Grant, Sam.Zamani #tests Run PS4 client, made sure XMPP connection was established and got some traffic. Change 3035210 on 2016/07/01 by Andrew.Grant Fix for broken AI / abilities #rb none #tests Golden path with gadget, all abilities working, AI are happy and combatitive again Change 3034936 on 2016/06/30 by Josh.Markiewicz #UE4 - separated out basic features from update/patch/hotfix manager into generic engine class - left Orion specific overloads around #rb none #tests PS4/PC/Server hotfix and update checks (with and without update required) #codereview ian.fox, ben.zeigler, bob.tellez Change 3034935 on 2016/06/30 by Josh.Markiewicz #UE4 - make sure that mcp client keys, names, and ids can't have extraneous spaces in them from the ini file #codereview sam.zamani, shon.love, david.nikdel, eric.newman #tests paragon launch #rb none Change 3034933 on 2016/06/30 by Josh.Markiewicz #UE4 - moved OnlineHotfixManager out of deprecated classes directory #rb none #tests compiles Change 3034524 on 2016/06/30 by Andrew.Grant Fix for team assignment being broken in blueprints #rb Dan.OConnor #tests Golden Path with sparrow, verified arrow AOE color is correct and harvesters deliver XP Change 3034521 on 2016/06/30 by Andrew.Grant Setting replay version to 0 for v29 #rb none #tests none Change 3034483 on 2016/06/30 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Repair main build integration #RB:none #Tests:none [CodeReviewed]: david.ratti #ROBOMERGE-SOURCE: CL 3034395 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3034481 on 2016/06/30 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28.2 @ CL 3034181 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3034319 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3034464 on 2016/06/30 by Martin.Wilson Fix for trying to load preview mesh for skeleton when the preview meshes skeleton doesn't match #rb Jurre.DeBaare #tests Asset loading in the editor Change 3034194 on 2016/06/30 by Martin.Wilson Fix for rendering crash #codereview Rolando.Caloca #rb Rolando.Caloca #test editor startup Change 3034192 on 2016/06/30 by Andrew.Grant Removing Fortnight madness #codereview Ben.Marsh #rb none #tests compiled Change 3034106 on 2016/06/30 by Martin.Wilson Fix retargetting of anim blueprints so that all animations referred to are collected and duplicated, not just direct bp variables #rb Thomas.Sarkanen #tests In editor retargeting of various blueprint setups Change 3034041 on 2016/06/30 by Jason.Bestimt #ROBOMERGE-AUTHOR: antony.carter Exposing some of the slate interfaces for upcoming Social Plugin usage #RB Jamie.Dale #TESTS NA #ROBOMERGE-SOURCE: CL 3034040 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3033591 on 2016/06/29 by Andrew.Grant Merging //UE4/Main @ 3033257 through Orion-Staging #rb none #tests engine QA, golden path in PIE and out, BuildCookRun PS4 Change 3033545 on 2016/06/29 by Josh.Markiewicz #UE4 - fixed shadowed variable #rb none #tests compiles Change 3033462 on 2016/06/29 by Josh.Markiewicz #UE4 - notify game about net guid mismatch or net checksum failures #rb john.pollard #codereview john.pollard, dave.ratti, andrew.grant, matt.oelfke #tests triggered fake mismatches while networked Change 3033453 on 2016/06/29 by Josh.Markiewicz #UE4 - turned off extra logging feature now that the auth expiration issues have been solved - removes some bad log spam showing up in live (starting when already started, stopped when not started) #rb none #tests none #codereview ben.zeigler, sam.zamani Change 3033020 on 2016/06/29 by Jason.Bestimt #ROBOMERGE-AUTHOR: david.nikdel #OGF Merging //GamePlugins/Main/PluginTestGame/Plugins/OnlineGameplayFramework/... to //Orion/Main/OrionGame/Plugins/OnlineGameplayFramework/... --------- - Support for exclusive profile locking (by dedicated servers) - PostAdd event for IMcpItemAware - New McpItemDefinitionBase class - Support for converting to new colon-based template ids - Improvements to FJsonObjectWrapper (technically an engine change) - Ability to specify an explicit fulfillment class to instantiate - Ability to split catalog localization out from the main data. - Couple of Orion fix ups for the new code - Re-exported catalog (loc data now separated out) --------- #RB: none #TESTS: login, mcp, etc [CodeReviewed]: Jason.Bestimt #ROBOMERGE-SOURCE: CL 3033018 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3032623 on 2016/06/29 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28.2 @ CL 3032459 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3032516 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3032451 on 2016/06/29 by bruce.nesbit Added code in AutoPopulateInstanceProperties to populate vector and scalar parameter data. #rb SimonT #tests PIE Change 3031620 on 2016/06/28 by Aaron.McLeran Implementing CL 3029659 to Dev-General. Adding new minor feature to add new concurrency mode to allow not stopping old sounds if new sound is not lower priority (or is same priority) than any existing sounds in concurrency group #rb marc.audy #TESTS existing concurrency doesn't break. New concurrency rule results in not stopping sounds if new sound is not lower pri than existing sounds Change 3031616 on 2016/06/28 by Jason.Bestimt #ROBOMERGE-AUTHOR: bob.ferreira Fixed an additional cast issue (hopefully the last!) in SetupSkyIrradianceEnvironmentMapConstants where Scene objects were not being cast and/or null checked #rb Marcus.Wassmer #tests Compiled and verified clients connected to server #jira OR-24678 #ROBOMERGE-SOURCE: CL 3031610 in //Orion/Release-28/... via CL 3031611 via CL 3031613 via CL 3031614 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3031607 on 2016/06/28 by Josh.Markiewicz #UE4 - pass the UniqueNetId along with client beacons so the server can tell who is making requests #rb sam.zamani #codereview paul.moore #tests draft lobby golden path Change 3031606 on 2016/06/28 by Josh.Markiewicz #UE4 - added code to stop logging out players from reservation beacon on timeouts if game doesn't request it #rb sam.zamani #codereview paul.moore #tests draft lobby golden path Change 3031598 on 2016/06/28 by Josh.Markiewicz #UE4 - FUniqueNetIdRepl is stored on the UNetConnection and passed into engine login functions rather than TSharedPtr<FUniqueNetId> - wrapped class is safer and simplifies some other code #rb sam.zamani #tests draft lobby golden path #codereview paul.moore Change 3031523 on 2016/06/28 by Josh.Markiewicz #UE4 - added ToDebugString to FUniqueNetIdRepl #rb none #tests draft lobby golden path Change 3031366 on 2016/06/28 by Jason.Bestimt #ROBOMERGE-AUTHOR: bob.ferreira Adding proper checks for Scene objects if it returns null #rb Marcus.Wassmer #tests Compiled and verified clients connected to server #jira OR-24678 #ROBOMERGE-SOURCE: CL 3031361 in //Orion/Release-28/... via CL 3031362 via CL 3031363 via CL 3031365 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3030919 on 2016/06/28 by Jason.Bestimt #ROBOMERGE-AUTHOR: bob.ferreira Fixed issue that was causing client bots to crash when running with -nullrhi. Now use interface provided by the Scene object. #rb Marcus.Wassmer #tests Compiled and verified clients connected to server #jira OR-24678 #ROBOMERGE-SOURCE: CL 3030914 in //Orion/Release-28/... via CL 3030915 via CL 3030916 via CL 3030917 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3030715 on 2016/06/28 by David.Ratti removing warning. It is valid to use the ability system with actors without an animinstance. #rb none #test compile Change 3030663 on 2016/06/28 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28.2 @ CL 3030407 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3030660 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3030533 on 2016/06/28 by Marcus.Wassmer Fix incorrect warning #rb none #test none #codereview Daniel.Lamb Change 3030526 on 2016/06/28 by bruce.nesbit Re-added MaxRoughness changes in scalability config and added ECVF_Scalability to the CVar for same #rb none #codereview Marcus.Wassmer #tests PIE Change 3029022 on 2016/06/27 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28.2 @ CL 3028879 #RB:none #tests:none #ROBOMERGE-SOURCE: CL 3029020 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3028712 on 2016/06/27 by David.Ratti AbilitySystem debug hud -Made this more accessible from the base engine system. No longer required to forward calls from the owning actor class'es DisplayDebug function PlayerController::DisplayDebug -Set DisplayDebugManager's Y pos to the out Y pos, so that subsequent debug huds don't overlap with this one #rb none #tests gameplay ability sample project [CL 3043787 by Andrew Grant in Main branch]
2016-07-08 22:29:24 -04:00
/** Helper archive class to find all references, used by the cycle finder **/
class FFindAnimAssetRefs : public FArchiveUObject
{
public:
/**
* Constructor
*
* @param Src the object to serialize which may contain a references
*/
FFindAnimAssetRefs(UObject* Src, TArray<UAnimationAsset*>& OutAnimationAssets) : AnimationAssets(OutAnimationAssets)
{
// use the optimized RefLink to skip over properties which don't contain object references
ArIsObjectReferenceCollector = true;
ArIgnoreArchetypeRef = false;
ArIgnoreOuterRef = true;
ArIgnoreClassRef = false;
Src->Serialize(*this);
}
virtual FString GetArchiveName() const { return TEXT("FFindAnimAssetRefs"); }
private:
/** Serialize a reference **/
FArchive& operator<<(class UObject*& Obj)
{
if (UAnimationAsset* Anim = Cast<UAnimationAsset>(Obj))
{
AnimationAssets.AddUnique(Anim);
}
return *this;
}
TArray<UAnimationAsset*>& AnimationAssets;
};
//////////////////////////////////////////////////////////////////
// FAnimationRetargetContext
FAnimationRetargetContext::FAnimationRetargetContext(const TArray<FAssetData>& AssetsToRetarget, bool bRetargetReferredAssets, bool bInConvertAnimationDataInComponentSpaces, const FNameDuplicationRule& NameRule)
: SingleTargetObject(NULL)
, bConvertAnimationDataInComponentSpaces(bInConvertAnimationDataInComponentSpaces)
{
TArray<UObject*> Objects;
for(auto Iter = AssetsToRetarget.CreateConstIterator(); Iter; ++Iter)
{
Objects.Add((*Iter).GetAsset());
}
auto WeakObjectList = FObjectEditorUtils::GetTypedWeakObjectPtrs<UObject>(Objects);
Initialize(WeakObjectList,bRetargetReferredAssets);
}
FAnimationRetargetContext::FAnimationRetargetContext(TArray<TWeakObjectPtr<UObject>> AssetsToRetarget, bool bRetargetReferredAssets, bool bInConvertAnimationDataInComponentSpaces, const FNameDuplicationRule& NameRule)
: SingleTargetObject(NULL)
, bConvertAnimationDataInComponentSpaces(bInConvertAnimationDataInComponentSpaces)
{
Initialize(AssetsToRetarget,bRetargetReferredAssets);
}
void FAnimationRetargetContext::Initialize(TArray<TWeakObjectPtr<UObject>> AssetsToRetarget, bool bRetargetReferredAssets)
{
for(auto Iter = AssetsToRetarget.CreateConstIterator(); Iter; ++Iter)
{
UObject* Asset = (*Iter).Get();
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
if( UAnimationAsset* AnimAsset = Cast<UAnimationAsset>(Asset) )
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
AnimationAssetsToRetarget.AddUnique(AnimAsset);
}
else if( UAnimBlueprint* AnimBlueprint = Cast<UAnimBlueprint>(Asset) )
{
// Add parent non-template blueprints
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3384744) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3294073 on 2017/02/09 by Thomas.Sarkanen Delete old location of FriendViewModel.h that did not get picked up correctly in the merge 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 3358776 on 2017/03/22 by Ori.Cohen Recreate physics when changing mobility of components - fixes debug rendering issue #JIRA UE-39328 Change 3360075 on 2017/03/23 by James.Golding Back out changelist 3358776, as it was made after smoke testing. Will re-submit after copy to main. Change 3362695 on 2017/03/24 by Thomas.Sarkanen Use correct extender when building menus for AnimationEditor, SkeletalMeshEditor & SkeletonEditor #jira UE-41100 - Persona code calling incorrect extenders when building menus. Change 3362696 on 2017/03/24 by Thomas.Sarkanen Facial animation experimental feature now pops up restart editor toast #jira UE-40989 - User is not prompted to restart the editor when enabling the Facial Animation Importer Change 3362699 on 2017/03/24 by Thomas.Sarkanen Enable snapping for translation in animation viewports #jira UE-39747 - Translating sockets in Persona is not affected by Snap Options #jira UE-39748 - Translating bones in Persona is not affected by Snap Options Change 3362700 on 2017/03/24 by Thomas.Sarkanen Curve source nodes now dont update their source title if the source is a pin The title of the node is not recached when the pin default changes, so we cant display it in the title #jira UE-40108 - When changing a Curve Source Node doesn't update source binding name when typed in Change 3362721 on 2017/03/24 by Thomas.Sarkanen CVar r.SkeletalMeshLODBias no longer affects meshes in animation viewports #jira UE-35733 - GSkeletalMeshLODBias affects render LOD in Persona Change 3362724 on 2017/03/24 by Thomas.Sarkanen Fix animation preview scene keyboard bindings Also moved advanced preview scene into its own module #jira UE-41505 - Pressing the hotkey I and O do not hide the floor and environment if the Preview Scene Settings tab isn't opened. Change 3362783 on 2017/03/24 by Ori.Cohen Fix incorrect locking and check when an editor static shape is changed. Originally this code assumed it would only get called at runtime, where there is only 1 shape. In the case of the async scene and static shapes - there are two shapes and if you update the body setup in the editor this will crash. Change 3362796 on 2017/03/24 by Ori.Cohen Fix welded capsules not using the right rotation #JIRA UE-41546 Change 3362803 on 2017/03/24 by Ori.Cohen Recreate physics when changing mobility of components - fixes debug rendering issue #JIRA UE-39328 Change 3363013 on 2017/03/24 by Thomas.Sarkanen Fix CIS issue Change 3363202 on 2017/03/24 by Ori.Cohen Fix bad #endif Change 3363295 on 2017/03/24 by Ori.Cohen Remove bWelded and use WeldParent everywhere. This fixes a bad case where a kinematic is returned as the root welded of simulated children. #JIRA UE-40783 Change 3363435 on 2017/03/24 by Jon.Nabozny Fix infinite jump on client when Jump Max Hold Time is not 0. #jira UE-41004 Change 3363451 on 2017/03/24 by Jon.Nabozny Fix USkeletalMeshComponent::PoseTickedThisFrame to use a frame counter instead of world time (which isn't changed while paused). #jira UE-39567 Change 3363504 on 2017/03/24 by Jon.Nabozny Fix SCE_NP_MATCHING2_REQUEST_EVENT_SEARCH_ROOM_A to treat result data as linked list instead of array. (Code originally came from SCE via UDN) #jira UE-41049 Change 3363532 on 2017/03/24 by Ori.Cohen Change default to SkipSimulatedBones. #JIRA UE-41404 Change 3363537 on 2017/03/24 by Ori.Cohen Remove the unsupported option of HideBone with DisableCollision. If we want this in the future we can add it. #JIRA UE-30826 Change 3363681 on 2017/03/24 by Jon.Nabozny Reapply 3292286 after it was clobbered by 3360002 (Only clobbered in Ocean). #jira UE-37512 Change 3363722 on 2017/03/24 by mason.seay Updated map to improve testing Change 3365351 on 2017/03/27 by Thomas.Sarkanen Fix non-PCH CIS errors #jira UE-43335 - CIS fail: 'FAdvancedPreviewSceneCommands is not a class name Change 3365422 on 2017/03/27 by Thomas.Sarkanen Fixed skinned mesh LOD not updating in editor under various physics-related circumstances #jira UE-42013 - Skeletal meshes with recently generated LODs will not change LODs in viewport Change 3365423 on 2017/03/27 by Thomas.Sarkanen Fix ensure when setting Spline IK Bone Axis to 'None' Node is currently not in use, so I've avoided deprecating this for now. Values should be preserved. #jira UE-39723 - Ensure when setting Bone Axis to None in Spline IK Change 3365424 on 2017/03/27 by Thomas.Sarkanen Fix control rigs being convertable to possessables Also prevent 'export to anim sequence' button from appearing on standard level sequences #jira UE-42070 - Crash converting a control rig to Possessable Change 3365425 on 2017/03/27 by Thomas.Sarkanen When selecting bones that are non-required, we dont render gizmos or text labels #jira UE-35737 - Bone labels flicker between two locations when removing from LOD levels in Persona Change 3365426 on 2017/03/27 by Thomas.Sarkanen Fixed foot placement IK doing line traces on worker threads Also exposed const access to required bones array (the proxy already does this, so I figure the instance should get it too). Note: Node is not actually used #jira UE-43179 - Fix FAnimNode_FootPlacementIK doing line trace on worker thread Change 3365428 on 2017/03/27 by Thomas.Sarkanen Skeleton selection no does not lag behind choice made in viewport #jira UE-42236 - Mesh Overlay always lags behind actual selection Change 3365429 on 2017/03/27 by Thomas.Sarkanen Fix anim BPs that contain state machines having blank palettes #jira UE-42172 - AnimBP Palette is blank on existing AnimBPs Change 3365435 on 2017/03/27 by Jurre.deBaare Undoing Channel selection in Paint mode does not work #fix use duplicated CDO object instead of CDO directly #jira UE-42621 Change 3365436 on 2017/03/27 by Jurre.deBaare Functionless undo/redo transactions created when importing Alembic file and changing conversion settings #fix use duplicated CDO object instead of CDO directly #jira UE-40347 Change 3365437 on 2017/03/27 by Jurre.deBaare Ensure that HLOD cannot be set up in sub-levels #fix added functionality to check whether or not a level is used as a sub/streaming level in any other content, and if so show a widget similar to the checkout notice to inform the user why the hlod outliner is disabled #jira UE-40301 Change 3365438 on 2017/03/27 by Jurre.deBaare 2D Blendspace breaks when aligning samples in a straight line #fix for some reason the number of samples to considerate was limit to 3 (old code) so removed it since it doesn't make sense #jira UE-42744 Change 3365439 on 2017/03/27 by Jurre.deBaare Color View Mode doesn't reset when closing/reopening editor #fix added a delegate to OnEditorClose to ensure we can reset the viewport modes while they still exist, this issue would happen if the user closes the editor with mesh paint mode open, exiting the mode would only happen after destructing most of the editor #jira UE-42466 Change 3365440 on 2017/03/27 by Jurre.deBaare LOD Model field scrubbing is very sensitive #fix made sure that max slider value is also driven by data #jira UE-42980 Change 3365441 on 2017/03/27 by Jurre.deBaare Replacing an asset in a sequence player node does not register in undo history #fix added transaction for dropping anim assets on player nodes #jira UE-39152 Change 3365442 on 2017/03/27 by Jurre.deBaare Crash on Mac importing some alembic files #fix disable multithread abc file reading with HDF5 backend #jira UE-39783 Change 3365443 on 2017/03/27 by Jurre.deBaare Moving over Alembic feature: "Add support for 'finding' materials according to the face-set names in abc files" Change 3365444 on 2017/03/27 by Jurre.deBaare Moving over Alembic fixes: - Time offset issues > changed how we determine frame indices and frame steps - Incorrect tangent issues > enforce tangent calculation during skeletal mesh import - Automatically set recompute tangent flag on skeletal mesh sections Change 3365451 on 2017/03/27 by Jurre.deBaare CIS: include needed for GetTransientPackage Change 3365460 on 2017/03/27 by Jurre.deBaare CIS: apparently CIS wants explicit cast to UObject Change 3365463 on 2017/03/27 by Jurre.deBaare CIS: final fix, was actually UPackage include missing ugh Change 3365486 on 2017/03/27 by Thomas.Sarkanen Fix case error in include for Linux builds Change 3365499 on 2017/03/27 by James.Golding Fix editing collision settings sometimes not 'sticking' - wait until after LoadProfileConfig (which modified Profiles array) to copy to 'SavedData' Fix FCollsiionProfileData typo #jira UE-42490 Change 3365500 on 2017/03/27 by Jurre.deBaare Turning on LOD Model Painting does not copy paint to other LODs on Skeletal Mesh #fix neede to pre edit / post edit the skeletal mesh to ensure the color buffers were re-initialised #jira UE-42637 Change 3365501 on 2017/03/27 by James.Golding Disable rather than hide anim picker when no mesh assigned #jira UE-35537 Change 3365505 on 2017/03/27 by James.Golding Fix USkinnedMeshComponent::FindClosestBone ignoring bRequirePhysicsAsset, because BodySetupIndexMap.FindRef would return 0 if bone not present https://udn.unrealengine.com/questions/353125/uskinnedmeshcomponentfindclosestbone-does-not-resp.html #jira UE-43061 Change 3365515 on 2017/03/27 by Jurre.deBaare Using Alt+Click to break Transition node connections cannot be undone using the Undo command #fix added transactions to breaking node links #jira UE-39068 Change 3365528 on 2017/03/27 by Jurre.deBaare Blendspaces don't update to reflect sync marker changes that have occurred on animations in the blend #fix added validation on blendspaces when removing or adding sync markers in animation editor #jira UE-39814 Change 3365535 on 2017/03/27 by Jurre.deBaare Camera moves at the same time as erasing paint when clicking Paint settings and back into Viewport #fix lock camera if erasing as well #jira UE-42474 Change 3365539 on 2017/03/27 by Jurre.deBaare Painting on animation sequence paints on invisible T-pose skeleton #fix during painting enforce bUseRefPoseOnInitAnim so you're always painting on a ref-pose skeletal mesh #jira UE-42484 Change 3365545 on 2017/03/27 by Jurre.deBaare Fill Tool does not fill the mesh with the selected Texture Weight Index when used in Weight Vertex Painting #fix added function to generate color according to texture weight settings and index, and fill using that color when the editor is in texture weight mode #jira UE-43091 Change 3365549 on 2017/03/27 by Jurre.deBaare CIS: include fix Change 3365555 on 2017/03/27 by Jurre.deBaare Missing change from 3365545 Change 3365561 on 2017/03/27 by Jurre.deBaare Missing change from 3365545 Change 3365918 on 2017/03/27 by Ori.Cohen PR #3424: fix compile error when PHYSX_MEMORY_STATS=1 (Contributed by kayama-shift) #JIRA UE-43337 Change 3366234 on 2017/03/27 by Ori.Cohen Moved call to UpdateHasValidBodies into OnRegister. Original suggested fix came from github, but I think the bounds need to update even if OnCreatePhysics isn't called. #JIRA UE-43339 #pr 3427 Change 3367252 on 2017/03/28 by Jurre.deBaare Vertex Weight Painting options are no longer present in MeshPaint mode #fix implemented singleton pattern for paint mode settings to ensure customization works correctly #jira UE-43357 Change 3367340 on 2017/03/28 by Jurre.deBaare GC fix for recent changes to painting / alembic settings Change 3367445 on 2017/03/28 by Thomas.Sarkanen Fix fallout from Main merge OrionEditor needs to depend on the new AdvancedPreviewScene module. Change 3367741 on 2017/03/28 by Ori.Cohen Remove unused physics warning when moving simulated object during physics #jira UE-41465 Change 3368072 on 2017/03/28 by Ori.Cohen Removed collision aggregates from ISMC collision. This is not a good candidate for aggregates as the bounding boxes generated could be huge (for example several trees that are very far away). This fixes perf regression from the PhysX 3.4 upgrade #JIRA UE-42956 Change 3368479 on 2017/03/28 by Ori.Cohen Fix GetClosestPoint incorrectly considering welded bodies. #JIRA UE-39329 Change 3368620 on 2017/03/28 by Lina.Halper Added code comment #rb:none #jira: UE-38836 Change 3368752 on 2017/03/28 by mason.seay Updated test map since UE-338836 came back as by design Change 3369370 on 2017/03/29 by James.Golding Fix StaticMesh Editor drawing complex collision if 'use simple as complex' is enabled Add separate options for showing simple and complex collision in StaticMesh Editor #jira UE-42844 Change 3369438 on 2017/03/29 by Lina.Halper Fix issue where it updates more often when you give too high update rate - i.e. 60 #jira: UE-38844 #code review: Laurent.Delayen Change 3369462 on 2017/03/29 by Thomas.Sarkanen Add preview mesh to animation blueprints Auto set preview mesh for animation assets and animation blueprints based off meshes. #jira UE-40032 - Creating animation assets from right-clicking skel mesh results in showing incorrect mesh in Persona Change 3369463 on 2017/03/29 by Thomas.Sarkanen We now select current preview mesh in the preview mesh dropdown Change 3369464 on 2017/03/29 by Thomas.Sarkanen Ticks now appear properly on anim sequence scrub bar #jira UE-41197 - No additional ticks appear on the timeline when you zoom in Change 3369465 on 2017/03/29 by Thomas.Sarkanen Persona now depends publicly on SkeletonEditor GitHub PR #3431 from kayama-shift #jira UE-43344 - GitHub 3431 : Persona module must depend on SkeletonEditor publically Change 3369466 on 2017/03/29 by Thomas.Sarkanen Blueprints are now only dirtied if edited properties are from objects in the Blueprint's package #jira UE-38956 - Changing Bone Transform between World and Local Location dirties Anim Blueprints Change 3369467 on 2017/03/29 by Thomas.Sarkanen Tweaked combo box alignment for world/local transform Appearance is now closer to that of the level editor Change 3369469 on 2017/03/29 by Thomas.Sarkanen Prevent switching to unsupported widget modes when editing control rigs #jira UE-42557 - When in Animation Mode, if you select a controller with the translation gizmo active, when you select a non animation controller the gizmo renders incorrectly Change 3369588 on 2017/03/29 by Thomas.Sarkanen Make import data and thumbnail data transactional #jira UE-41579 - Undo not working for several Asset Details options in Skeletal Mesh editor (Persona) Change 3369609 on 2017/03/29 by Thomas.Sarkanen Montages are now correctly initialized when created They can be used straight away without first opening them in the montage edtior. Moved initialization of composite sections from SMontageEditor to AnimMontageFactory. #jira UE-41219 - Animation montages created via Right click Create montage, that aren't opened in persona will not animate when used in an AnimBP Change 3369610 on 2017/03/29 by Thomas.Sarkanen Fixed anim class being set by name, causing duplicate-named anim BPs to be incorrectly resolved #jira UE-39833 - SkelMesh Component > Anim Class does not handle identical AnimBP names Change 3369647 on 2017/03/29 by Ori.Cohen Fix mass debug not working when moving components in the editor. #JIRA UE-43437 Change 3369875 on 2017/03/29 by Ori.Cohen Added the call into overlap instead of computePenetration when possible. There are edge cases that exist when computePenetration returns false but overlap returns true. Originally we were using computePenetration for all overlaps to make it consistent. However, computePenetration doesn't handle trimeshes correctly in certain cases. The reason for this is so that we can at least resolve a known issue with overlap events with complex collision. Nvidia may give us a flag for computePenetration to not do back-face culling which would give us a more consistent result. #JIRA UE-25923 Change 3370144 on 2017/03/29 by Lina.Halper Fix on the retargeting child anim BP #rb: Martin.Wilson #jira: UE-39928 Change 3371480 on 2017/03/30 by James.Golding Changes by BryanG at Nvidia required to get them up and running with plugins that override some skeletal mesh stuff. #jira UE-42132 Change 3371484 on 2017/03/30 by Thomas.Sarkanen We now propagate thread safety flags to child Animation Blueprints Change 3371486 on 2017/03/30 by Thomas.Sarkanen Fixed crash and effector selection issues for two bone IK Crash occured when selecting the root bone as the end of the chain. Viewport selection was not working at all as we werent creating any selection proxy actors any more. Change 3371497 on 2017/03/30 by Thomas.Sarkanen Added warning when Sequencer tries to write to properties that have changed type #jira UE-42098 - Sequencer writes rotation data to transform properties, causes assert Change 3371614 on 2017/03/30 by Martin.Wilson Clean up deprecated property value after load so we dont get extra anim blueprint references #jira UE-42501 Change 3371619 on 2017/03/30 by James.Golding Fix CIS by removing unneeded UNREALED_API from FImportSkeletalMeshArgs Change 3372452 on 2017/03/30 by Jon.Nabozny Add flag to CharacterMovementComponent to determine whether or not character should Sweep while using NavWalking, instead of relying on GenerateOverlaps flag. #jira UE-36546 Change 3373043 on 2017/03/30 by Lina.Halper - Consolidating to FastLerp to simply code - Added comment on FastLerp as the result is not normalized #rb: Michael.Noland, David.Hill Change 3373292 on 2017/03/30 by Jeff.Farris Made Actor.DispatchPhysicsCollisionHit virtual. (Copied CL 3261103 from Robo Recall to Dev-AnimPhys) Change 3373293 on 2017/03/30 by Jeff.Farris Added PhysicalAnimationComponent.GetBodyTargetTransform (Copied 3256175 from RoboRecall to Dev-AnimPhys) Change 3373318 on 2017/03/30 by Jeff.Farris Added option for components to opt out of physics impulses on damage. (Copied CL 3282585 from RoboRecall to Dev-AnimPhys) Change 3374064 on 2017/03/31 by Thomas.Sarkanen Renaming curves in animations is now saved properly Guids were not being set, so loading code obliterated the rename after an editor restart #jira UE-40582 - Curve name is not updated when user changes it in persona editor. Change 3374175 on 2017/03/31 by Thomas.Sarkanen Two bone IK UI consistency fixes Completely removed all bone select actors. They have a terrible UX anyway. We now rely only on our custom hit proxy and use a unified path to generate effector locations to draw and manipulate. #jira UE-42359 - Two Bone IK modifying effector location from viewport when bone is not set Change 3374216 on 2017/03/31 by Martin.Wilson Clear raw curve data during cooking + change Paragon game code so that it reads from the compressed curve data on Anim Sequences, not the raw data #jira UE-37897 Change 3374253 on 2017/03/31 by Thomas.Sarkanen Supplementary fix to CL 3371497 Adding name exposure for property types that we support Change 3374298 on 2017/03/31 by Jeff.Farris Code change from nVidia that improves physX perf (afterIntegration time). (Copied CL 3302239 from Robo Recall to Dev-AnimPhys) Change 3374432 on 2017/03/31 by Lina.Halper Make sure AcitveBoneIndices contains parent #jira: UE-14597 #rb: Martin.Wilson #code review: Benn.Gallagher, Alexis.Matte, James.Golding Change 3374836 on 2017/03/31 by Jon.Nabozny Fixup hits returned before start of trace in raycast_capsule. This change is copied from CL-3297212 #jira UE-42532 Change 3375195 on 2017/03/31 by Lina.Halper resave animation sequence for increasing info to warning #code review: Thomas.Sarkanen #jira: UE-40643 Change 3375282 on 2017/03/31 by Lina.Halper Fix odin content for animation : resave animation sequence for increasing info to warning #code review: Thomas.Sarkanen #jira: UE-40643 Change 3375288 on 2017/03/31 by Lina.Halper reverting code of degrading warning to info to avoid warning #jira: UE-40643 Change 3375865 on 2017/04/01 by Lina.Halper fix build error Change 3375868 on 2017/04/01 by Lina.Halper fix build warning on shadow var #code review: Thomas.Sarkanen Change 3376283 on 2017/04/03 by Thomas.Sarkanen Reworked, more generic property path handling in object change listener This allows all paths (auto vs manual key) to use the same code path, as well as regularizing the special-case handling of structs and arrays (and combinations thereof). The gist of the new implementation is to traverse the property path until we come across any property that satisfies our crirtera (exposed function, Interp flag etc.) Tweaked PropertyHandleToPropertyPath to correctly handle the slightly different way FPropertyNodes are arranged inside IPropertyHandle chains. IPropertyHandle chains contain arrays in a manner designed for display in the property editor, e.g. Container.Array.Array[ArrayIndex].StructInner. We need to collapse adjacent array properties as we are looking for Container.Array[ArrayIndex].StructInner to form a well-formed 'property path'. Small tweak to FPropertyChangedParams::GetPropertyValue. This is to handle property paths that end in an array (e.g. Struct.Array[0]). #jira UE-42271 - Pressing enter while the spine is in IK doesn't set any keys Change 3376320 on 2017/04/03 by Benn.Gallagher Merging from OR39 - Fix for clothing perf regressions due to LOD switching leaving simulation enties in the clothing solver #jira OR-36926 Change 3376413 on 2017/04/03 by Benn.Gallagher Merge from OR - Fixes to stability due to component space being the simulation space, games like Paragon treat the mesh and component transforms differently and cause issues with added energy in the system. #jira OR-36927 Change 3376421 on 2017/04/03 by Benn.Gallagher Missed file from OR cloth fixes merge Change 3376456 on 2017/04/03 by Lina.Halper Resave fortnite animation to remove warning #rb: none Change 3376479 on 2017/04/03 by Jon.Nabozny Touch PhysXLibs to ensure physx links properly. (Needed for CL-3374836) Change 3376610 on 2017/04/03 by Martin.Wilson Fix for crash when reimporting lodded mesh with virtual bones #jira UE-43557 Change 3376618 on 2017/04/03 by Jurre.deBaare Mesh Paint decrement rate is too slow when used with hotkeys #fix change way we increase/decrease brush value #jira UE-43402 Change 3376650 on 2017/04/03 by Benn.Gallagher Converted clothing asset editor warnings into toasts + logs so they are more discoverable by the user. #jira UE-41739 Change 3376771 on 2017/04/03 by Benn.Gallagher Fixed clothing selection dropdowns to no longer get out of sync with actual state (if the binding fails it falls back to the "None" selection correctly internally) #jira UE-41737 Change 3378117 on 2017/04/04 by Thomas.Sarkanen Prevented ensure by reverting to default unit vectors if zero-sized lookat/lookup vectors are specified Also added a warning to inform users of the issue. #jira UE-43360 - Enabling Use LookUp Axis causes handled ensure to occur Change 3378118 on 2017/04/04 by Thomas.Sarkanen Fix 2-bone IK flickering First changed non-triangular range check to be >= instead of >. Also removed fallback to doubled-back as this singularity also occurs at min stretch + float epsilon (which caused the flicker). We are OK to call ACos with out-of-range values as it clamps internally and the subsequent calculations work in these degenerate cases. #jira UE-43525 - Mesh Flicker when Two Bone IK is stretched Change 3378192 on 2017/04/04 by Benn.Gallagher Trivial fix to clothing dropdowns to unbind clothing assets when switching Change 3378206 on 2017/04/04 by Thomas.Sarkanen Fix IncludeTool static analysis errors Traced this back to the checkin that moved advanced preview scene into its own module. Further refined this to be the dependency on SharedSettingsWidgets. Simplest solution was to move the details customization back into the DetailsCustomizations module. #jira UE-43563 - //UE4/Dev-AnimPhys: Compile IncludeTool Static analysis Win64 completed with 1 error Change 3378207 on 2017/04/04 by Thomas.Sarkanen Fix static analysis warning Change 3378267 on 2017/04/04 by Benn.Gallagher Disabled "Accurate" wind mode selection for 4.16 by hiding enum option for windmode. Looks like there are some simulation issues that need resolved. Wind will act as it always has for 4.16. Change 3378268 on 2017/04/04 by Benn.Gallagher Fixed bounds calculation on clothing to stop dissapearances or flickering at the edge of the screen. #jira UE-40407 Change 3378342 on 2017/04/04 by Jurre.deBaare Bone LOD preview doesn't get update if change removed bones array directly in Skeletalmesh editor #fix ensure that we update the skeleton tree when changes to the bones are made #misc made sure the reapply button its visibility is dynamic #misc made sure we always re-add previously removed bones when necessary #jira UE-40500 Change 3378374 on 2017/04/04 by Thomas.Sarkanen Fixed animation not working for dynamically-bound wheeled-vehicle anim instances Vehicle anim instance now looks for a wheeled vehicle component when it initializes. #jira UE-41048 - Set Anim Instance Class no longer works with Wheeled Vehicle Pawns Change 3378518 on 2017/04/04 by Jon.Nabozny Fix jump height becoming frame dependent when JumpMaxHoldTime > 0. #jira UE-23695 Change 3378538 on 2017/04/04 by Martin.Wilson Speculative fix for unreproducable crash on loading animations #jira OR-37157 Change 3378592 on 2017/04/04 by Jurre.deBaare Mesh painting tools not working outside of QAGame #fix required a direct loadmodule call Change 3378622 on 2017/04/04 by Jurre.deBaare CIS shadow variable fix Change 3378742 on 2017/04/04 by Thomas.Sarkanen Fixed crash entering PIE in Orion Change 3378907 on 2017/04/04 by Benn.Gallagher Re-added wind adaptiive effects to legacy wind path. Fixed math error in damping calculations (log2/loge). #jira UE-42044 Change 3379240 on 2017/04/04 by Jon.Nabozny Fix SkeletalMeshComponent GetWeldedBodies not returning actual Skeletal Bodies Change 3379415 on 2017/04/04 by Jon.Nabozny Fix Skeletal Meshes imported with non-identity transform from reapplying transform when simulation is enabled / disabled. #JIRA UE-32598 Change 3379502 on 2017/04/04 by Lina.Halper Mirroring issue with flipping rotation due to not counting scale #jira: UE-33646, UE-34489 #rb: Ori.Cohen #code review: Zak.Middleton Change 3380544 on 2017/04/05 by Thomas.Sarkanen Fix warning spam when playing back UMG sequences animating visibility Reduced runtime overhead to a simple size check. This catches 90% of problem issues with much less runtime overhead. It would be well worth getting an FName-based type check working at some point, although we would need speciall case enum handling. Also removed message log usage in shipping/test builds. #jira UE-43621 - Large number of Sequencer warnings occur after opening Paragon in Pie - Property type mismatch for property 'Visibility'. Expected 'uint8', found 'ESlateVisibility'. Change 3380605 on 2017/04/05 by Benn.Gallagher Fix clothing simulation to correctly index a master pose component for clothing pose data. Fixes integration blocking crash in UT when picking up the flag which sets a master pose mid-game. #jira UE-43624 Change 3381025 on 2017/04/05 by Jon.Nabozny Change ensure in UpdateKinematicBonesToAnim to ensureMsgf so we can track down potential content issues. Change 3381475 on 2017/04/05 by Lina.Halper Fix crash on creating montage and setting slot node #jira: UE-43698 #rb: Ori.Cohen Change 3381558 on 2017/04/05 by Lina.Halper Better clean up of flipping issue of quaternion issue #jira: UE-33646, UE-34489 #rb: Zak.Middleton Change 3381789 on 2017/04/05 by Jon.Nabozny Revert InitAnim changes from CL-3379415 to fix cook warnings. (Will have proper fix for 4.17 instead). Change 3381978 on 2017/04/05 by Aaron.McLeran #jira UE-43654 Fixing oculus audio SDK sample rate issue Change 3383181 on 2017/04/06 by Lina.Halper Remove copy right of Dual quaternion since we no longer uses #code review:Leslie.Nivison Change 3383283 on 2017/04/06 by Ori.Cohen Fixed missing invalidation for body setup when modifying materials #JIRA UE-43680 Change 3383602 on 2017/04/06 by Lina.Halper Fixed scroller in retargeting window #jira: UE-43736 Change 3384369 on 2017/04/07 by Jurre.deBaare Wrong bone is sometimes highlighted in skeleton editor #fix new behaviour caused the user to try and select a bone if we didn't find on through hit proxies #jira UE-43735 Change 3384744 on 2017/04/07 by Jon.Nabozny Fix body rotation being killed on load. #JIRA UE-43771 [CL 3385232 by Thomas Sarkanen in Main branch]
2017-04-07 16:51:51 -04:00
UAnimBlueprint* ParentBP = Cast<UAnimBlueprint>(AnimBlueprint->ParentClass->ClassGeneratedBy);
while (ParentBP)
{
// Cant transitively retarget templates
if(!(ParentBP->bIsTemplate && ParentBP->TargetSkeleton == nullptr))
{
AnimBlueprintsToRetarget.AddUnique(ParentBP);
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3384744) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3294073 on 2017/02/09 by Thomas.Sarkanen Delete old location of FriendViewModel.h that did not get picked up correctly in the merge 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 3358776 on 2017/03/22 by Ori.Cohen Recreate physics when changing mobility of components - fixes debug rendering issue #JIRA UE-39328 Change 3360075 on 2017/03/23 by James.Golding Back out changelist 3358776, as it was made after smoke testing. Will re-submit after copy to main. Change 3362695 on 2017/03/24 by Thomas.Sarkanen Use correct extender when building menus for AnimationEditor, SkeletalMeshEditor & SkeletonEditor #jira UE-41100 - Persona code calling incorrect extenders when building menus. Change 3362696 on 2017/03/24 by Thomas.Sarkanen Facial animation experimental feature now pops up restart editor toast #jira UE-40989 - User is not prompted to restart the editor when enabling the Facial Animation Importer Change 3362699 on 2017/03/24 by Thomas.Sarkanen Enable snapping for translation in animation viewports #jira UE-39747 - Translating sockets in Persona is not affected by Snap Options #jira UE-39748 - Translating bones in Persona is not affected by Snap Options Change 3362700 on 2017/03/24 by Thomas.Sarkanen Curve source nodes now dont update their source title if the source is a pin The title of the node is not recached when the pin default changes, so we cant display it in the title #jira UE-40108 - When changing a Curve Source Node doesn't update source binding name when typed in Change 3362721 on 2017/03/24 by Thomas.Sarkanen CVar r.SkeletalMeshLODBias no longer affects meshes in animation viewports #jira UE-35733 - GSkeletalMeshLODBias affects render LOD in Persona Change 3362724 on 2017/03/24 by Thomas.Sarkanen Fix animation preview scene keyboard bindings Also moved advanced preview scene into its own module #jira UE-41505 - Pressing the hotkey I and O do not hide the floor and environment if the Preview Scene Settings tab isn't opened. Change 3362783 on 2017/03/24 by Ori.Cohen Fix incorrect locking and check when an editor static shape is changed. Originally this code assumed it would only get called at runtime, where there is only 1 shape. In the case of the async scene and static shapes - there are two shapes and if you update the body setup in the editor this will crash. Change 3362796 on 2017/03/24 by Ori.Cohen Fix welded capsules not using the right rotation #JIRA UE-41546 Change 3362803 on 2017/03/24 by Ori.Cohen Recreate physics when changing mobility of components - fixes debug rendering issue #JIRA UE-39328 Change 3363013 on 2017/03/24 by Thomas.Sarkanen Fix CIS issue Change 3363202 on 2017/03/24 by Ori.Cohen Fix bad #endif Change 3363295 on 2017/03/24 by Ori.Cohen Remove bWelded and use WeldParent everywhere. This fixes a bad case where a kinematic is returned as the root welded of simulated children. #JIRA UE-40783 Change 3363435 on 2017/03/24 by Jon.Nabozny Fix infinite jump on client when Jump Max Hold Time is not 0. #jira UE-41004 Change 3363451 on 2017/03/24 by Jon.Nabozny Fix USkeletalMeshComponent::PoseTickedThisFrame to use a frame counter instead of world time (which isn't changed while paused). #jira UE-39567 Change 3363504 on 2017/03/24 by Jon.Nabozny Fix SCE_NP_MATCHING2_REQUEST_EVENT_SEARCH_ROOM_A to treat result data as linked list instead of array. (Code originally came from SCE via UDN) #jira UE-41049 Change 3363532 on 2017/03/24 by Ori.Cohen Change default to SkipSimulatedBones. #JIRA UE-41404 Change 3363537 on 2017/03/24 by Ori.Cohen Remove the unsupported option of HideBone with DisableCollision. If we want this in the future we can add it. #JIRA UE-30826 Change 3363681 on 2017/03/24 by Jon.Nabozny Reapply 3292286 after it was clobbered by 3360002 (Only clobbered in Ocean). #jira UE-37512 Change 3363722 on 2017/03/24 by mason.seay Updated map to improve testing Change 3365351 on 2017/03/27 by Thomas.Sarkanen Fix non-PCH CIS errors #jira UE-43335 - CIS fail: 'FAdvancedPreviewSceneCommands is not a class name Change 3365422 on 2017/03/27 by Thomas.Sarkanen Fixed skinned mesh LOD not updating in editor under various physics-related circumstances #jira UE-42013 - Skeletal meshes with recently generated LODs will not change LODs in viewport Change 3365423 on 2017/03/27 by Thomas.Sarkanen Fix ensure when setting Spline IK Bone Axis to 'None' Node is currently not in use, so I've avoided deprecating this for now. Values should be preserved. #jira UE-39723 - Ensure when setting Bone Axis to None in Spline IK Change 3365424 on 2017/03/27 by Thomas.Sarkanen Fix control rigs being convertable to possessables Also prevent 'export to anim sequence' button from appearing on standard level sequences #jira UE-42070 - Crash converting a control rig to Possessable Change 3365425 on 2017/03/27 by Thomas.Sarkanen When selecting bones that are non-required, we dont render gizmos or text labels #jira UE-35737 - Bone labels flicker between two locations when removing from LOD levels in Persona Change 3365426 on 2017/03/27 by Thomas.Sarkanen Fixed foot placement IK doing line traces on worker threads Also exposed const access to required bones array (the proxy already does this, so I figure the instance should get it too). Note: Node is not actually used #jira UE-43179 - Fix FAnimNode_FootPlacementIK doing line trace on worker thread Change 3365428 on 2017/03/27 by Thomas.Sarkanen Skeleton selection no does not lag behind choice made in viewport #jira UE-42236 - Mesh Overlay always lags behind actual selection Change 3365429 on 2017/03/27 by Thomas.Sarkanen Fix anim BPs that contain state machines having blank palettes #jira UE-42172 - AnimBP Palette is blank on existing AnimBPs Change 3365435 on 2017/03/27 by Jurre.deBaare Undoing Channel selection in Paint mode does not work #fix use duplicated CDO object instead of CDO directly #jira UE-42621 Change 3365436 on 2017/03/27 by Jurre.deBaare Functionless undo/redo transactions created when importing Alembic file and changing conversion settings #fix use duplicated CDO object instead of CDO directly #jira UE-40347 Change 3365437 on 2017/03/27 by Jurre.deBaare Ensure that HLOD cannot be set up in sub-levels #fix added functionality to check whether or not a level is used as a sub/streaming level in any other content, and if so show a widget similar to the checkout notice to inform the user why the hlod outliner is disabled #jira UE-40301 Change 3365438 on 2017/03/27 by Jurre.deBaare 2D Blendspace breaks when aligning samples in a straight line #fix for some reason the number of samples to considerate was limit to 3 (old code) so removed it since it doesn't make sense #jira UE-42744 Change 3365439 on 2017/03/27 by Jurre.deBaare Color View Mode doesn't reset when closing/reopening editor #fix added a delegate to OnEditorClose to ensure we can reset the viewport modes while they still exist, this issue would happen if the user closes the editor with mesh paint mode open, exiting the mode would only happen after destructing most of the editor #jira UE-42466 Change 3365440 on 2017/03/27 by Jurre.deBaare LOD Model field scrubbing is very sensitive #fix made sure that max slider value is also driven by data #jira UE-42980 Change 3365441 on 2017/03/27 by Jurre.deBaare Replacing an asset in a sequence player node does not register in undo history #fix added transaction for dropping anim assets on player nodes #jira UE-39152 Change 3365442 on 2017/03/27 by Jurre.deBaare Crash on Mac importing some alembic files #fix disable multithread abc file reading with HDF5 backend #jira UE-39783 Change 3365443 on 2017/03/27 by Jurre.deBaare Moving over Alembic feature: "Add support for 'finding' materials according to the face-set names in abc files" Change 3365444 on 2017/03/27 by Jurre.deBaare Moving over Alembic fixes: - Time offset issues > changed how we determine frame indices and frame steps - Incorrect tangent issues > enforce tangent calculation during skeletal mesh import - Automatically set recompute tangent flag on skeletal mesh sections Change 3365451 on 2017/03/27 by Jurre.deBaare CIS: include needed for GetTransientPackage Change 3365460 on 2017/03/27 by Jurre.deBaare CIS: apparently CIS wants explicit cast to UObject Change 3365463 on 2017/03/27 by Jurre.deBaare CIS: final fix, was actually UPackage include missing ugh Change 3365486 on 2017/03/27 by Thomas.Sarkanen Fix case error in include for Linux builds Change 3365499 on 2017/03/27 by James.Golding Fix editing collision settings sometimes not 'sticking' - wait until after LoadProfileConfig (which modified Profiles array) to copy to 'SavedData' Fix FCollsiionProfileData typo #jira UE-42490 Change 3365500 on 2017/03/27 by Jurre.deBaare Turning on LOD Model Painting does not copy paint to other LODs on Skeletal Mesh #fix neede to pre edit / post edit the skeletal mesh to ensure the color buffers were re-initialised #jira UE-42637 Change 3365501 on 2017/03/27 by James.Golding Disable rather than hide anim picker when no mesh assigned #jira UE-35537 Change 3365505 on 2017/03/27 by James.Golding Fix USkinnedMeshComponent::FindClosestBone ignoring bRequirePhysicsAsset, because BodySetupIndexMap.FindRef would return 0 if bone not present https://udn.unrealengine.com/questions/353125/uskinnedmeshcomponentfindclosestbone-does-not-resp.html #jira UE-43061 Change 3365515 on 2017/03/27 by Jurre.deBaare Using Alt+Click to break Transition node connections cannot be undone using the Undo command #fix added transactions to breaking node links #jira UE-39068 Change 3365528 on 2017/03/27 by Jurre.deBaare Blendspaces don't update to reflect sync marker changes that have occurred on animations in the blend #fix added validation on blendspaces when removing or adding sync markers in animation editor #jira UE-39814 Change 3365535 on 2017/03/27 by Jurre.deBaare Camera moves at the same time as erasing paint when clicking Paint settings and back into Viewport #fix lock camera if erasing as well #jira UE-42474 Change 3365539 on 2017/03/27 by Jurre.deBaare Painting on animation sequence paints on invisible T-pose skeleton #fix during painting enforce bUseRefPoseOnInitAnim so you're always painting on a ref-pose skeletal mesh #jira UE-42484 Change 3365545 on 2017/03/27 by Jurre.deBaare Fill Tool does not fill the mesh with the selected Texture Weight Index when used in Weight Vertex Painting #fix added function to generate color according to texture weight settings and index, and fill using that color when the editor is in texture weight mode #jira UE-43091 Change 3365549 on 2017/03/27 by Jurre.deBaare CIS: include fix Change 3365555 on 2017/03/27 by Jurre.deBaare Missing change from 3365545 Change 3365561 on 2017/03/27 by Jurre.deBaare Missing change from 3365545 Change 3365918 on 2017/03/27 by Ori.Cohen PR #3424: fix compile error when PHYSX_MEMORY_STATS=1 (Contributed by kayama-shift) #JIRA UE-43337 Change 3366234 on 2017/03/27 by Ori.Cohen Moved call to UpdateHasValidBodies into OnRegister. Original suggested fix came from github, but I think the bounds need to update even if OnCreatePhysics isn't called. #JIRA UE-43339 #pr 3427 Change 3367252 on 2017/03/28 by Jurre.deBaare Vertex Weight Painting options are no longer present in MeshPaint mode #fix implemented singleton pattern for paint mode settings to ensure customization works correctly #jira UE-43357 Change 3367340 on 2017/03/28 by Jurre.deBaare GC fix for recent changes to painting / alembic settings Change 3367445 on 2017/03/28 by Thomas.Sarkanen Fix fallout from Main merge OrionEditor needs to depend on the new AdvancedPreviewScene module. Change 3367741 on 2017/03/28 by Ori.Cohen Remove unused physics warning when moving simulated object during physics #jira UE-41465 Change 3368072 on 2017/03/28 by Ori.Cohen Removed collision aggregates from ISMC collision. This is not a good candidate for aggregates as the bounding boxes generated could be huge (for example several trees that are very far away). This fixes perf regression from the PhysX 3.4 upgrade #JIRA UE-42956 Change 3368479 on 2017/03/28 by Ori.Cohen Fix GetClosestPoint incorrectly considering welded bodies. #JIRA UE-39329 Change 3368620 on 2017/03/28 by Lina.Halper Added code comment #rb:none #jira: UE-38836 Change 3368752 on 2017/03/28 by mason.seay Updated test map since UE-338836 came back as by design Change 3369370 on 2017/03/29 by James.Golding Fix StaticMesh Editor drawing complex collision if 'use simple as complex' is enabled Add separate options for showing simple and complex collision in StaticMesh Editor #jira UE-42844 Change 3369438 on 2017/03/29 by Lina.Halper Fix issue where it updates more often when you give too high update rate - i.e. 60 #jira: UE-38844 #code review: Laurent.Delayen Change 3369462 on 2017/03/29 by Thomas.Sarkanen Add preview mesh to animation blueprints Auto set preview mesh for animation assets and animation blueprints based off meshes. #jira UE-40032 - Creating animation assets from right-clicking skel mesh results in showing incorrect mesh in Persona Change 3369463 on 2017/03/29 by Thomas.Sarkanen We now select current preview mesh in the preview mesh dropdown Change 3369464 on 2017/03/29 by Thomas.Sarkanen Ticks now appear properly on anim sequence scrub bar #jira UE-41197 - No additional ticks appear on the timeline when you zoom in Change 3369465 on 2017/03/29 by Thomas.Sarkanen Persona now depends publicly on SkeletonEditor GitHub PR #3431 from kayama-shift #jira UE-43344 - GitHub 3431 : Persona module must depend on SkeletonEditor publically Change 3369466 on 2017/03/29 by Thomas.Sarkanen Blueprints are now only dirtied if edited properties are from objects in the Blueprint's package #jira UE-38956 - Changing Bone Transform between World and Local Location dirties Anim Blueprints Change 3369467 on 2017/03/29 by Thomas.Sarkanen Tweaked combo box alignment for world/local transform Appearance is now closer to that of the level editor Change 3369469 on 2017/03/29 by Thomas.Sarkanen Prevent switching to unsupported widget modes when editing control rigs #jira UE-42557 - When in Animation Mode, if you select a controller with the translation gizmo active, when you select a non animation controller the gizmo renders incorrectly Change 3369588 on 2017/03/29 by Thomas.Sarkanen Make import data and thumbnail data transactional #jira UE-41579 - Undo not working for several Asset Details options in Skeletal Mesh editor (Persona) Change 3369609 on 2017/03/29 by Thomas.Sarkanen Montages are now correctly initialized when created They can be used straight away without first opening them in the montage edtior. Moved initialization of composite sections from SMontageEditor to AnimMontageFactory. #jira UE-41219 - Animation montages created via Right click Create montage, that aren't opened in persona will not animate when used in an AnimBP Change 3369610 on 2017/03/29 by Thomas.Sarkanen Fixed anim class being set by name, causing duplicate-named anim BPs to be incorrectly resolved #jira UE-39833 - SkelMesh Component > Anim Class does not handle identical AnimBP names Change 3369647 on 2017/03/29 by Ori.Cohen Fix mass debug not working when moving components in the editor. #JIRA UE-43437 Change 3369875 on 2017/03/29 by Ori.Cohen Added the call into overlap instead of computePenetration when possible. There are edge cases that exist when computePenetration returns false but overlap returns true. Originally we were using computePenetration for all overlaps to make it consistent. However, computePenetration doesn't handle trimeshes correctly in certain cases. The reason for this is so that we can at least resolve a known issue with overlap events with complex collision. Nvidia may give us a flag for computePenetration to not do back-face culling which would give us a more consistent result. #JIRA UE-25923 Change 3370144 on 2017/03/29 by Lina.Halper Fix on the retargeting child anim BP #rb: Martin.Wilson #jira: UE-39928 Change 3371480 on 2017/03/30 by James.Golding Changes by BryanG at Nvidia required to get them up and running with plugins that override some skeletal mesh stuff. #jira UE-42132 Change 3371484 on 2017/03/30 by Thomas.Sarkanen We now propagate thread safety flags to child Animation Blueprints Change 3371486 on 2017/03/30 by Thomas.Sarkanen Fixed crash and effector selection issues for two bone IK Crash occured when selecting the root bone as the end of the chain. Viewport selection was not working at all as we werent creating any selection proxy actors any more. Change 3371497 on 2017/03/30 by Thomas.Sarkanen Added warning when Sequencer tries to write to properties that have changed type #jira UE-42098 - Sequencer writes rotation data to transform properties, causes assert Change 3371614 on 2017/03/30 by Martin.Wilson Clean up deprecated property value after load so we dont get extra anim blueprint references #jira UE-42501 Change 3371619 on 2017/03/30 by James.Golding Fix CIS by removing unneeded UNREALED_API from FImportSkeletalMeshArgs Change 3372452 on 2017/03/30 by Jon.Nabozny Add flag to CharacterMovementComponent to determine whether or not character should Sweep while using NavWalking, instead of relying on GenerateOverlaps flag. #jira UE-36546 Change 3373043 on 2017/03/30 by Lina.Halper - Consolidating to FastLerp to simply code - Added comment on FastLerp as the result is not normalized #rb: Michael.Noland, David.Hill Change 3373292 on 2017/03/30 by Jeff.Farris Made Actor.DispatchPhysicsCollisionHit virtual. (Copied CL 3261103 from Robo Recall to Dev-AnimPhys) Change 3373293 on 2017/03/30 by Jeff.Farris Added PhysicalAnimationComponent.GetBodyTargetTransform (Copied 3256175 from RoboRecall to Dev-AnimPhys) Change 3373318 on 2017/03/30 by Jeff.Farris Added option for components to opt out of physics impulses on damage. (Copied CL 3282585 from RoboRecall to Dev-AnimPhys) Change 3374064 on 2017/03/31 by Thomas.Sarkanen Renaming curves in animations is now saved properly Guids were not being set, so loading code obliterated the rename after an editor restart #jira UE-40582 - Curve name is not updated when user changes it in persona editor. Change 3374175 on 2017/03/31 by Thomas.Sarkanen Two bone IK UI consistency fixes Completely removed all bone select actors. They have a terrible UX anyway. We now rely only on our custom hit proxy and use a unified path to generate effector locations to draw and manipulate. #jira UE-42359 - Two Bone IK modifying effector location from viewport when bone is not set Change 3374216 on 2017/03/31 by Martin.Wilson Clear raw curve data during cooking + change Paragon game code so that it reads from the compressed curve data on Anim Sequences, not the raw data #jira UE-37897 Change 3374253 on 2017/03/31 by Thomas.Sarkanen Supplementary fix to CL 3371497 Adding name exposure for property types that we support Change 3374298 on 2017/03/31 by Jeff.Farris Code change from nVidia that improves physX perf (afterIntegration time). (Copied CL 3302239 from Robo Recall to Dev-AnimPhys) Change 3374432 on 2017/03/31 by Lina.Halper Make sure AcitveBoneIndices contains parent #jira: UE-14597 #rb: Martin.Wilson #code review: Benn.Gallagher, Alexis.Matte, James.Golding Change 3374836 on 2017/03/31 by Jon.Nabozny Fixup hits returned before start of trace in raycast_capsule. This change is copied from CL-3297212 #jira UE-42532 Change 3375195 on 2017/03/31 by Lina.Halper resave animation sequence for increasing info to warning #code review: Thomas.Sarkanen #jira: UE-40643 Change 3375282 on 2017/03/31 by Lina.Halper Fix odin content for animation : resave animation sequence for increasing info to warning #code review: Thomas.Sarkanen #jira: UE-40643 Change 3375288 on 2017/03/31 by Lina.Halper reverting code of degrading warning to info to avoid warning #jira: UE-40643 Change 3375865 on 2017/04/01 by Lina.Halper fix build error Change 3375868 on 2017/04/01 by Lina.Halper fix build warning on shadow var #code review: Thomas.Sarkanen Change 3376283 on 2017/04/03 by Thomas.Sarkanen Reworked, more generic property path handling in object change listener This allows all paths (auto vs manual key) to use the same code path, as well as regularizing the special-case handling of structs and arrays (and combinations thereof). The gist of the new implementation is to traverse the property path until we come across any property that satisfies our crirtera (exposed function, Interp flag etc.) Tweaked PropertyHandleToPropertyPath to correctly handle the slightly different way FPropertyNodes are arranged inside IPropertyHandle chains. IPropertyHandle chains contain arrays in a manner designed for display in the property editor, e.g. Container.Array.Array[ArrayIndex].StructInner. We need to collapse adjacent array properties as we are looking for Container.Array[ArrayIndex].StructInner to form a well-formed 'property path'. Small tweak to FPropertyChangedParams::GetPropertyValue. This is to handle property paths that end in an array (e.g. Struct.Array[0]). #jira UE-42271 - Pressing enter while the spine is in IK doesn't set any keys Change 3376320 on 2017/04/03 by Benn.Gallagher Merging from OR39 - Fix for clothing perf regressions due to LOD switching leaving simulation enties in the clothing solver #jira OR-36926 Change 3376413 on 2017/04/03 by Benn.Gallagher Merge from OR - Fixes to stability due to component space being the simulation space, games like Paragon treat the mesh and component transforms differently and cause issues with added energy in the system. #jira OR-36927 Change 3376421 on 2017/04/03 by Benn.Gallagher Missed file from OR cloth fixes merge Change 3376456 on 2017/04/03 by Lina.Halper Resave fortnite animation to remove warning #rb: none Change 3376479 on 2017/04/03 by Jon.Nabozny Touch PhysXLibs to ensure physx links properly. (Needed for CL-3374836) Change 3376610 on 2017/04/03 by Martin.Wilson Fix for crash when reimporting lodded mesh with virtual bones #jira UE-43557 Change 3376618 on 2017/04/03 by Jurre.deBaare Mesh Paint decrement rate is too slow when used with hotkeys #fix change way we increase/decrease brush value #jira UE-43402 Change 3376650 on 2017/04/03 by Benn.Gallagher Converted clothing asset editor warnings into toasts + logs so they are more discoverable by the user. #jira UE-41739 Change 3376771 on 2017/04/03 by Benn.Gallagher Fixed clothing selection dropdowns to no longer get out of sync with actual state (if the binding fails it falls back to the "None" selection correctly internally) #jira UE-41737 Change 3378117 on 2017/04/04 by Thomas.Sarkanen Prevented ensure by reverting to default unit vectors if zero-sized lookat/lookup vectors are specified Also added a warning to inform users of the issue. #jira UE-43360 - Enabling Use LookUp Axis causes handled ensure to occur Change 3378118 on 2017/04/04 by Thomas.Sarkanen Fix 2-bone IK flickering First changed non-triangular range check to be >= instead of >. Also removed fallback to doubled-back as this singularity also occurs at min stretch + float epsilon (which caused the flicker). We are OK to call ACos with out-of-range values as it clamps internally and the subsequent calculations work in these degenerate cases. #jira UE-43525 - Mesh Flicker when Two Bone IK is stretched Change 3378192 on 2017/04/04 by Benn.Gallagher Trivial fix to clothing dropdowns to unbind clothing assets when switching Change 3378206 on 2017/04/04 by Thomas.Sarkanen Fix IncludeTool static analysis errors Traced this back to the checkin that moved advanced preview scene into its own module. Further refined this to be the dependency on SharedSettingsWidgets. Simplest solution was to move the details customization back into the DetailsCustomizations module. #jira UE-43563 - //UE4/Dev-AnimPhys: Compile IncludeTool Static analysis Win64 completed with 1 error Change 3378207 on 2017/04/04 by Thomas.Sarkanen Fix static analysis warning Change 3378267 on 2017/04/04 by Benn.Gallagher Disabled "Accurate" wind mode selection for 4.16 by hiding enum option for windmode. Looks like there are some simulation issues that need resolved. Wind will act as it always has for 4.16. Change 3378268 on 2017/04/04 by Benn.Gallagher Fixed bounds calculation on clothing to stop dissapearances or flickering at the edge of the screen. #jira UE-40407 Change 3378342 on 2017/04/04 by Jurre.deBaare Bone LOD preview doesn't get update if change removed bones array directly in Skeletalmesh editor #fix ensure that we update the skeleton tree when changes to the bones are made #misc made sure the reapply button its visibility is dynamic #misc made sure we always re-add previously removed bones when necessary #jira UE-40500 Change 3378374 on 2017/04/04 by Thomas.Sarkanen Fixed animation not working for dynamically-bound wheeled-vehicle anim instances Vehicle anim instance now looks for a wheeled vehicle component when it initializes. #jira UE-41048 - Set Anim Instance Class no longer works with Wheeled Vehicle Pawns Change 3378518 on 2017/04/04 by Jon.Nabozny Fix jump height becoming frame dependent when JumpMaxHoldTime > 0. #jira UE-23695 Change 3378538 on 2017/04/04 by Martin.Wilson Speculative fix for unreproducable crash on loading animations #jira OR-37157 Change 3378592 on 2017/04/04 by Jurre.deBaare Mesh painting tools not working outside of QAGame #fix required a direct loadmodule call Change 3378622 on 2017/04/04 by Jurre.deBaare CIS shadow variable fix Change 3378742 on 2017/04/04 by Thomas.Sarkanen Fixed crash entering PIE in Orion Change 3378907 on 2017/04/04 by Benn.Gallagher Re-added wind adaptiive effects to legacy wind path. Fixed math error in damping calculations (log2/loge). #jira UE-42044 Change 3379240 on 2017/04/04 by Jon.Nabozny Fix SkeletalMeshComponent GetWeldedBodies not returning actual Skeletal Bodies Change 3379415 on 2017/04/04 by Jon.Nabozny Fix Skeletal Meshes imported with non-identity transform from reapplying transform when simulation is enabled / disabled. #JIRA UE-32598 Change 3379502 on 2017/04/04 by Lina.Halper Mirroring issue with flipping rotation due to not counting scale #jira: UE-33646, UE-34489 #rb: Ori.Cohen #code review: Zak.Middleton Change 3380544 on 2017/04/05 by Thomas.Sarkanen Fix warning spam when playing back UMG sequences animating visibility Reduced runtime overhead to a simple size check. This catches 90% of problem issues with much less runtime overhead. It would be well worth getting an FName-based type check working at some point, although we would need speciall case enum handling. Also removed message log usage in shipping/test builds. #jira UE-43621 - Large number of Sequencer warnings occur after opening Paragon in Pie - Property type mismatch for property 'Visibility'. Expected 'uint8', found 'ESlateVisibility'. Change 3380605 on 2017/04/05 by Benn.Gallagher Fix clothing simulation to correctly index a master pose component for clothing pose data. Fixes integration blocking crash in UT when picking up the flag which sets a master pose mid-game. #jira UE-43624 Change 3381025 on 2017/04/05 by Jon.Nabozny Change ensure in UpdateKinematicBonesToAnim to ensureMsgf so we can track down potential content issues. Change 3381475 on 2017/04/05 by Lina.Halper Fix crash on creating montage and setting slot node #jira: UE-43698 #rb: Ori.Cohen Change 3381558 on 2017/04/05 by Lina.Halper Better clean up of flipping issue of quaternion issue #jira: UE-33646, UE-34489 #rb: Zak.Middleton Change 3381789 on 2017/04/05 by Jon.Nabozny Revert InitAnim changes from CL-3379415 to fix cook warnings. (Will have proper fix for 4.17 instead). Change 3381978 on 2017/04/05 by Aaron.McLeran #jira UE-43654 Fixing oculus audio SDK sample rate issue Change 3383181 on 2017/04/06 by Lina.Halper Remove copy right of Dual quaternion since we no longer uses #code review:Leslie.Nivison Change 3383283 on 2017/04/06 by Ori.Cohen Fixed missing invalidation for body setup when modifying materials #JIRA UE-43680 Change 3383602 on 2017/04/06 by Lina.Halper Fixed scroller in retargeting window #jira: UE-43736 Change 3384369 on 2017/04/07 by Jurre.deBaare Wrong bone is sometimes highlighted in skeleton editor #fix new behaviour caused the user to try and select a bone if we didn't find on through hit proxies #jira UE-43735 Change 3384744 on 2017/04/07 by Jon.Nabozny Fix body rotation being killed on load. #JIRA UE-43771 [CL 3385232 by Thomas Sarkanen in Main branch]
2017-04-07 16:51:51 -04:00
ParentBP = Cast<UAnimBlueprint>(ParentBP->ParentClass->ClassGeneratedBy);
}
AnimBlueprintsToRetarget.AddUnique(AnimBlueprint);
}
}
if(AssetsToRetarget.Num() == 1)
{
//Only chose one object to retarget, keep track of it
SingleTargetObject = AssetsToRetarget[0].Get();
}
if(bRetargetReferredAssets)
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
// Grab assets from the blueprint. Do this first as it can add complex assets to the retarget array
// which will need to be processed next.
for(auto Iter = AnimBlueprintsToRetarget.CreateConstIterator(); Iter; ++Iter)
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
GetAllAnimationSequencesReferredInBlueprint( (*Iter), AnimationAssetsToRetarget);
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
int32 AssetIndex = 0;
while (AssetIndex < AnimationAssetsToRetarget.Num())
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
UAnimationAsset* AnimAsset = AnimationAssetsToRetarget[AssetIndex++];
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3106465) #lockdown Nick.Penwarden Change 3110660 on 2016/9/1 by Andrew.Grant Moved performance/quality warnings out of DrawStatsHUD into new function and now display them in everything other than shipping builds (unless disabled, or screenshot/movie dumping is in progress. HLOD warning is updated every 20 secs to deal with streaing levels. Moved debug warnings into a separate Draw function (still disabled in test, but would like to make this an option in Orion soon). #rb Michael.Noland #tests verified we see our unbuilt HLOD warning in v31 :( Change 3106649 on 2016/08/30 by Cody.Haskell #Orion - Input Axis Work #rb DanH #tests PIE Change 3106299 on 2016/08/30 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 31.2 @ CL 3105865 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3105969 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3106213 on 2016/08/30 by Ben.Marsh BuildGraph: Include UAT, UBT, and UHT binaries in precompiled binaries zip file. #rb none #tests preflight Change 3105994 on 2016/08/30 by Martin.Wilson Stop recompression happening when additive frame index is changed "interactively" (recompression will occur at end of interactive input) #jira UE-35289 #rb Thomas.Sarkanen #tests Tested UI in editor Change 3105331 on 2016/08/29 by Uriel.Doyon Allowed texture to ignore streaming MipBias with UTexture2D::bIgnoreStreamingMipBias Used this new flag when assigning texture to UImage::SetBrushFromTexture to prevent having low quality UI in low texture budget. #rb marcus.wassmer #tests launched editor and played game #jira OR-25814 Change 3105143 on 2016/08/29 by Josh.Markiewicz #UE4 - added assert when histogram input parameters don't match #rb none #tests launched/ran/won game golden path #codereview dmitry.rekman, michael.noland, bart.bressler Change 3104976 on 2016/08/29 by Jon.Lietz pickup refector - fixed a big that would allow mixed replication to call a gameplay cue's added twice. - All pickups now use the pick up manager, consolidated all pick up code into the manager. - added to the XP set so we can define the CXP bounty for targets. #RB Dave.Ratti #tests Bot match, test maps, spawning coins and pickups. Change 3103480 on 2016/08/26 by Josh.Markiewicz #UE4 - added GetSessionIdStr to FOnlineSessionSearchResult and FOnlineSession #rb none #tests golden path matchmaking #codereview paul.moore, eric.newman Change 3103410 on 2016/08/26 by Max.Chen Movie Capture: Fix commandline burnin option. #rb none #tests Render movie with commandline -UseBurnIn=yes option. Change 3102134 on 2016/08/25 by Brian.Karis Fix for HDR output exposure. Added 1000nit output option. #rb marcus #tests agora Change 3101276 on 2016/08/25 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_31 - Merging CL 3100347 (head revision of 2 files :o ) #RB:none #Tests:none [CodeReviewed]: matt.schembari, max.preussner #R@BOMERGE-SOURCE: CL 3101273 in //Orion/Release-31/... via CL 3101274 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3101267 on 2016/08/25 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_DUI - Integrating Media changes from 4.13 (head revision) #RB:none #Tests:none /Engine/Plugins/Media /Engine/Source/Runtime/Media /Engine/Source/Runtime/MediaAssets [CodeReviewed] matt.schembari, max.preussner #R@BOMERGE-SOURCE: CL 3099267 in //Orion/Dev-UI/... via CL 3101266 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3100378 on 2016/08/24 by John.Pollard Fix a crash that can occur when scrubbing in replays #codereview David.Ratti #tests Replays #rb DavidR This is the output: [2016.08.24-21.35.05:973][603]LogAbilitySystem:Warning: OnRep_ReplicatedAnimMontage: PlayMontageSimulated failed. Name: AbilitySystemComponent0, AnimMontage: LevelStart_Montage Change 3100375 on 2016/08/24 by Laurent.Delayen Added AimOffsetLookAt node. AimOffset node that drives its inputs automatically from a Target Location (and a Source Socket). #rb none #codereview lina.halper #tests Tacticia's RMB Targeting Change 3100278 on 2016/08/24 by Laurent.Delayen Fix for fast path struct copy being broken for FVectors. #rb lina.halper #codereview thomas.sarkanen #tests Chains' hook, Tacticia's LaserBeam and OrientationWarping Change 3100161 on 2016/08/24 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) Fix issue with refresh viewer command failing due to backend congestion #rb RyanG #tests Replays Change 3100114 on 2016/08/24 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3098849 #RB:none #Tests:none #CodeReview: kerrington.smith, matt.schembari #R@BOMERGE-SOURCE: CL 3100078 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3100015 on 2016/08/24 by Michael.Noland Don't allow the consideration of nodes that won't be processed to affect the live aspect of the active sound containing a cross fade node #jira UE-34998 #rb Aaron.McLeran [re-implementing CL# 3098559 originaly by Marc.Audy in Release 4.13] #tests Compiled and ran a golden path match with headphones on Change 3100012 on 2016/08/24 by Michael.Noland UE-34951 - Zero-volume vorbis decoded sounds are too expensive -Adding an audio settings parameter to disable zero-volume playback globally -Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume #rb marc.audy [re-implementing CL# 3094893 from Dev-Framework, originally by Aaron McLeran] #tests Compiled and ran a golden path match with headphones on Change 3099889 on 2016/08/24 by Max.Chen Sequencer: Added command line option to enable burnin #rb none #tests Render movie from command line wtih -UseBurnIn=yes Change 3099801 on 2016/08/24 by Lina.Halper Removed unnecessary comment #rb: none #code review: Benn.Gallagher #tests: compile Change 3099787 on 2016/08/24 by Jason.Bestimt #R@BOMERGE-AUTHOR: sam.zamani #http - fix for cancelled requests that have not been started never triggering a completion delegate - fixes soft lock when handling disconnects during login OR-26945 The client stays on the "downloading profile" screen when rejoining after disconnecting #rb josh.markiewicz, alex.fennell #tests none #R@BOMERGE-SOURCE: CL 3099782 in //Orion/Release-30.2/... via CL 3099784 via CL 3099785 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3099252 on 2016/08/24 by Lina.Halper Fixed menu text #rb: none #code review: Thomas.Sarkanen #tests: open editor and create child montage and replaced the animation Change 3099251 on 2016/08/24 by Lina.Halper Deterministic cooking of skeleton - abandon all guid from GuidMap. GuidMap is still important since we have to generate UID from it, but GuidMap only contains name once cooked #jira: UE-34834 #rb: Martin.Wilson #tests: cooking orion and make sure it works Change 3098504 on 2016/08/23 by Bart.Bressler Add server time between sending packets monitoring histogram #rb dmitry.rekman #tests ran server locally and made sure analytics events were sent Change 3098494 on 2016/08/23 by Michael.Noland Engine: Added UWorld::SetTimeUntilNextGarbageCollection to change the GC timer for use when doing automated performance capture measurements - Note: Things that force a GC will still force a GC after using this method (and they will also reset the timer) - Fixed a bug where UWorld::ForceGarbageCollection might not force a GC immediately if run on a server with no clients connected #tests Tested by calling while stat dumphitches was active and confirmed that the interval changed #codereview ben.salem, gil.gribb #rb none Change 3098491 on 2016/08/23 by Mieszko.Zielinski Expanded BTDecorator_IsAtLocation with an option to use AIDataProvider #UE4 #rb Lukasz.Furman #test golden path Change 3098070 on 2016/08/23 by Lina.Halper Fix crash with UI update reconstructing - will have to come up with a better solution than this. #rb: Martin.Wilson #tests: child anim montage Change 3097914 on 2016/08/23 by Jason.Bestimt #R@BOMERGE-AUTHOR: david.nikdel Merging CL #3097879 from //WEX/Main/Engine/Source/Runtime/Online/NotForLicensees/OnlineSubsystemMcp/... to //Orion/Main/Engine/Plugins/Online/NotForLicensees/OnlineSubsystemMcp/Source/... #Analytics #OSS: Adjusted cohort selection algorithm and test cases [CodeReviewed]: Philip.Buuck #TESTS: unit tests #RB: none #R@BOMERGE-SOURCE: CL 3097911 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3097745 on 2016/08/23 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Megre 30.2/31 @ CL 3096895 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3097716 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3097722 on 2016/08/23 by Chris.Bunner Update texture expression properties before triggering parent material recompile. #rb John.Billon #tests Editor replace references, Golden path #jira OR-27531 Change 3097694 on 2016/08/23 by Lina.Halper #Child Anim Montage - Duplicate from parent of the information it cares to get - Currently it is selective on copying what data - Modified GetAllAnimationSequencesReferred to get a partial data - Added ParentAsset/AssetMappingTable in AnimationAsset - Sequence Browser opening would also add to history - AnimNotify - CanBeplaced virtual function lets you filter which asset it's placed on #code review: Benn.Gallagher, Thomas.Sarkanen, David.Ratti #rb:Martin.Wilson #tests: creating child montage, editing, lots of UI functionality, notifies placement Change 3097513 on 2016/08/23 by Thomas.Sarkanen Non-POD structs can now be copied using the fast path We now always use CPP struct ops to perform copies when dealing with struct properties. #jira UE-34571 - Support struct member access on AnimBP fast path #rb Laurent.Delayen #tests OrionEntry with Tacticia, confirming orientation warping works correctly and fast path is enabled. Agora_P with Tacticia & bots, played two games. Change 3096729 on 2016/08/22 by Mieszko.Zielinski Fixes to EQS scoring function preview #UE4 #rb Lukasz.Furman #test golden path Change 3096596 on 2016/08/22 by Jason.Bestimt #ORION_DG - Fixes from 4.13 to video playback (CL# 3075761 & 3083970) #RB:none #Tests:none #CodeReview: matt.schembari, max.preussner #R@BOMERGE: MAIN Change 3096550 on 2016/08/22 by Jurre.deBaare Fix for HLOD dirty clusters PIE warning message #tests Simulated Origin with built HLOD clusters, and with one dirty cluster #rb none Change 3096532 on 2016/08/22 by Mieszko.Zielinski Modified GameplayTask_WaitDelay to allow specifying task's priority #UE4 As part of the change introduced UGameplayTask::NewTaskUninitialized that's basically a redirect of NewObject, but clearly indicates that a task needs to be manually initialized #codereview Lukasz.Furman #rb none #test golden path Change 3096455 on 2016/08/22 by Jason.Bestimt #R@BOMERGE-AUTHOR: keli.hlodversson #CEF: Copy upgraded CEF binaries from //Portal/Main to fix crash issues with Sofort purchases #RB David.Nikdel #TESTS none #R@BOMERGE-SOURCE: CL 3096452 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3096316 on 2016/08/22 by Sammy.James Resave to fix log warnings. BPC changes to ensure type saves. #rb #tests editor Change 3096040 on 2016/08/22 by bruce.nesbit Revised fix for landscape crash #rb GarethM #tests Game #codereview Bart.Bressler Change 3096015 on 2016/08/22 by bruce.nesbit Fixed a crash in ALandscapeProxy::PostLoad when running an editor build with -server #rb none #tests game #codereview Bart.Bressler Change 3095578 on 2016/08/19 by Mieszko.Zielinski Made NavigationSystem call TickAsyncBuild on all navigation data instances is there was an ongoing navigation build in progress in the editor #UE4 This was causing Orion's flow field to not build if auto navmesh update was disabled in the editor #rb none #test golden path #codereview Lukasz.Furman Change 3095397 on 2016/08/19 by Lina.Halper Fix issue with crash when deleting all segment #rb: Laurent.Delayen #tests: delete segment and make sure it doesn't crash #jira: UE-34830 Change 3095060 on 2016/08/19 by Bart.Bressler Don't load ULandscapeComponent objects on dedicated servers to save memory. #tests cooked server data and played a Solo vs. AI game #rb gareth.martin #codereview james.golding Change 3095037 on 2016/08/19 by Lina.Halper Potential fix with montage trigger ensure on marker sync group #jira: OR-27685 #rb: Benn.Gallagher #code review: Martin.Wilson #tests: attack primhelilx with knock up Change 3094962 on 2016/08/19 by Jason.Bestimt #R@BOMERGE-AUTHOR: david.nikdel #Merging #OSS - Added FUserOnlineAccountMcp::SelectCohort #RB: None #TESTS: test suite in source [CodeReviewed]: Philip.Buuck #R@BOMERGE-SOURCE: CL 3094961 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3094950 on 2016/08/19 by Jason.Bestimt #R@BOMERGE-AUTHOR: david.nikdel #Merge #UE4 - Made FMD5 const-correct #RB: none #TEST: none #R@BOMERGE-SOURCE: CL 3094949 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3094619 on 2016/08/19 by Lina.Halper #DUPEFIX - ANIM: SmartNAME: the cooking doesn't guarantee the package is saved in the order, so we'll still have to regenerate list without GUID. - assumed the name is all set by now #rb: Benn.Gallagher #jira : UE-34886 #tests: cooking infiltrator that showed same issue and run game. Change 3094532 on 2016/08/19 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3094498 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3094528 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3093260 on 2016/08/18 by Josh.Markiewicz #UE4 - changed how party reset occurs to skip relying on AGameState which could very rarely be null (during server travel) - removed unnecessary cast #rb bart.bressler #codereview bart.bressler, rob.cannaday #tests launched game, some basic party testing Change 3093224 on 2016/08/18 by Josh.Markiewicz #UE4 - added a chatroom class that does some basic chat room join/create/leave functionality to share between games #rb paul.moore #codereview anthony.carter #tests solo vs ai chat with 2 players, coop vs ai chat with 2 players, one leaving and rejoining Change 3092597 on 2016/08/17 by Daniel.Lamb Added Ben Crocker to the rebuild lighting emails. #rb Trivial #Test none Change 3092063 on 2016/08/17 by andrew.grant Merging using ROBO://Orion/Release-Candidate->//Orion/Main #rb #tests none Change 3091081 on 2016/08/16 by Jurre.deBaare Fixing non-Editor build errors #fix Wrapped parts in WITH_EDITOR and added IsBuilt to check if the LODActor has a valid static mesh (thus is not dirty) #tests Build Editor + Game #rb none Change 3091009 on 2016/08/16 by Mieszko.Zielinski Added a way to configure a map to not spawn AISystem instance at all #UE4 #rb none #test golden path Change 3090932 on 2016/08/16 by Michael.Noland Vixen: Added indication to the analytics and FPS charts #rb marcus.wassmer #tests Compiled for the platform Change 3090844 on 2016/08/16 by Laurent.Delayen Replicated CL 3090734 from Fortnite. --- Fix AbilitySystemComponent not ticking while playing a montage, and ticking when we're not playing a montage Here's the issue in the version of the code prior to this checkin: - UpdateShouldTick calls GetShouldTick, which checks the value of RepAnimMontageInfo.IsStopped - When we call UpdateShouldTick within AnimMontage_UpdateReplicatedData, we haven't set RepAnimMontageInfo.IsStopped yet to the correct value - So when we aren't playing any montages but are starting a new one, we were saying we shouldn't tick - It also means if we were playing a montage, and then stop, we'll start ticking - Ticking calls AnimMontage_UpdateReplicatedData, which should be called while we're playing #codereview john.abercrombie #rb none #tests golden path Change 3090832 on 2016/08/16 by Michael.Noland Windows: Fixed a whitespace issue #rb none #tests Compiled for windows Change 3090688 on 2016/08/16 by Jason.Bestimt #R@BOMERGE-AUTHOR: andrew.grant Merging using ROBO://Orion/Release-Candidate->//Orion/Main #rb none #tests built #R@BOMERGE-SOURCE: CL 3090687 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3090547 on 2016/08/16 by Jurre.deBaare Need a warning message similar to lighting unbuilt when HLOD cluster is not built #fix Added HLOD clusters need to be rebuilt message similar to the lighting one during PIE and game-time, and cleaned/changed "'DisableAllScreenMessages' to suppress" behaviour #jira UE-34335 #rb none #codereview Michael.Noland #tests pie Agora with and without dirty HLOD clusters Change 3090285 on 2016/08/16 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3090267 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3090282 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3089413 on 2016/08/15 by paul.mader Agora 2.0 assets Change 3089266 on 2016/08/15 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 #rb none #tests Convert steel to possessable in Gameplay_PS4 map. Change 3089136 on 2016/08/15 by Mieszko.Zielinski Fixed AISense_Sight's time slicing unintentionally skipping queue aging if given time limit is reached #UE4 #rb Lukasz.Furman #codereview Dan.Youhon #test golden path Change 3089118 on 2016/08/15 by Mieszko.Zielinski Fixed a rare crash in UBlackboardData::GetKeyType resulting from a key selector referencing a type that has been removed from the project's source code #UE4 #rb none #test golden path Change 3088976 on 2016/08/15 by Andrew.Grant Fixed issue with PS4 toolchain ignoring ModuleRules.CodeOptimization.Never / ModuleRules.CodeOptimization.Always when determining optimization level of modules. Fixed issue with VC toolchain ignoring ModuleRules.CodeOptimization.Never setting. Removed superflous /Os from VC debugg settings #rb none #tests verified module built with 'Never' on PS4/Win is built without optimizations. #codereview Marcus.Wassmer, Ben.Marsh Change 3088830 on 2016/08/15 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3088807 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3088829 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3088597 on 2016/08/14 by Jason.Bestimt #ORION_DG - Trying to resolve R@BOMERGE collision (DUI to MAIN -> DG) #RB:none #Tests:none #CodeReview: andrew.grant, david.ratti, matt.schembari Change 3087827 on 2016/08/12 by Bart.Bressler Updates to skeletal mesh memory saving on dedicated server #rb lina.halper #tests Cooked server data, played a game for a while in Solo vs. AI Change 3087351 on 2016/08/12 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) #jira OR-27406 #rb RyanG #tests Replays Change 3087118 on 2016/08/12 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3086747 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3087117 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3086176 on 2016/08/11 by Marcus.Wassmer Fix PS4 ShaderPipelines not matching pixel/vertex shader properly. #rb Rolando.Caloca #tests Broken PS4 content before/after Change 3085992 on 2016/08/11 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Unclog R@BOMERGE #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3085987 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3085911 on 2016/08/11 by Laurent.Delayen Added FBoneContainer::BoneIsChildOf for FCompactPoseBoneIndex #rb none #tests Orientation Warping Change 3085614 on 2016/08/11 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3085547 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3085598 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3084507 on 2016/08/10 by Marcus.Wassmer Duplicate 3070376 and 3078879 to fix corrupted decals on Vixen. #rb none #tests paragon ps4/vixen #codereview Olaf.Piesche Change 3084136 on 2016/08/10 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3083799 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3083814 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3083424 on 2016/08/09 by Max.Chen Sequence Recorder: Fix crash when actor class to record is null. #tests Use sequence recorder to record a skeletal mesh actor #rb none Change 3083134 on 2016/08/09 by Jason.Bestimt #R@BOMERGE-AUTHOR: sam.zamani #online,store,ps4 - creating one offer entry per entitlement #rb david.nikdel, ian.fox #tests MTX purhcase on PS4 #lockdown: andrew.grant #R@BOMERGE-SOURCE: CL 3083127 in //Orion/Release-30.1/... via CL 3083128 via CL 3083131 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3083069 on 2016/08/09 by Marcus.Wassmer Vixen scalability changes #rb Michael.Noland #tests vixen/ps4 #codereview jordan.walker Change 3083063 on 2016/08/09 by Marcus.Wassmer Most games will probably run out of memory if setup to do auto-4k. Make this a setting that's off by default. #rb Michael.Noland #codereview Luke.Thatcher, Lee.Clark #tests vixen on 4k. Change 3082778 on 2016/08/09 by Marcus.Wassmer Duplicate fix for Vixen GPU page faults and rendertarget errors (3066087) #rb none #tests Agora on vixen. Change 3082772 on 2016/08/09 by Marcus.Wassmer Duplicate fix for detail mode reregistration (3065543) #rb none #tests Toggled detail mode, observe proper items spawning Change 3082765 on 2016/08/09 by Marcus.Wassmer Don't crash when trying to use windowed vsync on vixen #rb Michael.Noland #test ran paragon on vixen #codereview Luke.Thatcher,Lee.Clark Change 3082764 on 2016/08/09 by Marcus.Wassmer fix HLOD distance scale not working properly when components are re-registered. #rb michael.noland #codereview jurre.debarre #tests setting multiple times, setting on boot via deviceprofile Change 3082429 on 2016/08/09 by Jason.Bestimt #R@BOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-30.1 to Main (//Orion/Main) Change: 3082419 #online,store,PS4 OR-25384 [PS4] "There is no content. It might not be for sale yet, or might no longer be for sale" at main menu and at post match screen - added config option for toggling store on PS4 [OnlineSubsystemPS4] bStoreEnabled=true - can also override via title specific json values in <titleid>\title.json allow_mtx=true [CodeReviewed]: andrew.grant, phillip.buck, ian.fox #lockdown: andrew.grant #rb none #tests ps4 run with titleid=CUSA3609_00 (which has mtx disabled for PS4 since that title has no store support) #R@BOMERGE-SOURCE: CL 3082428 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3082194 on 2016/08/09 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3082105 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3082192 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3080984 on 2016/08/08 by Lina.Halper Issue with not being able to set static animation data via BP - artists were using SetAnimation/PlayAnimation, but they are not safe to be used in construction script, so made sure the other serializable properties are exposed via BP - also since they want it to work in level viewport, I have to tick/refresh whenever it's getting called. #rb: Martin.Wilson #tests: Sword Beauty map Change 3080665 on 2016/08/08 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3080081 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3080543 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3080565 on 2016/08/08 by Laurent.Delayen Fix for curve values during URO interpolation. Fixes flashing of materials and Twinblast's ult weapon. https://jira.ol.epicgames.net/browse/OR-27107 https://jira.ol.epicgames.net/browse/OR-24358 #rb lina.halper, martin.wilson #tests Twinblast's ult and Coil's primary. Change 3079832 on 2016/08/05 by Jason.Bestimt #R@BOMERGE-AUTHOR: marcus.wassmer Fix for PS4 crash reports not attaching the minidump when trying to force full crash dumps via commandline #rb none [CodeReviewed] Chris.Wood #tests checked crashcontext on PC/PS4 #lockdown Andrew.Grant #R@BOMERGE-SOURCE: CL 3078933 in //Orion/Release-30/... via CL 3078934 via CL 3078935 via CL 3079831 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3079045 on 2016/08/05 by Lina.Halper Adding more log to figure out why ActivePlayers.Count becomes inconsistent. #rb: Martin.Wilson #tests: PIE with bots Change 3078944 on 2016/08/05 by Rolando.Caloca O - Update blacklisted driver #jira OR-27051 #rb Marcus.Wassmer #tests Run with AMD card Change 3078735 on 2016/08/05 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3078670 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3078734 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3078122 on 2016/08/04 by Dmitry.Rekman Linux: treat abort() / SIGABRT as crash. - Rationale: certain code not under our control (most notably, stack smashing protector) may call abort(), which would previously terminate the engine without any chance to even enter the crash handler. - Rewrote RequestExit() because it used abort() itself. - Also removed -fstack-protector. The logic behind this is: stack protector calls abort() on detecting a smash (which is suspected to contribute to missing reports), but does it at an inappropriate place, that causes stack unwinding to crash later. As bad as it sounds, it may be better to allow stack to be corrupted and crash later - hopefully outside of libc code - to some other reason. #rb Mark.Satterthwaite #codereview Mark.Satterthwaite, Michael.Noland, Andrew.Grant #review-3078104 @Mark.Satterthwaite, @Michael.Noland, @Andrew.Grant #tests Ran Linux server, crashed using different methods. Change 3077887 on 2016/08/04 by Dmitry.Rekman Initialize StackCount to 0 (kills valgrind warning). #rb David.Ratti #codereview David.Ratti #tests Ran Linux server. Change 3077257 on 2016/08/04 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3077193 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3077256 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3077242 on 2016/08/04 by Dmitry.Rekman Linux: stop heartbeat thread before handling the crash. #rb Robert.Manuszewski #codereview Robert.Manuszewski, Andrew.Grant #tests Compiled and ran Linux server, crashed it. Change 3076676 on 2016/08/03 by Dmitry.Rekman Linux: print details about memory access (read or write). - Also print all the 16 digits of the pointer. - Read/write detection only implemented for x86_64. #rb Andrew.Grant #codereview Andrew.Grant #tests Compiled (natively) and ran Linux server. Change 3076675 on 2016/08/03 by Dmitry.Rekman Print a bit more info about the array in assert. #rb Andrew.Grant #codereview Andrew.Grant #test Compiled and ran Linux server. Change 3076010 on 2016/08/03 by Laurent.Delayen Moved OrionAnimNode_LegIK from Paragon to Engine. #codereview lina.halper #rb none #tests Grim.exe + Iggy & Scorch Change 3075512 on 2016/08/03 by Matt.Kuhlenschmidt Reimplemented 3070766 for Orion: Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #rb none #tests none Change 3075446 on 2016/08/03 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3075422 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3075445 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3075394 on 2016/08/03 by HaarmPieter.Duiker Adding a shadows max and highlights min parameters to allow the user to control when the 'shadows' controls fall off and when the 'highlights' controls ramp in. #rb marcus.wassmer #tests post process color correction Change 3074314 on 2016/08/02 by Dmitry.Rekman Linux: change optimization from -O2 to -O1 (temporarily?). - The purpose is to make callstacks easier to follow and possibly catch stack smashing (if it happens) earlier. - Also adds a line to UBT output during compilation to draw attention. #rb Michael.Noland #codereview Michael.Noland, Andrew.Grant, Bart.Bressler #tests Compiled and ran Linux server. Change 3073553 on 2016/08/02 by jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3073360 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3073481 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) #R@BOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/BP_Hero.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3073505 on 2016/08/02 by Daniel.Lamb Added cook modification delegate stats to cooker stats. #rb Wes.Hunt #test cook paragon. Change 3072440 on 2016/08/01 by Aaron.Eady PlayerController Force Feedback (Debug only); Adding #if !(UE_BUILD_SHIPPING || UE_BUILD_TEST) around the use of the debug only variable ForceFeedbackEffectHistoryEntries. #rb none #tests SHIPPING Change 3072259 on 2016/08/01 by Aaron.Eady PlayerController Force Feedback (Debug only); Added more information to the things displayed on the screen for force feedback when we do ShowDebug ForceFeedback. #rb Michael.Noland #tests PIE Change 3071908 on 2016/08/01 by John.Pollard Fix null reference crash #rb DavidR #tests Live game + replays Change 3071876 on 2016/08/01 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) Assertion failed: WriterState.Changed.Num() == 0 occurs when a Pitcher Husk hits the Player #rb none #tests FN + Paragon live game + replays #codereview Andrew.Grant Change 3071875 on 2016/08/01 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) Finalize replay version system * No longer use changelist to filter replays (so we will only filter by engine/game version now, which need to be hand cranked to invalidate old versions) * Submit actual changelist when uploading (rather than locking to previous versions). We can do this now since we don't filter by changelist anymore. * Removed unnecessary 'bShowAllVersions' property from replay browser code, using cvar instead (orion.ShowAllReplayVersions) #rb RyanG #tests Live game + replays #codereview Andrew.Grant Change 3071874 on 2016/08/01 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) Fix gameplay tags to work better with backwards compatibility in replays * We use the net field export group system in the package map to export tag names as a packed index * This will allow us to see the names of tags that no longer exists on the remote side #rb RyanG #tests Live game + replays #codereview Andrew.Grant Change 3071776 on 2016/08/01 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3071738 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3071775 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3071258 on 2016/07/30 by Aaron.McLeran OR-26580 CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay - Removed voice operation set since it was causing crashes when stopping voices. Still a good idea, but need to make sure the async OnBufferEnd and stopping an FSoundSource can work together. - Added a proxy object that wraps the FAsyncTask used for async decoding. Calling IsDone() and EnsureCompletion() can't happen at the same time from different threads now. #rb none #tests ran paragon soaking for a long time with constant AI combat and observed no crashes or audio issues. Change 3071099 on 2016/07/30 by Aaron.McLeran OR-26580 CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay - Temporary revert of a portion of CL 3067560 which exacerbates an issue with the async decoding tasks and calling IsDone and EnsureComplete on different threads. #rb none #tests ran paragon with change and noticed no change in audio quality Change 3070916 on 2016/07/29 by Andrew.Grant Missed file! #rb #tests na Change 3070915 on 2016/07/29 by Andrew.Grant Merging //UE4/Main @ 3070724 through //UE4/Orion-Staging #rb none #tests Engine QA, Orion QA smoke Change 3070576 on 2016/07/29 by Uriel.Doyon Fixed initialization of the defrag pool size. Now controlled by r.PS4DefragPoolSize. #review-3070386 @marcus.wassmer #jira OR-25941 #rb marcus.wassmer #tests Run Game on PS4, and in editor Change 3070086 on 2016/07/29 by Martin.Wilson Fixed ensure triggering during sequencer playback due to double update. #jira UE-33938 #rb Thomas.Sarkanen #tests opened affected asset and verified problem no longer occured Change 3070016 on 2016/07/29 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30 @ CL 3069935 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3069976 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3069435 on 2016/07/28 by Ian.Fox #Orion, #Mcp - Check if Price Engine is configured before attempting query #rb Sam.Zamani #tests none #codereview Sam.Zamani Change 3069381 on 2016/07/28 by Michael.Noland Animation: Demoted a check() in anim sync group code to an ensure() to unblock others #rb nick.penwarden #tests Loaded Paragon cine asset that was crashing #codereview lina.halper, martin.wilson Change 3069203 on 2016/07/28 by Dmitry.Rekman Headless client: do not draw windows. - Disables a bunch of code, including reaching into font cache to estimate width. - Should be probably disabled on a higher level, but cutting out the whole Slate application is infeasible (according to BradA/BenM, due to some logic requiring widgets). #rb Nick.Atamas #review-3068983 @Nick.Atamas, @Michael.Noland, @Brad.Angelcyk, @Ben.Salem #codereview Nick.Atamas, Michael.Noland, Brad.Angelcyk, Ben.Salem #tests Compiled and ran Orion Linux client. Change 3069181 on 2016/07/28 by Lina.Halper Fix struct redirector for Orion anim node moving to engine #rb: Maciej.Mroz #code review:Laurent.Delayen #tests: editor loading the anim BP that caused the name conversion Change 3069092 on 2016/07/28 by Aaron.McLeran OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves - Not all active sounds have sound classes, was causing a crash #codereview marc.audy #rb zabir.hoque #tests Run game with stat soundcues and not crash Change 3068969 on 2016/07/28 by David.Ratti Move test for invalid gameplaycue instance up, since calling IsPendingKill() on garbage can cause crash too. #rb none #tests compile Change 3068902 on 2016/07/28 by David.Ratti Code for tracking down UGameplayCueManager::GetInstancedCueActor crash. #rb none #tests compile Change 3068831 on 2016/07/28 by Aaron.McLeran OR-26417 Reverb is too loud in-game in Dev-General - Initializing prev reverb to 0s so that the first default reverb gets set when no audio volume is set. #rb Jeff.Campeau #tests run a map with no reverb audio volume and reverb is not super wet Change 3068529 on 2016/07/28 by Jason.Bestimt #R@BOMERGE-AUTHOR: david.nikdel #OSS #PurchaseMcp: Use GameService->CreateOnlineHttpRequest instead of McpSubsystem->CreateRequest to query receipts (uses subsystem config) #RB: none #TESTS: none #R@BOMERGE-SOURCE: CL 3068465 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3068399 on 2016/07/28 by Andrew.Rodham Sequencer: Changed animation tracks to allow more animation types (such as anim montages) - APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility #jira OR-25769 #tests Tested all combinations of animation with sequencer (montage+sequence on asset/BP driven animation components) and matinee. Tested running a game and playing back the announce trailer. Rendered out some movies to ensure that trails work correctly. #rb Benn.Gallagher Change 3068138 on 2016/07/28 by Marcus.Wassmer Disable mallocleak testing by default #rb none #test none Change 3068121 on 2016/07/28 by Marcus.Wassmer Make sure we always do fast stack captures when USE_FAST_STACKTRACE is enabled. Fixes game becoming unresponsive on Windows after 'mallocleak' dumps data. Any other tool that uses stacktraces could become 700 - 1000x slower after any stack symbolication also. #rb Robert.Manuszewski #tests stack tracing / symbolication with mallocleak on windows. Change 3068119 on 2016/07/28 by Marcus.Wassmer Fix MallocLeakProxy deadlock #rb Robert.Manuszewski #tests mallocleak start/stop/dump on windows Change 3067752 on 2016/07/27 by Michael.Noland Engine: Refactored FPS chart creation to make it modular so many performance data consumers can be active at once, allowing greater flexibility and decoupling game analytics from FPS chart exec commands - IPerformanceDataConsumer is an interface for all consumers of per-frame performance tracking data, and instances can be registered/unregisted with the engine using AddPerformanceDataConsumer/RemovePerformanceDataConsumer - The implementation of the 'standard' frame time and hitch histogram tracking is FPerformanceTrackingChart, while the per-frame logging .csv is split into a separate FFineGrainedPerformanceTracker class. - The calculation of frame time breakdowns and hitch detection now occur as long as at least one IPerformanceDataConsumer is registered - Internally the code has been cleaned up a bit to use FHistogram for data storage instead of custom binning code Upgrade Notes: - DumpFPSChartAnalytics has been removed, games that used it should switch to creating their own instance of FPerformanceTrackingChart and call DumpChartToAnalyticsParams on it directly - In general games should have no reason to programmatically call GEngine->StartFPSChart anymore, instead creating their own instance (this prevents conflicts when using the engine console commands) - HTML output for stopfpschart is now generated to a single file rather than two duplicate files (using both map name and capture time as part of the file name) - Removed PauseFPSChart, IsFPSChartActive, and GetFPSChartBoundByFrameCounts to reflect that the GEngine instances aren't meant for external use (Start/Stop are left public for automated testing that wants to use them to do logging, but may also be moved private in the future) Paragon: - Updated to use a separate FPerformanceTrackingChart for gameplay versus in-game menus and removed the duplicated code and GameThreadHitchChart event - Removed partial USE_SERVER_PERF_COUNTERS code in ChartCreation.cpp, splitting it out into a separate observer, which currently lives in Paragon but will be moved to shared code in a separate checkin. The code was only useful in the first place along with other Paragon-side code that was consuming it. #rb dmitry.rekman #codereview bob.tellez, peter.knepley, andrew.grant, john.mauney #review-3067607 @Dmitry.Rekman, @Bob.Tellez #tests Tested manual startfpschart/stopfpschart as well as Paragon match analytics via golden path solo vs AI Change 3067654 on 2016/07/27 by Michael.Noland FString - Fix divide overload path concatenation for empty paths since there are several places in the engine that expect using that doing { path / "" } will append a / onto path. #rb steve.robb #jira UE-31959 [duplicating CL# 3039827] #tests Tried moving a folder in the editor Change 3067644 on 2016/07/27 by Aaron.McLeran OR-24537 Looping audio sometimes persists in Agora Adding stopping sounds if audio component is destroyed while playing a looping sound #rb jeff.campeau #tests audio component stops looping sound if audio component is destroyed prematurely Change 3067560 on 2016/07/27 by Aaron.McLeran OR-26322 Client Hang in FXAudio2EffectsManager::SetReverbEffectParameters - Only applying reverb parameters if they've changed from previous reverb params to avoid unnecessarily spamming the XAudio2 API call - using xaudio2 operation sets to ensure that voice and effect params are executing in sequence - only calling destroy voice after all voice and effect changes have been committed to avoid destroy voice interfering with those commands - Don't call EnsureCompletion on pending async tasks on teardown #rb Jeff.Campeau #tests play paragon with change, notice no changes to audio behavior, no crashes. Created testmap with several reverb zones and demonstrated reverb effect transitions Change 3067420 on 2016/07/27 by jason.bestimt #ORION_MAIN - Merge 29.2/30 @ CL 3067312 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3067400 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3067316 on 2016/07/27 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3065602 #RB:none #Tests:none [CodeReviewed]: matt.schembari #R@BOMERGE-SOURCE: CL 3067079 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3067025 on 2016/07/27 by Michael.Noland Core: Corrected the initial value of FLightweightTimeGuard::FrameTimeThresholdMS to be in MS rather than seconds and did a few coding standards fixes #rb none #tests Compiled Change 3067020 on 2016/07/27 by Michael.Noland Core: Various improvements to FHistogram and split it out into separate files - Added the ability to use a separate thresholding key than the actual measurement value being recorded (e.g., when accumulating frame time spent in a chart keyed on framerate) - Added O(1) getters for total sample counts and sum of all measurements - Removed encapsulation-breaking SetBinCountByIndex / SetBinSumByIndex - Added support for specifying explicit histogram bucket thresholds #rb dmitry.rekman #tests Tested with another pending changelist that moves FPS charts to use FHistogram for the underlying storage Change 3066681 on 2016/07/27 by Frank.Gigliotti Camera anim field of view fix; * The FOV is now reset on the PlayerCameraManager camera actor when it's initialized. This fixes cases of stale FOV values after playing camera anims that don't end with the FOV at it's base value. * Base FOV can now be edited in the CameraAnim properties. This allows you to specify what the FOV keys are relative to. Previously it was always using a base FOV of 90 degrees. #RB None #CodeReview Jeff.Farris #Tests Multiple camera animations in PIE Change 3066508 on 2016/07/27 by Lina.Halper Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #rb: Martin.Wilson #tests: cooked test map, run test map, PIE, saving content, loading standalone game Change 3066246 on 2016/07/27 by Jason.Bestimt #R@BOMERGE-AUTHOR: andrew.grant Fix for non-unity error #rb none #tests compiled #R@BOMERGE-SOURCE: CL 3066245 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3066167 on 2016/07/27 by Benn.Gallagher Fixed clothing corruption seen on Twinblast after mesh updates. We were copying a u32 index buffer into a multisize container but CopyIndexBuffer doesn't change the data size when copying - only when rebuilding. #rb Ori.Cohen #tests Editor, PIE, Applying clothing to characters. Change 3065868 on 2016/07/27 by Michael.Noland Blueprints: Fixing non-editor build (missing WITH_EDITOR) #rb none #tests Compiled PS4 Change 3065749 on 2016/07/26 by Michael.Noland Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) #codereview mike.beach, marc.audy #tests Loaded and recovered a corrupted Blueprint on Cameron's machine #rb Phillip.Kavan Change 3065706 on 2016/07/26 by Josh.Markiewicz #UE4 - changed default values for bLogoutOnSessionTimeout for reservation beacons - fixed non shipping cmd line override to be correct #rb none #codereview andrew.grant, paul.moore #tests none Change 3065359 on 2016/07/26 by Rob.Cannaday Limit external id querying to 100 ids per call. The backend currently enforces this and is returning an error when we exceed this limit. Break up calls in batches of 100 ids. #jira OR-20674 #rb ian.fox #tests login to front end with PC, PS4. forced tests to simulate > 100 requests. Change 3065197 on 2016/07/26 by Bart.Bressler Change how PS4 sessions work: - We now will only try to join somebody's PS4 session only if we accepted an invite from the PS4 system software. This means that an MCP party can have members in different PS4 sessions. - Refactored a lot of the delegates in UOrionParty to lambdas to try to make it more readable - Added comments, other misc. code cleanup. #rb josh.markiewicz, sam.zamani, rob.cannaday #tests created cross play parties with multiple pc + ps4 players #jira OR-20332 Change 3065158 on 2016/07/26 by Lina.Halper Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #rb: Martin.Wilson #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3064735 on 2016/07/26 by Dmitry.Rekman Linux: added WebRTC libs. - Compiled against glibc 2.12 / CentOS 6.x environment (see howto in a separate doc). #rb none #tests Tested OrionClient in Dev-General, and UE4Editor in Dev-Platform. (Edigrating 3063715 from //UE4/Dev-Platform/... to //Orion/Dev-General/...) Change 3064727 on 2016/07/26 by Dmitry.Rekman Fix crash on cooker exit (UE-33583). - Global/static tickable objects could outlive the collection and trigger asserts when removing themselves from it. #rb none #tests Compiled and ran Linux server and Linux client. (Edigrating 3058779 from //UE4/Dev-Platform/... to //Orion/Dev-General/...) Change 3064725 on 2016/07/26 by Dmitry.Rekman Linux: use libc++ instead of libstdc++. - Needed to solve problems with third-party C++ libraries (e.g. WebRTC). - Bundled libc++ 3.8.1 (TPS cleared). - Turned off ICU compilation (needs recompile against libc++). - Some libraries (e.g. FBX sdk) still need libstdc++, so in practice it is going to be a mix. #rb none #tests Built and ran a number of Linux targets. (Edigrating 3057152 from //UE4/Dev-Platform/... to //Orion/Dev-General/...) Change 3064572 on 2016/07/26 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 29.2 @ CL 3064545 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3064569 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3064523 on 2016/07/26 by Jon.Lietz Fixing it so gameplay effects with execution none will no longer keep the BP in a dirty state. Only call EmptyArray() on CalculationModifiersArrayPropHandle if it has any elements. #RB none #tests BP compiles and stays not dirty #codereview dave.ratti@epicgames.com [CL 3111290 by Andrew Grant in Main branch]
2016-09-01 21:20:38 -04:00
AnimAsset->HandleAnimReferenceCollection(AnimationAssetsToRetarget, true);
}
}
}
bool FAnimationRetargetContext::HasAssetsToRetarget() const
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
return AnimationAssetsToRetarget.Num() > 0 ||
AnimBlueprintsToRetarget.Num() > 0;
}
bool FAnimationRetargetContext::HasDuplicates() const
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
return DuplicatedAnimAssets.Num() > 0 ||
DuplicatedBlueprints.Num() > 0;
}
TArray<UObject*> FAnimationRetargetContext::GetAllDuplicates() const
{
TArray<UObject*> Duplicates;
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
if (AnimationAssetsToRetarget.Num() > 0)
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
Duplicates.Append(AnimationAssetsToRetarget);
}
if(AnimBlueprintsToRetarget.Num() > 0)
{
Duplicates.Append(AnimBlueprintsToRetarget);
}
return Duplicates;
}
UObject* FAnimationRetargetContext::GetSingleTargetObject() const
{
return SingleTargetObject;
}
UObject* FAnimationRetargetContext::GetDuplicate(const UObject* OriginalObject) const
{
if(HasDuplicates())
{
if(const UAnimationAsset* Asset = Cast<const UAnimationAsset>(OriginalObject))
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
if(DuplicatedAnimAssets.Contains(Asset))
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
return DuplicatedAnimAssets.FindRef(Asset);
}
}
if(const UAnimBlueprint* AnimBlueprint = Cast<const UAnimBlueprint>(OriginalObject))
{
if(DuplicatedBlueprints.Contains(AnimBlueprint))
{
return DuplicatedBlueprints.FindRef(AnimBlueprint);
}
}
}
return NULL;
}
void FAnimationRetargetContext::DuplicateAssetsToRetarget(UPackage* DestinationPackage, const FNameDuplicationRule* NameRule)
{
if(!HasDuplicates())
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
TArray<UAnimationAsset*> AnimationAssetsToDuplicate = AnimationAssetsToRetarget;
TArray<UAnimBlueprint*> AnimBlueprintsToDuplicate = AnimBlueprintsToRetarget;
// We only want to duplicate unmapped assets, so we remove mapped assets from the list we're duplicating
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
for(TPair<UAnimationAsset*, UAnimationAsset*>& Pair : RemappedAnimAssets)
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
AnimationAssetsToDuplicate.Remove(Pair.Key);
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
DuplicatedAnimAssets = DuplicateAssets<UAnimationAsset>(AnimationAssetsToDuplicate, DestinationPackage, NameRule);
DuplicatedBlueprints = DuplicateAssets<UAnimBlueprint>(AnimBlueprintsToDuplicate, DestinationPackage, NameRule);
// If we are moving the new asset to a different directory we need to fixup the reimport path. This should only effect source FBX paths within the project.
if (!NameRule->FolderPath.IsEmpty())
{
for (TPair<UAnimationAsset*, UAnimationAsset*>& Pair : DuplicatedAnimAssets)
{
UAnimSequence* SourceSequence = Cast<UAnimSequence>(Pair.Key);
UAnimSequence* DestinationSequence = Cast<UAnimSequence>(Pair.Value);
if (SourceSequence && DestinationSequence)
{
for (int index = 0; index < SourceSequence->AssetImportData->SourceData.SourceFiles.Num(); index++)
{
const FString& RelativeFilename = SourceSequence->AssetImportData->SourceData.SourceFiles[index].RelativeFilename;
const FString OldPackagePath = FPackageName::GetLongPackagePath(SourceSequence->GetPathName()) / TEXT("");
const FString NewPackagePath = FPackageName::GetLongPackagePath(DestinationSequence->GetPathName()) / TEXT("");
if (NewPackagePath != OldPackagePath)
{
const FString AbsoluteSrcPath = FPaths::ConvertRelativePathToFull(FPackageName::LongPackageNameToFilename(OldPackagePath));
const FString SrcFile = AbsoluteSrcPath / RelativeFilename;
if (FPlatformFileManager::Get().GetPlatformFile().FileExists(*SrcFile))
{
FString OldSourceFilePath = FPaths::ConvertRelativePathToFull(FPackageName::LongPackageNameToFilename(OldPackagePath), RelativeFilename);
TArray<FString> Paths;
Paths.Add(OldSourceFilePath);
// Update the reimport file names
FReimportManager::Instance()->UpdateReimportPaths(DestinationSequence, Paths);
}
}
}
}
}
}
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3167010) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3167010 on 2016/10/19 by Dmitriy.Dyomin Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html #jira UE-36397 Change 3166824 on 2016/10/18 by Alexis.Matte Fix re-import of mesh material assignment regression #jira UE-37479 Change 3166821 on 2016/10/18 by Alexis.Matte Make sure the old asset are build correctly #jira UE-37461 Change 3166740 on 2016/10/18 by Lina.Halper Fix crash with hide name when bone buffer doesn't exist due to slave component #jira: UE-37467 Change 3166737 on 2016/10/18 by Jeff.Campeau Fix double release in PhysX if there's an exception during shutdown #jira UE-37058 Change 3166733 on 2016/10/18 by Chris.Babcock Add missing MultiviewOVR functions for Android deferred #jira UE-37401 #ue4 #android Change 3166719 on 2016/10/18 by Richard.TalbotWatkin Fixed crash when setting a closed loop on a SplineComponent with no spline points defined. #jira UE-37449 - Editor Crashes When Enabling Closed Loop on Spline in Blueprint Change 3166701 on 2016/10/18 by Daniel.Wright Call HandleLegacyMapBuildData before saving a cooked package - fixes cases where map packages get loaded in the cooker via FRedirectCollector::ResolveStringAssetReference in Core, where there is no opportunity to do post-load legacy map fixups. #jira UE-37317 Change 3166549 on 2016/10/18 by Alexis.Matte Make sure the vertex paint circle brush is display when painting #jira UE-37462 Change 3166459 on 2016/10/18 by Mitchell.Wilson Removed duplicate mapping of Gamepad_RightY for thrust in BP Flying template #jira UE-37471 Change 3166435 on 2016/10/18 by Mitchell.Wilson Cleared preview mesh on skydome materials used in ShooterGame to resolve UDK_ProceduralSky_4UVChannel warnings #jira UE-29718 Change 3166363 on 2016/10/18 by Mitchell.Wilson copied EditorPlane to UI folder of ShooterGame and named it MenuPlane. Replaced EditorPlane in ShooterEntry with MenuPlane. Rebuilt lighting for shootergame levels and added build data for each level. #jira UE-37435 Change 3166342 on 2016/10/18 by Rolando.Caloca UE4.14 - Fix for crash on splines with decals #jira UE-36864 Change 3166315 on 2016/10/18 by Ori.Cohen Implement copy and assignment operator for convexElem struct and aggregate geometry to avoid shallow copy of raw pointers. #JIRA UE-21572, UE-37429 Change 3166274 on 2016/10/18 by Peter.Sauerbrei deprecate iOS 7 and provide better messaging for the IOS versions we no longer directly support #jira UE-37034 Change 3166238 on 2016/10/18 by Max.Preussner MediaPlayerEditor: Failure opening media, even though it opened successfully (UE-37470) Copied from Dev-Sequencer CL# 3166218 #jira UE-37470 Change 3166209 on 2016/10/18 by Daniel.Lamb Fixed issue with launch on marking packages as dirty. #test Cook shooter game #jira UE-37455 Change 3165901 on 2016/10/18 by Jamie.Dale Fixed Clang error caused by missing return type #jira UE-37421 Change 3165774 on 2016/10/18 by Steve.Robb Fix for FMallocBinned::GetAllocationSize() for aligned allocations. Copied from CL# 3165739. #jira UE-37249 #jira UE-37243 Change 3165457 on 2016/10/17 by Max.Chen Sequencer: Default number frame handles to 0 so that there's no change in behavior when rendering out a master sequence of shots. Handle frames need to enabled explicitly by the user. #jira UE-37420 Change 3165444 on 2016/10/17 by Max.Chen Sequencer: Fix reset view range so that it's a no-op when the range is negative. #jira UE-37412 Change 3165257 on 2016/10/17 by Keli.Hlodversson Fix crash when exiting using SteamVR if using VR controllers and launched from steam. #jira UE-37432 Change 3165225 on 2016/10/17 by Nick.Darnell Strategy Game - No longer overrides the engine default iOS build machine to use. Shooter Game - Has been upgraded to user the newer location of the DPI scale curve. #jira UE-37001 Change 3165110 on 2016/10/17 by Michael.Trepka Fixed GetPlatformLibExtension for iOS and tvOS in PhysX build script #jira UE-36939 Change 3165107 on 2016/10/17 by Mitchell.Wilson Resolve CIS content warnings in Shooter Game. #jira UE-30791 Change 3165001 on 2016/10/17 by Alexis.Matte Bump the static mesh build version to force a rebuild. #jira UE-37262 Change 3164928 on 2016/10/17 by Ben.Marsh GitHub: Allow files in /Engine/Plugins/.../Binaries/... to be distributed on GitHub. This was a hold over from the days that editor binaries used to be checked in to P4, but it's excluding plugin ThirdParty folders too. Change 3164914 on 2016/10/17 by Max.Chen Sequencer: Fix case where restoring the last view target was getting skipped. It should always restore if the camera object and the unlock if camera actor object is null. Copy from Dev-Sequencer #jira UE-35285 Change 3164896 on 2016/10/17 by Ben.Marsh UBT: Include all public headers and libraries when running UBT with -generateexternalfilelist, not just those referenced for external modules. This is a change in behavior, since it will cause public engine headers to be included in the target receipt, but it's reasonable behavior since they are required to build against the precompiled binaries anyway. Change 3164892 on 2016/10/17 by Jamie.Dale Fixed BPs passing a null parent when copying data, as this prevented some fix-up from happening correctly in ImportText #jira UE-36977 Change 3164886 on 2016/10/17 by Jamie.Dale Fixed issues propagating property changes when editing Blueprints - FText property changes that kept the same identity didn't used to propagate due to the CDO and instance sharing the same display string. We now import the previous value into a temporary property and use UProperty::Identical to compare the values, rather than rely on the exported text. - TMap/TSet property changes weren't being propagated at all since UI support was added. They needed to be changed to use the parent node like TArray property changes do. - TSet property exporting would produce "()" for both an empty set, and a set containing a single empty FString/FName. This confused the property import, and caused the UProperty::Identical to fail. We now make sure that FString/FName properties correctly honor the PPF_Delimited when dealing with empty values. #jira UE-36977 Change 3164884 on 2016/10/17 by Jamie.Dale We now re-key text when it moves into a new package (with a valid package localization ID) to avoid identity conflicts when instancing in the editor #jira UE-36977 Change 3164843 on 2016/10/17 by Ben.Marsh UBT: Restore support for generating multiple project file types at once. Move the XML config setting for overwriting the type of project files to generate into a an option specific to Visual Studio, under <VCProjectFileGenerator>/<Version>. #jira UE-37386 Change 3164823 on 2016/10/17 by Daniel.Lamb Fixed warning about shader compiler stalling. #test Cook Shootergame #jira UE-37393 Change 3164805 on 2016/10/17 by Alexis.Matte Remove the skinxx import workflow for static mesh #jira UE-37262 Change 3164803 on 2016/10/17 by Mitchell.Wilson Rebuilt lighting on all template projects #jira UE-37317 Change 3164775 on 2016/10/17 by Matt.Kuhlenschmidt Fixed Editing InlineEditConditionToggle variable inside a blueprint causing the editor to crash #jira UE-37029 Change 3164737 on 2016/10/17 by Matt.Kuhlenschmidt Fixed crash debugging blueprints in a networked game session - Eliminated pointless assert that in no way was necessary to crash the users game and moved the disabling of realtime viewports until after routing BeginPlay is complete. This ensures any debugger windows that appear during BeginPlay have realtime disabled by default. #jira UE-37360 Change 3164711 on 2016/10/17 by Chris.Wood Added char limit to user description in Crash Report Client [UE-37377] - Limit description field size in Crash Report Client #jira UE-37377 Change 3164706 on 2016/10/17 by Alexis.Matte Fix fbx scene re-import of staticmesh loosing there materials #jira UE-37032 Change 3164688 on 2016/10/17 by Matt.Kuhlenschmidt Fixed incorrect selection borders appearing if an object was duplicated and then undone and redone #jira UE-37300 Change 3164686 on 2016/10/17 by Alexis.Matte Remove unwanted re-import setting option in both mesh editor. #jira UE-36640 Change 3164622 on 2016/10/17 by Dan.Oconnor Duplicating 3153975 and 3155758 in 4.14 #jira UE-36938 Change 3164620 on 2016/10/17 by Robert.Manuszewski UE4 - Critical fix for task graph memory leak. (re-implementing CL #3159689 by Gil.Gribb) #jira UE-37382 #fyi Gil.Gribb Change 3164557 on 2016/10/17 by Mitchell.Wilson Rebuilt lighting in code and bp first person template. #jira UE-37317 Change 3164370 on 2016/10/17 by Chris.Wood Fix broken application path in Crash Report Client app restart code. [UE-36429] - Send and Restart from Crash Reporter does nothing #jira UE-36429 Change 3164329 on 2016/10/17 by Dmitriy.Dyomin Fixed: Shader compile error using Point Lights Nvidia Shield #jira UE-25671 Change 3164219 on 2016/10/16 by Max.Chen Fix CDO Constructor errors Copy from Dev-Sequencer #jira UE-36787 Change 3164173 on 2016/10/16 by Zachary.Wilson Submitting testing content for Reduced Lightmap Mixing and updating TM-Reflections #jira UE-29618 Change 3164171 on 2016/10/16 by Benjamin.Hyder Re-Saving TM-Noise to update camera position #jira UE-29618 Change 3164169 on 2016/10/16 by Benjamin.Hyder Updating TM-Noise map to include VectorVoronoi noise material #jira UE-29618 Change 3164022 on 2016/10/15 by zachary.wilson Adding testing content for material optimizations, attribute blend node, and preskinned loc pos node #jira UE-29618 Change 3163970 on 2016/10/15 by Benjamin.Hyder updating shading model for skeletal mesh example in TM-SSS_Fullres #jira UE-29618 Change 3163961 on 2016/10/15 by Benjamin.Hyder adding animated skeletal mesh example to TM-SSS_Fullres #jira UE-29618 Change 3163958 on 2016/10/15 by Benjamin.Hyder adding diffuse example to TM-SSS_Fullres #jira UE-29618 Change 3163728 on 2016/10/14 by Tyler.Cole Prep build scripts for WEX MCP in UE4 Release-4.14 stream. #jira NONE-0 Change 3163718 on 2016/10/14 by Tyler.Cole Prep build scripts for Ocean MCP in UE4 Release-4.14 stream. #jira NONE-0 Change 3163715 on 2016/10/14 by Tyler.Cole Prep build scripts for Fortnite MCP in UE4 Release-4.14 stream. #jira NONE-0 Change 3163711 on 2016/10/14 by Tyler.Cole Prep build scripts for Orion MCP in UE4 Release-4.14 stream. #jira NONE-0 Change 3163698 on 2016/10/14 by Michael.Trepka Fixed a CoreAudio crash on unpause #jira UE-37126 Change 3163534 on 2016/10/14 by Matt.Kuhlenschmidt Disable versioning info in project badge by default #jira UE-37335 Change 3163485 on 2016/10/14 by Michael.Trepka Add one more RPATH entry on Mac to support launching staged builds #jira UE-36799 Change 3163479 on 2016/10/14 by Michael.Trepka A couple of changes to prevent Mac app bundles from modifying their content for compatibility with the Mac App Store #jira UE-25742 Change 3163465 on 2016/10/14 by Daniel.Lamb Fix issue with cook command from editor was trying to package also. #test Cook command in editor #jira UE-36796 Change 3163455 on 2016/10/14 by Matt.Kuhlenschmidt Fixed selected section highlight and vertex color view modes not working. #jira UE-37308 Change 3163450 on 2016/10/14 by Mike.Beach Fixing up more Fortnite CIS warnings that were exposed by recent Dev-BP fixes - removing unnecessary cast operation in Mission_Outpost. #jira UE-37055 Change 3163400 on 2016/10/14 by Benjamin.Hyder Updating Lighting setttings inTM-SSS_Fullres #jira UE-29618 Change 3163392 on 2016/10/14 by Benjamin.Hyder Creating TM-SSS_Fullres test map and importing 4k skin diffuse and bump materials #jira UE-29618 Change 3163336 on 2016/10/14 by Mike.Beach Fixing up more Fortnite CIS warnings that we're exposed by a recent change from Dev-BP - replacing deprecated ClearTimerByHandle calls with ClearAndInvalidateTimerByHandle. #jira UE-37055 Change 3163335 on 2016/10/14 by Max.Chen Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport. Copy from Dev-Sequencer #jira UE-35342 Change 3163230 on 2016/10/14 by Richard.TalbotWatkin Duplicated from //UE4/Release-4.13, CL 3111897 When doing a full geometry rebuild, force the level model's poly linkage to be reinitialized, so that coplanar surfaces can be correctly linked. This fixes a regression following the separation of FPoly::iLink and FPoly::iLinkSurface. #jira UE-35482 - Selecting a brush surface that is flush with other brush surfaces selects all of them after Building Geometry #jira UE-35999 - Additive BSP Selections Acting Grouped after Building Geometry #jira UE-37340 - Selecting Geometry objects selects multiple brushes after Building Change 3163155 on 2016/10/14 by Benn.Gallagher Fixed crash when changing scene settings an hitting undo in Persona with complex cloth active #jira UE-37332 Change 3163146 on 2016/10/14 by Marc.Audy Properly add/remove wind sources when activated/deactivated #jira UE-37289 Change 3163135 on 2016/10/14 by Phillip.Kavan [UE-35259] Fix AddComponent node-instanced Blueprint components finding the wrong archetype (template basis) in some scenarios. Mirrored from CL# 3160052 (//UE4/Dev-Blueprints). Additional changes (for release branch): - Bumped ReleaseObjectVersion to limit fixup code to only BP assets that existed prior to this change. #jira UE-35259 Change 3162999 on 2016/10/14 by Ben.Marsh QFE: Fix writing output files if they don't already exist, and bump version number to 4.14. Change 3162988 on 2016/10/14 by Thomas.Sarkanen Fix socket editing on meshes Feature was inadvertently removed with the Persona refactor. #jira UE-37313 - Create Mesh Socket is missing Change 3162938 on 2016/10/14 by Ben.Zeigler Merging CL 3162934 to //UE4/Release-4.14 #jira UE-37044 Fix crash when loading map that has null actors in the actor list Change 3162900 on 2016/10/14 by Dmitriy.Dyomin Fixed: Android should use single channel texture for ShadowMaps instead of 4 channel #jira UE-37312 Change 3162864 on 2016/10/14 by Yannick.Lange VR Editor: - Fix Landscape Undo/Redo functions step-by-step #jira UE-37050 - Fix Landscape is sculpting twice if both Motioncontrollers are aimed at landscape #jira UE-37272 #jira UE-37050 #jira UE-37272 Change 3162761 on 2016/10/14 by Jack.Porter Fixed landscape Undo crash after using Move-To-Level tool and then selecting a landscape proxy in the sublevel #jira UE-36863 Change 3162724 on 2016/10/14 by Max.Chen Sequencer: Fix time dilation in level sequence player Copy from Dev-Sequencer #jira UE-37277 Change 3162617 on 2016/10/13 by Jeff.Campeau Fix Windows XP compilation issues. - Block Win10 SDK includes - Remove unused Win10 SDK path collecting - Fix extraneous includes - Add 32b atomic option for certain stats #jira UE-36909 Change 3162503 on 2016/10/13 by Max.Preussner MediaPlayerEditor: Fixed Media player selection is ignored if media specifies player overrides (UE-37248) Merged from Dev-Sequencer CL# 3160995 #jira UE-37248 Change 3162470 on 2016/10/13 by Mitchell.Wilson Rebuilt lighting and saved levels in StrategyGame. #jira UE-36913 Change 3162466 on 2016/10/13 by Michael.Trepka By default, do not compile Mac OpenGL and Metal SM4 shaders while cooking #jira UE-37088 Change 3162458 on 2016/10/13 by Keli.Hlodversson When quitting from the SteamVR menu overlay, in addition to shutting down the VR subsystem, also exit the game (and preview when running inside the editor) #jira UE-37292 Game does not exit when exited through SteamVR UI Change 3162421 on 2016/10/13 by Mitchell.Wilson Rebuilt lighting and resaved levels in SunTemple, Zen Garden, and Mobile Starter content. #jira UE-36913 Change 3162420 on 2016/10/13 by Marc.Audy Clear BlueprintCreatedComponents in PostEditUndo since it is non transactional and expected to be empty #jira UE-37071 Change 3162406 on 2016/10/13 by Ben.Marsh Simplygon: Disable compiling Simplygon for installed builds if the required headers aren't there. Fixes creating installed builds for licensees. #jira UE-37269 Change 3162382 on 2016/10/13 by Ben.Marsh UAT: Fix accessing uninitialized UBT variable at startup, causing build warnings. Change 3162314 on 2016/10/13 by Ben.Marsh Add PhysX build job to 4.14 branch. Change 3162311 on 2016/10/13 by Matt.Kuhlenschmidt Ensure FBX scene import data object is not garbage collected during import #jira UE-35606 Change 3162270 on 2016/10/13 by Ben.Marsh UBT/Editor: Improved integration for Visual Studio "15". * Added editor source code accessors for specific Visual Studio versions (2013, 2015, "15"), which call through to the default Visual Studio accessor but allow specifying a more specific setting for which IDE to use. * UBT reads this setting, and will generate project files for the preferred Visual Studio version if set. * Added a BuildConfiguration.xml setting to set which type of project files to generate - under the <ProjectFileGenerator> element, add a <Type> property taking values of Make/CMake/QMake/KDevelop/CodeLite/VisualStudio/VisualStudio2012/VisualStudio2013/VisualStudio2015/VisualStudio2017/XCode. * Added an separate editor setting for the Windows target platform controlling which compiler to use, separately from the IDE. This setting can also be set via <WindowsPlatform> <Compiler> element in BuildConfiguration.xml. * Removed compiler argument from generated project files (this should now persist via INI files or XML config) * Removed compiler argument being appended to UBT when doing hot reload (should pick this up from the build environment instead) * Added support for enums in UBT XML configs * Fixed a few version checks against exact compiler versions - MS plan is give VS '15' updates version numbers 1911, 1912, etc... #jira UE-37176 #jira UE-36872 Change 3162236 on 2016/10/13 by Mike.Beach Fixing a GLEO that could occur after compiling a component Blueprint (preventing you from saving other Blueprints that use that component) - using the authratative class in AddComponent node reconstruction (for the output pin) so that it doesn't end up referencing the REINST class. #jira UE-37224 Change 3162225 on 2016/10/13 by Alex.Delesky #jira UE-36995 - Precise click should now work correctly with buttons that are children of a scroll list. Also addresses #jira UE-37250 and PR #2859 (#git author aarmbruster andrew.armbruster@gmail.com) Change 3162107 on 2016/10/13 by Matt.Kuhlenschmidt Prevent perforce branch stuff from appearing in edtior project badge. This feature was meant for those compiling on perforce builds. #jira UE-37278 Change 3162060 on 2016/10/13 by Matt.Kuhlenschmidt Fix mac build #jira UE-36885 Change 3162025 on 2016/10/13 by Daniel.Wright Compile fix #jira UE-37246 Change 3162009 on 2016/10/13 by Daniel.Wright [Copy] Fixed movable lights getting assigned a shadowmap channel #jira UE-37246 Change 3161963 on 2016/10/13 by Jon.Nabozny Enable PrimaryActorTick.bCanEverTick in necessary Samples. The seperation of GameMode caused different behavior, since GameModeBase has tick disabled by default (which is set in AInfo). #jira UE-36888 Change 3161896 on 2016/10/13 by Matt.Kuhlenschmidt Added guard and more logging for crash when reimporting textures #jira UE-37263 Change 3161865 on 2016/10/13 by mason.seay Making the name more user friendly for test asset #jira UE-29618 Change 3161855 on 2016/10/13 by Matt.Kuhlenschmidt Fixed keybindings not working with editor settings search and regressions where you could not import,export,or reset keybindings to default - Made the keybindings setting a proper developer settings object #jira UE-36885 Change 3161854 on 2016/10/13 by Daniel.Wright [Copy] Fixed level getting added to the dirty list twice when legacy lightmaps are present #jira UE-37204 Change 3161743 on 2016/10/13 by Lauren.Ridge Setting RenderTarget in OculusRiftRender.cpp to fix ensure when entering VR editing mode on Oculus Rift #jira UE-37245 Change 3161694 on 2016/10/13 by Michael.Dupuis #jira UE-37001 Perform manual migration of UICurve to proper config category Change 3161689 on 2016/10/13 by Thomas.Sarkanen Fixed failing detachment automation test The issue was not the attachment itself, but rather the test setup conditions being different to what was expected, give that setting an actor's rotation with a quaternion doesnt always return the same value as the one that is set. #jira UE-37160 - Detachment automation tests failing Change 3161685 on 2016/10/13 by mason.seay Test content for retargeting animation #jira UE-29618 Change 3161423 on 2016/10/13 by Jamie.Dale Split localized package redirection out of FCoreDelegates::PackageNameResolvers They're different enough in behavior that the delegate resolution was breaking the localized package resolution by resolving in too many places and causing the localized package to be loaded with its real localized name as well as the fake non-localized name. #jira UE-37119 Change 3161394 on 2016/10/13 by Mitchell.Wilson Replaced deprecated blueprint node with GrabComponentAtLocation to resolve warnings. #jira UE-37256 Change 3161363 on 2016/10/13 by Jamie.Dale Fixing mangled English translations #jira UE-36128 Change 3161319 on 2016/10/13 by Benn.Gallagher Fixed crash when forcing ref pose during anim blueprint initialization when using sub anim instances #jira UE-37254 Change 3161310 on 2016/10/13 by Martin.Wilson Fix crash retargetting AnimBP with "Allow remapping to existing assets" enabled #jira UE-35149 Change 3161303 on 2016/10/13 by Jurre.deBaare Crash when using merge actor on static meshes that have been affected by simplygon #fix Set whether or not a LOD is eligible for exporting by determining if it contains valid LOD data #jira UE-36880 Change 3161166 on 2016/10/13 by Jack.Porter Prevent Launch On prompting to save a freshly-opened, non-modified map while still prompting the user to save never-saved maps #jira UE-37131 Change 3161161 on 2016/10/13 by Thomas.Sarkanen Fixed override materials hanging around when setting skeletal meshes #jira UE-37102 - On switching an anim blueprints preview mesh the skeletal mesh is not switched but the materials are Change 3161160 on 2016/10/13 by Thomas.Sarkanen Fix crash changing preview skeletal mesh with bone selected Make sure to keep BonesOfInterest and the preview scene selected bone in sync. Also make sure to only use one so we wont suffer this again if we inteodiuce any inconsistencies in the future. #jira UE-37081 - If a bone is selected when switching preview skeletons the editor will crash Change 3160882 on 2016/10/12 by Mike.Beach Mirroring CL 3158790 from Dev-BP Fixing an issue with ctrl pin dragging, where marco nodes' connections would disappear - the SGraph drag operation now references pins by handles (so it can account for reconstructed nodes during the operation). #jira UE-37033 Change 3160863 on 2016/10/12 by Lauren.Ridge Changing VR Editor delete function to go through the standard delete pathway so FEdModeMeshPaint has a chance to handle it #jira UE-35685 Change 3160855 on 2016/10/12 by Jeff.Campeau Fix WinXP compile issues caused by WebSocket, SteamVR, and Oculus changes. #jira UE-36909 Change 3160844 on 2016/10/12 by Marcus.Wassmer Duplicate PR #2855: Ansel plugin fixes (Contributed by adamnv) #jira UE-37162 Change 3160749 on 2016/10/12 by Daniel.Wright [Copy] Legacy lightmaps are renamed with the world that uses them. Fixes 'graph linked to external object' when renaming a map in the content browser. #jira UE-37231 Change 3160748 on 2016/10/12 by Daniel.Wright [Copy] Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser #jira UE-37231 Change 3160747 on 2016/10/12 by Daniel.Wright [Copy] Legacy MapBuildDataRegistry objects are no longer public so they don't get shown in the content browser, prevents users trying to move them. #jira UE-37231 Change 3160727 on 2016/10/12 by Mitchell.Wilson Updating minimum iOS version to iOS 8 for all samples and templates #jira UE-37022 Change 3160655 on 2016/10/12 by Chad.Taylor Merging VR loading screen fixes from Dev-VR #jira UE-36741 Change 3160643 on 2016/10/12 by Keli.Hlodversson Ensure that the DebugConsoleObject's width is reset to the width of the left eye view before rendering the console when doing stereoscopic rendering. #jira UE-36440 Change 3160641 on 2016/10/12 by Mike.Beach Fixing up Fortnite CIS warnings that we're exposed by a recent change from Dev-BP - replacing deprecated ClearTimerByHandle calls with ClearAndInvalidateTimerByHandle. #jira UE-37055 Change 3160572 on 2016/10/12 by Matt.Kuhlenschmidt Missed change from CL 3159889 #jira UE-35503 Change 3160518 on 2016/10/12 by Ryan.Gerleve Fix assert when adding a new sublevel. #jira UE-37148 Change 3160439 on 2016/10/12 by Ben.Marsh Fix support for Visual Studio "15" preview 5. #jira UE-37227 Change 3160363 on 2016/10/12 by Daniel.Lamb Fix for skip editor content flag being passed throught o UAT. #jira UE-37223 Change 3160277 on 2016/10/12 by Mieszko.Zielinski Manually recreated CL#3159909 #UE4 Original comment: --- Added sanity-checkes to access to UNavigationSystem::NavDataSet elements #UE4 Lack of those test has been reported licencees as source of some crashes #jira UE-37209 Change 3160120 on 2016/10/12 by Chris.Babcock Fix x86 and x86_64 libpng libraries for Android #jira UE-37192 #ue4 #android Change 3160080 on 2016/10/12 by Matthew.Griffin PR #2840: UE-36945: Set exe icon properly in packaged Windows games (Contributed by projectgheist) #jira UE-36945 Change 3160063 on 2016/10/12 by Gareth.Martin Fixed crash trying to edit landscape with r.LightPropagationVolume=1 enabled #jira UE-36933 Change 3160045 on 2016/10/12 by Ryan.Gerleve Fix some issues with manipulating sublevels in the editor. #jira UE-36901, UE-36932 Change 3160044 on 2016/10/12 by Gareth.Martin Fix condition on BuildTree in UHierarchicalInstancedStaticMeshComponent::Serialize - This should fix the crash that caused it to be commented out #jira UE-37152 Change 3160032 on 2016/10/12 by Matt.Kuhlenschmidt Fixed arrays inside structs, inside arrays not refreshing when an element is added or removed refresh #jira UE-36985 Change 3159965 on 2016/10/12 by Ben.Zeigler #jira UE-37170 Fix crash when spawning PlayerController with a null CheatClass, this now just skips spawning the cheat manager Change 3159957 on 2016/10/12 by Robert.Manuszewski Making FindShaderResourceById and FindShaderById return a raw pointer instead of TRefCountPtr (basically undoing CL #2538774) to prevent creating temporary TRefCountPtrs. It's no longer necessary to use TRefCountPtrs as shader serialization has changed (CL #2989898) and shaders are no longer registered on the async loading thread. #jira UE-35570, UE-35511, UE-35570, UE-35924 Change 3159921 on 2016/10/12 by Matthew.Griffin Duplicating CL#3153485 from Dev-Build Removed GUBP from Automation Tool Mono solution Change 3159919 on 2016/10/12 by Matthew.Griffin Duplicating CL#3150017 from Dev-Build Fixes for PS4 deployment suggested in UDN post: https://udn.unrealengine.com/questions/314055/issues-with-ps4platformautomationcs.html Change 3159904 on 2016/10/12 by Matt.Kuhlenschmidt Fix regression where toggling Play/Pause in PIE would not give the mouse back to the game #jira UE-37112 Change 3159903 on 2016/10/12 by Ben.Zeigler #jira UE-37163 Activate auto activate components immediately when registering in an editor world, the initialize call will never actually happen Change 3159890 on 2016/10/12 by Matt.Kuhlenschmidt Prevent crashes when a keybinding to start and stop PIE is toggled repeatedly. #jira UE-36814 Change 3159889 on 2016/10/12 by Matt.Kuhlenschmidt Fixed part of the details panel UI showing up when there is nothing in the details panel. This was causing crashes when clicking on those parts of the UI #jira UE-35503 Change 3159888 on 2016/10/12 by Ben.Zeigler #jira UE-36849 DataTable::LoadStructData allocating wrong size Fix cases that were using the PropertiesSize to malloc a UStruct to instead use GetStructureSize(). There is a difference because of alignment, so on some platforms it was corrupting memory Change 3159887 on 2016/10/12 by Matt.Kuhlenschmidt Guard against crash in Fcanvas drawing #jira UE-36496 Change 3159886 on 2016/10/12 by Ben.Zeigler #jira UE-36884 Stop savepackage from making dependencies on PendingKill objects, because those will not actually be saved #jira UE-36876 Fix it so savepackage doesn't try to strip ClientOnly objects when cooking for a client+server config, we only want to strip if both flags are set. Re-enable warning I disabled Fix crashes when running EDL cooked builds. This is not a new bug, but fortnite content changes exposed it Fix it so pending kill component templates do not end up in import table, they will fail to import Fix it so when marking an inheritable component template as unnecessary it also marks it pending kill. This fixes it so if GetArchetype will not return an orphaned, non-saving component as the archetype for a grandchild blueprint Change 3159885 on 2016/10/12 by Matthew.Griffin Duplicating CL#3149950 from Dev-Build to include .tps files in the installed build Including source for additional programs to Installed Build #jira UE-36668 #jira UE-37072 Change 3159853 on 2016/10/12 by Matthew.Griffin Duplicating CL#3148611 from Dev-Build Added list of Dependant modules to EULA check #jira UE-29432 Change 3159385 on 2016/10/11 by Nick.Shin make emscripten for physx use gMask like windows and xbox does emsdk doesn't like: union { U32 u; F32 f; } bla; it seems, floats are 64 bits on browsers... stream: release-4.14 #jira UE-36916 //UE4/Main: Step 'Compile UE4Game HTML5' - 50 Warnings Change 3159384 on 2016/10/11 by Nick.Shin manually submitting HTML5 PhysX libs recompiled to fix the NaN warnings stream: Release-4.14 #jira UE-36916 //UE4/Main: Step 'Compile UE4Game HTML5' - 50 Warnings Change 3159210 on 2016/10/11 by Ben.Marsh Set the default for the BRANCH_NAME macro to the escaped 4.14 branch. [CL 3175266 by Matthew Griffin in Main branch]
2016-10-26 14:33:35 -04:00
// Remapped assets needs the duplicated ones added
RemappedAnimAssets.Append(DuplicatedAnimAssets);
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
DuplicatedAnimAssets.GenerateValueArray(AnimationAssetsToRetarget);
DuplicatedBlueprints.GenerateValueArray(AnimBlueprintsToRetarget);
}
}
void FAnimationRetargetContext::RetargetAnimations(USkeleton* OldSkeleton, USkeleton* NewSkeleton)
{
check (!bConvertAnimationDataInComponentSpaces || OldSkeleton);
check (NewSkeleton);
if (bConvertAnimationDataInComponentSpaces)
{
// we need to update reference pose before retargeting.
// this is to ensure the skeleton has the latest pose you're looking at.
USkeletalMesh * PreviewMesh = NULL;
if (OldSkeleton != NULL)
{
PreviewMesh = OldSkeleton->GetPreviewMesh(true);
if (PreviewMesh)
{
OldSkeleton->UpdateReferencePoseFromMesh(PreviewMesh);
}
}
PreviewMesh = NewSkeleton->GetPreviewMesh(true);
if (PreviewMesh)
{
NewSkeleton->UpdateReferencePoseFromMesh(PreviewMesh);
}
}
// anim sequences will be retargeted first becauseReplaceSkeleton forces it to change skeleton
// @todo: please note that I think we can merge two loops
//(without separating two loops - one for AnimSequence and one for everybody else)
// but if you have animation asssets that does replace skeleton, it will try fix up internal asset also
// so I think you might be doing twice - look at AnimationAsset:ReplaceSkeleton
// for safety, I'm doing Sequence first and then everything else
// however this can be re-investigated and fixed better in the future
for(auto Iter = AnimationAssetsToRetarget.CreateIterator(); Iter; ++Iter)
{
UAnimSequence* AnimSequenceToRetarget = Cast<UAnimSequence>(*Iter);
if (AnimSequenceToRetarget)
{
// Copy curve data from source asset, preserving data in the target if present.
if (OldSkeleton)
{
UAnimationBlueprintLibrary::CopyAnimationCurveNamesToSkeleton(OldSkeleton, NewSkeleton, AnimSequenceToRetarget, ERawCurveTrackTypes::RCT_Float);
// clear transform curves since those curves won't work in new skeleton
// since we're deleting curves, mark this rebake flag off
IAnimationDataController& Controller = AnimSequenceToRetarget->GetController();
Controller.RemoveAllCurvesOfType(ERawCurveTrackTypes::RCT_Transform);
// I can't copy transform curves yet because transform curves need retargeting.
//EditorAnimUtils::CopyAnimCurves(OldSkeleton, NewSkeleton, AssetToRetarget, USkeleton::AnimTrackCurveMappingName, FRawCurveTracks::TransformType);
}
}
UAnimationAsset* AssetToRetarget = (*Iter);
if (HasDuplicates())
{
AssetToRetarget->ReplaceReferredAnimations(RemappedAnimAssets);
}
AssetToRetarget->ReplaceSkeleton(NewSkeleton, bConvertAnimationDataInComponentSpaces);
AssetToRetarget->MarkPackageDirty();
}
// convert all Animation Blueprints and compile
for ( auto AnimBPIter = AnimBlueprintsToRetarget.CreateIterator(); AnimBPIter; ++AnimBPIter )
{
UAnimBlueprint * AnimBlueprint = (*AnimBPIter);
AnimBlueprint->TargetSkeleton = NewSkeleton;
// We can directly retarget templates (although not transitively via parents) so we need to make sure we clear the flag here
AnimBlueprint->bIsTemplate = false;
if (HasDuplicates())
{
// if they have parent blueprint, make sure to re-link to the new one also
UAnimBlueprint* CurrentParentBP = Cast<UAnimBlueprint>(AnimBlueprint->ParentClass->ClassGeneratedBy);
if (CurrentParentBP)
{
UAnimBlueprint* const * ParentBP = DuplicatedBlueprints.Find(CurrentParentBP);
if (ParentBP)
{
AnimBlueprint->ParentClass = (*ParentBP)->GeneratedClass;
}
}
}
if(RemappedAnimAssets.Num() > 0)
{
ReplaceReferredAnimationsInBlueprint(AnimBlueprint, RemappedAnimAssets);
}
FBlueprintEditorUtils::RefreshAllNodes(AnimBlueprint);
FKismetEditorUtilities::CompileBlueprint(AnimBlueprint, EBlueprintCompileOptions::SkipGarbageCollection);
AnimBlueprint->PostEditChange();
AnimBlueprint->MarkPackageDirty();
}
}
void FAnimationRetargetContext::AddRemappedAsset(UAnimationAsset* OriginalAsset, UAnimationAsset* NewAsset)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
RemappedAnimAssets.Add(OriginalAsset, NewAsset);
}
void OpenAssetFromNotify(UObject* AssetToOpen)
{
GEditor->GetEditorSubsystem<UAssetEditorSubsystem>()->OpenEditorForAsset(AssetToOpen);
}
//////////////////////////////////////////////////////////////////
UObject* RetargetAnimations(USkeleton* OldSkeleton, USkeleton* NewSkeleton, TArray<TWeakObjectPtr<UObject>> AssetsToRetarget, bool bRetargetReferredAssets, const FNameDuplicationRule* NameRule, bool bConvertSpace)
{
FAnimationRetargetContext RetargetContext(AssetsToRetarget, bRetargetReferredAssets, bConvertSpace);
return RetargetAnimations(OldSkeleton, NewSkeleton, RetargetContext, bRetargetReferredAssets, NameRule);
}
UObject* RetargetAnimations(USkeleton* OldSkeleton, USkeleton* NewSkeleton, const TArray<FAssetData>& AssetsToRetarget, bool bRetargetReferredAssets, const FNameDuplicationRule* NameRule, bool bConvertSpace)
{
FAnimationRetargetContext RetargetContext(AssetsToRetarget, bRetargetReferredAssets, bConvertSpace);
return RetargetAnimations(OldSkeleton, NewSkeleton, RetargetContext, bRetargetReferredAssets, NameRule);
}
UObject* RetargetAnimations(USkeleton* OldSkeleton, USkeleton* NewSkeleton, FAnimationRetargetContext& RetargetContext, bool bRetargetReferredAssets, const FNameDuplicationRule* NameRule)
{
check(NewSkeleton);
UObject* OriginalObject = RetargetContext.GetSingleTargetObject();
UPackage* DuplicationDestPackage = NewSkeleton->GetOutermost();
if( RetargetContext.HasAssetsToRetarget() )
{
if(NameRule)
{
RetargetContext.DuplicateAssetsToRetarget(DuplicationDestPackage, NameRule);
}
RetargetContext.RetargetAnimations(OldSkeleton, NewSkeleton);
}
FNotificationInfo Notification(FText::GetEmpty());
Notification.ExpireDuration = 5.f;
UObject* NotifyLinkObject = OriginalObject;
if(OriginalObject && NameRule)
{
NotifyLinkObject = RetargetContext.GetDuplicate(OriginalObject);
}
if(!NameRule)
{
if(OriginalObject)
{
Notification.Text = FText::Format(LOCTEXT("SingleNonDuplicatedAsset", "'{0}' retargeted to new skeleton '{1}'"), FText::FromString(OriginalObject->GetName()), FText::FromString(NewSkeleton->GetName()));
}
else
{
Notification.Text = FText::Format(LOCTEXT("MultiNonDuplicatedAsset", "Assets retargeted to new skeleton '{0}'"), FText::FromString(NewSkeleton->GetName()));
}
}
else
{
if(OriginalObject)
{
Notification.Text = FText::Format(LOCTEXT("SingleDuplicatedAsset", "'{0}' duplicated to '{1}' and retargeted"), FText::FromString(OriginalObject->GetName()), FText::FromString(DuplicationDestPackage->GetName()));
}
else
{
Notification.Text = FText::Format(LOCTEXT("MultiDuplicatedAsset", "Assets duplicated to '{0}' and retargeted"), FText::FromString(DuplicationDestPackage->GetName()));
}
}
if(NotifyLinkObject)
{
Notification.Hyperlink = FSimpleDelegate::CreateStatic(&OpenAssetFromNotify, NotifyLinkObject);
Notification.HyperlinkText = LOCTEXT("OpenAssetLink", "Open");
}
FSlateNotificationManager::Get().AddNotification(Notification);
// sync newly created objects on CB
if (NotifyLinkObject)
{
TArray<UObject*> NewObjects = RetargetContext.GetAllDuplicates();
TArray<FAssetData> CurrentSelection;
for(auto& NewObject : NewObjects)
{
CurrentSelection.Add(FAssetData(NewObject));
}
FContentBrowserModule& ContentBrowserModule = FModuleManager::Get().LoadModuleChecked<FContentBrowserModule>("ContentBrowser");
ContentBrowserModule.Get().SyncBrowserToAssets(CurrentSelection);
}
if(OriginalObject && NameRule)
{
return RetargetContext.GetDuplicate(OriginalObject);
}
return NULL;
}
FString CreateDesiredName(UObject* Asset, const FNameDuplicationRule* NameRule)
{
check(Asset);
FString NewName = Asset->GetName();
if(NameRule)
{
NewName = NameRule->Rename(Asset);
}
return NewName;
}
TMap<UObject*, UObject*> DuplicateAssetsInternal(const TArray<UObject*>& AssetsToDuplicate, UPackage* DestinationPackage, const FNameDuplicationRule* NameRule)
{
FAssetToolsModule& AssetToolsModule = FModuleManager::LoadModuleChecked<FAssetToolsModule>("AssetTools");
TMap<UObject*, UObject*> DuplicateMap;
for(auto Iter = AssetsToDuplicate.CreateConstIterator(); Iter; ++Iter)
{
UObject* Asset = (*Iter);
if(!DuplicateMap.Contains(Asset))
{
FString PathName = (NameRule)? NameRule->FolderPath : FPackageName::GetLongPackagePath(DestinationPackage->GetName());
FString ObjectName;
FString NewPackageName;
AssetToolsModule.Get().CreateUniqueAssetName(PathName+"/"+ CreateDesiredName(Asset, NameRule), TEXT(""), NewPackageName, ObjectName);
// create one on skeleton folder
UObject* NewAsset = AssetToolsModule.Get().DuplicateAsset(ObjectName, PathName, Asset);
if ( NewAsset )
{
DuplicateMap.Add(Asset, NewAsset);
}
}
}
return DuplicateMap;
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
void GetAllAnimationSequencesReferredInBlueprint(UAnimBlueprint* AnimBlueprint, TArray<UAnimationAsset*>& AnimationAssets)
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
UObject* DefaultObject = AnimBlueprint->GetAnimBlueprintGeneratedClass()->GetDefaultObject();
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
FFindAnimAssetRefs AnimRefFinderObject(DefaultObject, AnimationAssets);
// For assets referenced in the event graph (either pin default values or variable-get nodes)
// we need to serialize the nodes in that graph
for(UEdGraph* GraphPage : AnimBlueprint->UbergraphPages)
{
for(UEdGraphNode* Node : GraphPage->Nodes)
{
FFindAnimAssetRefs AnimRefFinderBlueprint(Node, AnimationAssets);
}
}
// Gather references in functions
for(UEdGraph* GraphPage : AnimBlueprint->FunctionGraphs)
{
for(UEdGraphNode* Node : GraphPage->Nodes)
{
FFindAnimAssetRefs AnimRefFinderBlueprint(Node, AnimationAssets);
}
}
// removes blendspaces that are embedded in the graph so that we don't duplicate them to make new assets
AnimationAssets.RemoveAll([](UAnimationAsset*& AnimationAsset)
{
const bool bIsBlendspace = IsValid(Cast<UBlendSpace>(AnimationAsset));
const bool bIsEmbedded = !AnimationAsset->GetSkeleton();
return bIsBlendspace && bIsEmbedded;
});
}
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2944217 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2899855 on 2016/03/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 2899785 Change 2926689 on 2016/03/29 by Jeff.Farris AAIController::SetFocus() will now implicitly clear any location focus at the same priority. UE-27975 #rb john.abercrombie Change 2926690 on 2016/03/29 by Jeff.Farris Using wildcard operator with the "KismetEvent" or "ke" console commands will now only trigger the event on objects in the world in which it was triggered. Prevents badness with running events on things like CDOs and editor actors. (UE-23106) Change 2926691 on 2016/03/29 by mason.seay Content for testing collision on scaled components Change 2926692 on 2016/03/29 by Jeff.Farris - FixupDeltaSeconds now considers time dilation when clamping. - Acceptable range for time dilation values is now a config parameter on WorldSettings - Acceptable range for undilated frame times is now a config parameter on WorldSettings (UE-27815) #rb marc.audy Change 2926711 on 2016/03/29 by Ori.Cohen Fix constraint rendering when scaling a cosntraint actor #JIRA UE-28691, UE-28700 #rb Lina.Halper Change 2926745 on 2016/03/29 by Lukasz.Furman navigation filters can now be instantiated per querier - usually AI agent required for FORT-21372 Change 2926789 on 2016/03/29 by Ori.Cohen Downgrade check to ensure for 2d physics during a hard shutdown #rb Michael.Noland Change 2926859 on 2016/03/29 by Ori.Cohen Fix red herring warnings of not locking physx scenes during hard shutdown. #JIRA UE-28747 #rb Michael.Noland Change 2927444 on 2016/03/30 by Thomas.Sarkanen Fixed Blueprint compiler errors when resetting timer handles Added basic support for 64-bit int/uint terms to Blueprint. This allows the use of opaque 64-bit integer types inside of BlueprintType structs, it in no way means that 64-bit ints are fully supported in Blueprint. Corrected a left-over formatting oversight when converting a FTimerHandle to a string. Added new by-ref "Clear and Invalidate Timer by Handle" function to Blueprint system library & deprecated old version. #rb Maciej.Mroz (and a few others!) #jira UE-28833 - Unresolved compiler error for B_Pickups blueprint in Fortnite Change 2927520 on 2016/03/30 by Jurre.deBaare Should not allow skeletal mesh components mobility to be set to static, but detach instead #fix Added CanHaveStaticMobility to SceneComponent class, and check this when trying to propogate Static mobility to parent component #jira UE-26364 Change 2927533 on 2016/03/30 by Jurre.deBaare Static Mesh Merge tool: when merging from multiple blueprints, fails to combine same materials #fix Material index remapping was part of if-clause where it shouldn't be #jira UE-23827 Static Mesh Merge tool, failed to combine physics data if using complex #fix Required copying the SectionInfoMap from source static meshes HLOD/MergeActor - Vertex Colours are not correctly propagated to negatively scaled meshes #fix had to re-order function calls #jira UE-28316 #rb James.Golding Change 2927535 on 2016/03/30 by Ori.Cohen Make sub-stepping run on game thread #JIRA UE-24011 #rb Gil.Gribb Change 2927537 on 2016/03/30 by Jurre.deBaare Warning message when HLOD mesh > 65536 vertices #jira UE-22365 #fix added messages when building proxy mesh Change 2927691 on 2016/03/30 by Jeff.Farris Fixed potential PlayerState leak (UE-22700) Change 2927692 on 2016/03/30 by Lina.Halper Allow it to select any name they want other than just restrict to what we have. - I think it may not be the best solution but with current widget built, you can't even clear name, which is problem. - Other solution is to add "Clear" as a name, and when that gets entered, we just clear it, but then the X button is odd and no purpose being there. - I think we should just allow them to choose if they don't like it but with suggestions. #rb: Ori.Cohen #jira UE-27786 #code review: Benn.Gallagher Change 2927853 on 2016/03/30 by Lina.Halper [CL 2944273 by Marc Audy in Main branch]
2016-04-14 16:25:11 -04:00
void ReplaceReferredAnimationsInBlueprint(UAnimBlueprint* AnimBlueprint, const TMap<UAnimationAsset*, UAnimationAsset*>& AnimAssetReplacementMap)
{
Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) @ 2855699 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2839897 on 2016/01/22 by Ori.Cohen Allow static mesh editor to specify a default collision profile. #rb Lina.Halper #UE-2836 Change 2840489 on 2016/01/22 by Ori.Cohen Fix collision customization so that it respects const editing property #rb Marc.Audy Change 2840528 on 2016/01/22 by Ori.Cohen Fix compile error and actually get value from attribute Change 2840672 on 2016/01/22 by Zak.Middleton #ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize(). #rb Michael.Noland Change 2841314 on 2016/01/24 by Marc.Audy Fix depressingly frequent misspellings of 'suppress' Change 2841323 on 2016/01/24 by Marc.Audy Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration Ensure that TSet Intersect considers the least number of elements possible Early out from TSet Contains if Other is larger than this Clarify comment on TSet Difference #rb Steve.Robb Change 2841380 on 2016/01/24 by Aaron.McLeran UE-25586 Audio assets not correctly reporting resource memory usage Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now. Change 2841385 on 2016/01/24 by Aaron.McLeran UE-21210 Adding subtitle priority to USoundWave Change 2841386 on 2016/01/24 by Marc.Audy Return null for GameNetDriver if World is null instead of crashing Change 2841409 on 2016/01/24 by Aaron.McLeran UE-25514 Removing load for default objects for every sound wave Change 2841858 on 2016/01/25 by Ori.Cohen Make sure that PIE face index results are consistent with runtime #rb Benn.Gallagher Change 2841977 on 2016/01/25 by Ori.Cohen Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change) Change 2841982 on 2016/01/25 by Marc.Audy Minor optimization by avoiding recreating FNames repeatedly in constructor Change 2842169 on 2016/01/25 by Benn.Gallagher Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue. #rb Lina.Halper Change 2842390 on 2016/01/25 by Ori.Cohen Fix in world editing of BodyInstance not working. No longer serializing Scale3D as this is allways initialized in InitBody. No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does. #JIRA UE-25518 #rb Lina.Halper Change 2843579 on 2016/01/26 by Marc.Audy Only update replication when it actually changes Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message Fix spelling in comment #rb Ori.Cohen Change 2843627 on 2016/01/26 by Marc.Audy Add \\ as a default console key for Italian keyboard layouts #jira UE-25198 #rb James.Golding Change 2843628 on 2016/01/26 by Marc.Audy Don't reconstruct FName on each call to GetHitResultAtScreenPosition #rb James.Golding Change 2843671 on 2016/01/26 by Martin.Wilson Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor #rb Thomas.Sarkanen Change 2843768 on 2016/01/26 by Marc.Audy Inline Get Component functions in TriggerBase Change 2844003 on 2016/01/26 by Zak.Middleton #ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input). #codereview Laurent.Delayen Change 2844005 on 2016/01/26 by Zak.Middleton #ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead. Also see CL 2844003 [CL 2855709 by Marc Audy in Main branch]
2016-02-04 10:55:30 -05:00
UObject* DefaultObject = AnimBlueprint->GetAnimBlueprintGeneratedClass()->GetDefaultObject();
FArchiveReplaceObjectRef<UAnimationAsset> ReplaceAr(DefaultObject, AnimAssetReplacementMap);
FArchiveReplaceObjectRef<UAnimationAsset> ReplaceAr2(AnimBlueprint, AnimAssetReplacementMap);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
// Replace event graph references
for(UEdGraph* GraphPage : AnimBlueprint->UbergraphPages)
{
for(UEdGraphNode* Node : GraphPage->Nodes)
{
FArchiveReplaceObjectRef<UAnimationAsset> ReplaceGraphAr(Node, AnimAssetReplacementMap);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
}
}
// Replace references in functions
for(UEdGraph* GraphPage : AnimBlueprint->FunctionGraphs)
{
for(UEdGraphNode* Node : GraphPage->Nodes)
{
FArchiveReplaceObjectRef<UAnimationAsset> ReplaceGraphAr(Node, AnimAssetReplacementMap);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
}
}
}
Animation data MVC refactor #jira UE-104234 #rb Thomas.Sarkanen, Martin.Wilson, Alexis.Matte, Michael.Zyracki + Introduced UAnimDataModel, this currently represents the source data for bone and curve animation. It contains: + Bone animation tracks (FBoneAnimationTrack) + Key data (coarse) + Name + Bone tree index + Curve data (FAnimationCurveData) + Float Curves + Transform Curves + Play length + Sampling rate + Used for deriving the expected number of keys/frames when combined with the PlayLength + Transient data for supporting backwards compatibility APIs + (Dynamic) delegate which broadcasts the mutation Notifies + Introduced UAnimDataController, this has sole authority over mutating data contained by UAnimDataModel + API functionality allows to transform the contained data in all ways currently expected in the engine. + Any mutation will add an undo/redo-able FChange object into the transaction buffer + FChangeTransactor helper object allows for keeping track of (compounded) FChange's and inserting them into GUndo + Broadcasts change notifies alongside a payload object containing details about the change + Interested systems/objects can register to these changes through UAnimDataModel::OnModelModified event + Almost all functionality is exposed to both Blueprint and Python scripting + Allows for opening 'Brackets', these define the beginning and end of a chain of mutations. Allowing anything registered to OnModelModified to halt responding to the notifies until the (top-level) bracket is closed + Undo/redo actions + Each mutation to the UAnimDataModel is covered by a 'Action' which is based of FChange and is used to insert a undo/redo-able operation into the transactions buffer + Introduced EAnimDataModelNotifType and per-notify payload types. These are used to update views, and any model derived data + Introduced FAnimationCurveIdentifier, exposed to scripting, this is used for referencing a curve by name and type when passed to the controller + Allows for targetting a specific RichCurve as part of a TransformCurve + Introduced FAnimationDataNotifyCollectorused for keeping track of which notifies of type EAnimDataModelNotifType are broadcasted between top-level EAnimDataModelNotifType::BracketOpened and EAnimDataModelNotifType::BracketClosed notifies + Added CanTransact to UEngine, returns whether or not a transaction can be made + Added UAnimCompositeBase::SetCompositeLength, used for runtime changing of play length value + Animation Sequence helpers, containing 'helper' functionality for both AnimSequence and AnimDataModel * Animation Sequence Base + virtual PopulateModel, called during upgrade path for converting existing (legacy) data to the new UAnimDataModel data + virtual OnModelModified, registered to the Model's OnModified event to handle any Notifies and payloads + Added UAnimDataModel sub-object (editor only) + Added UAnimDataController instance (transient and editor only) + FAnimationDataNotifyCollector to keep track of model bracketed notifies * Deprecated * SetSequenceLength() * RefreshCurveData() * MarkRawDataAsModified() * RegisterOnAnimCurvesChanged() * UnregisterOnAnimCurvesChanged() * UnregisterOnAnimTrackCurvesChanged() * RegisterOnAnimTrackCurvesChanged() * Public access to RawCurveData * Animation Sequence + Implements PopulateModel/OnModelModified for AnimationSequence related data + Added TargetFrameRate, currently locked to the initial sampling rate, but allows for resampling the UAnimDataModel data according to the set rate + Added NumberOfSampledKeys (editor only), populated by resampling process + Added NumberOfSampledFrames (editor only), populated by resampling process + Added ResampledAnimationTrackData (editor only and transient), populated by resampling process + Added bBlockCompressionRequests (editor only), used for blocking compression during automation tests * Deprecated * SetNumberOfSampledKeys() * MarkRawDataAsModified() * GetRawAnimationData() * GetAnimationTrackNames() * AddNewRawTrack() * GetRawTrackToSkeletonMapTable() * GetRawAnimationTrack() * GetRawAnimationTrack() * UpdateFrameRate() * ExtractBoneTransform() * CompressRawAnimData() * GetSkeletonIndexFromRawDataTrackIndex() * RecycleAnimSequence() * CleanAnimSequenceForImport() * CopyNotifies() * PostProcessSequence() * AddLoopingInterpolation() * RemoveAllTracks() * DoesContainTransformCurves() * InsertFramesToRawAnimData() * CropRawAnimData() * RemoveTrack() * InsertTrack() * ResizeSequence() * Non-editor access to GetUncompressedRawSize() * Non-editor access to GetApproxRawSize() * Public access to UpdateCompressedCurveName() * NumberOfKeys * SamplingFrameRate * TrackToSkeletonMapTable * RawAnimationData * AnimationTrackNames * Animation Streamable * Model from source Sequence is duplicated rather than copying animation data * Deprecated ERawCurveTrackTypes::RCT_Vector (marked as hidden) + Added automated test for + All script exposed controller functionality + Undo/redo actions * Updated existing AnimSequence tests with deprecation and new expected data + Base data for compression is now populated from the 'resampled' version stored on the AnimSequence + Data cleanup and validation is now performed during compression + Track sanitization is now performed during compression (normalizing Quats and clamping near-zero values to zero) + Key reduction + Invalid track (missing bone from skeleton) removal + Curve name validation against skeleton * Replaced RawCurves with Float curves * Updated DDC key - Removed all Guid generation related functionality (now part of the model) * AnimSequenceBase model registers to AnimModel's notify event, used for refreshing the tracks * Replaces the in-place calling of RefreshTracks() * All curve tracks now hold a const CurveType* rather than a CurveType*/& for introspection of its data + Any mutations now go through the controller API + Uses AnimationCurveIdentifier to set Transform's per-channel tracks * RichCurveEditorModelNamed conformed to model/controller + Any modifications are applied to an temporary CurveType which always contains a copy of the const-ptr after any previous mutation + Registers to the outer AnimModel's notify event, used for updating the cached curve data + Registers to CurveModifiedDelegate, used for copying the temp curve data to the model using SetCurveKeys * Not-ideal but point that I got to for V1 * Would be replaced with either refactoring FRichCurve to be MVC like, or by calling UAnimDataController functionality from an implementation of FRichCurveEditorModel * Mark FChange overrides as final for swap/command change permutations * Changed FCompoundChange GetDescription to return concatenation of all sub-changes * Added GetDescription to FTransaction which returns the ToString() value of any contained FChange entries. * Entries in SUndoHistory tab now have a ToolTip showing the GetDescription() value + FChangeTransactor helper object allows for keeping track of (compounded) FChange's and inserting them into GUndo * Deprecation handling, conforming code to new APIs and exposing structure/objects/properties to scripting * Conforming AnimSequence importing from FBX to Model/Controller changes [CL 15106211 by Jurre deBaare in ue5-main branch]
2021-01-15 06:41:11 -04:00
void CopyAnimCurves(USkeleton* OldSkeleton, USkeleton* NewSkeleton, UAnimSequenceBase* SequenceBase, const FName ContainerName, ERawCurveTrackTypes CurveType)
{
// In some circumstances the asset may have already been updated during the retarget process (eg. retargeting of child assets for blendspaces, etc)
if (NewSkeleton != SequenceBase->GetSkeleton())
{
UAnimationBlueprintLibrary::CopyAnimationCurveNamesToSkeleton(OldSkeleton, NewSkeleton, SequenceBase, CurveType);
}
}
FString FNameDuplicationRule::Rename(const UObject* Asset) const
{
check(Asset);
FString NewName = Asset->GetName();
NewName = NewName.Replace(*ReplaceFrom, *ReplaceTo);
return FString::Printf(TEXT("%s%s%s"), *Prefix, *NewName, *Suffix);
}
}
#undef LOCTEXT_NAMESPACE