Files

91 lines
3.0 KiB
C++
Raw Permalink Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ConstraintComponentVisualizer.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 "Chaos/ChaosEngineInterface.h"
#include "Components/ActorComponent.h"
#include "Engine/EngineTypes.h"
#include "HAL/PlatformCrt.h"
#include "Math/Box.h"
#include "Math/Color.h"
#include "Math/Quat.h"
#include "Math/Rotator.h"
#include "Math/Transform.h"
#include "Math/Vector.h"
#include "PhysicsEngine/ConstraintInstance.h"
#include "PhysicsEngine/PhysicsConstraintComponent.h"
#include "SceneManagement.h"
#include "Templates/Casts.h"
static const FColor JointFrame1Color(255,0,0);
static const FColor JointFrame2Color(0,0,255);
void FConstraintComponentVisualizer::DrawVisualization( const UActorComponent* Component, const FSceneView* View, FPrimitiveDrawInterface* PDI )
{
const UPhysicsConstraintComponent* ConstraintComp = Cast<const UPhysicsConstraintComponent>(Component);
if(ConstraintComp != NULL)
{
const FConstraintInstance& Instance = ConstraintComp->ConstraintInstance;
FTransform Con1Frame, Con2Frame;
// If constraint is created, use the calculated frame
if(Instance.IsValidConstraintInstance())
{
FTransform BodyTransform1 = ConstraintComp->GetBodyTransform(EConstraintFrame::Frame1);
FTransform BodyTransform2 = ConstraintComp->GetBodyTransform(EConstraintFrame::Frame2);
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
BodyTransform1.RemoveScaling();
BodyTransform2.RemoveScaling();
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
Con1Frame = Instance.GetRefFrame(EConstraintFrame::Frame1);
Con2Frame = Instance.GetRefFrame(EConstraintFrame::Frame2);
const float LastKnownScale = Instance.GetLastKnownScale();
if(ConstraintComp->GetPhysicsObject(EConstraintFrame::Frame1))
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
{
Con1Frame.ScaleTranslation(LastKnownScale);
}
Con2Frame.SetScale3D(Con2Frame.GetScale3D() * LastKnownScale);
if (ConstraintComp->GetPhysicsObject(EConstraintFrame::Frame2))
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
{
Con2Frame.ScaleTranslation(LastKnownScale);
}
Con1Frame *= BodyTransform1;
Con2Frame *= BodyTransform2;
}
// Otherwise use the component frame
else
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3431384) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3373195 on 2017/03/30 by Mike.Beach For nativization, changing it so we key off of the target platform-info struct instead of the platform (in preparation for defining the nativized plugin's platform whitelist). Change 3381178 on 2017/04/05 by Dan.Oconnor Make sure we don't inherit the NATIVE func flag when generating skeleton functions, also make sure all bojects outer'd to the skeleton class are marked transient #jira UE-43616 Change 3381532 on 2017/04/05 by Marc.Audy (4.16) Fix various cases where built lighting on child actors could be lost when loading a level #jira UE-43553 Change 3381586 on 2017/04/05 by Mike.Beach Now generating TArrayCaster conversions for nativized UClass arrays that need it (to handle different TSubclassOf arrays). #jira UE-42676, UE-43257 Change 3381682 on 2017/04/05 by mason.seay Some more changes to test map Change 3381844 on 2017/04/05 by Dan.Oconnor Match existing logic for CPF_ReturnParm/CPF_OutParm. Fixes compilation error in BP_TurbineBlades when using compilation manager Change 3382054 on 2017/04/05 by Zak.Middleton #ue4 - Optimize CharacterMovementComponent::GetPredictionData_Client_Character() and GetPredictionData_Server_Character() to remove virtual calls. #jira UE-30998 Change 3382703 on 2017/04/06 by Lukasz.Furman fixed missing links between navmesh polys when there are more than 4 neighbor connections #jira UE-43524 Change 3383357 on 2017/04/06 by Marc.Audy (4.16) Make SetHiddenInGame propagate consistently with SetVisibility #jira UE-43709 Change 3383359 on 2017/04/06 by Dan.Oconnor Fix last errant SKEL reference when cooking Odin Change 3383591 on 2017/04/06 by Mike.Beach Prevent users from setting object variables as 'config' properties (disallowed by UHT). This prevents some errors that could happen later when users nativize the Blueprint. #jira UE-42085 Change 3384762 on 2017/04/07 by Zak.Middleton #ue4 - Fix SpringArmComponent not restoring relative transform when bUsePawnControlRotation is turned off. Fixes the editor interaction ignoring transform of the component in the viewport after bUsePawnControlRotation is toggled on then off, since by then the world transform had been overwritten (from tick in editor) and nothing would drive transform changes from the editable value. Toggling bUsePawnControlRotation off at runtime now restores the rotation to the initial relative rotation, not stomping it with the current pawn rotation, allowing toggling between the editable/desired base rotation and the control rotation. #jira UE-24850 Change 3384948 on 2017/04/07 by Dan.Oconnor Prevent GForceDisableBlueprintCompileOnLoad from causing all sorts of badness when dependencies are loaded as part of a Diff operation. Instead of setting a global flag we flag the package as LOAD_DisableCompileOnLoad Change 3385267 on 2017/04/07 by Michael.Noland Graph Editing: Pushed some node diffing code down from UAIGraphNode into UEdGraphNode so nodes with details panel properties will diff correctly (e.g., various animation nodes and BP switch nodes) #jira UE-21724 Change 3385473 on 2017/04/07 by Phillip.Kavan #jira UE-43067 - Fix broken pin wires after an Expand Node operation, along with some misc. cleanup. Change summary: - Fixed to use correct string for "Expand Node" transaction name. - Modified FBlueprintEditor::OnExpandNodes() to consolidate some redundant code. - Fixed to generate a unique node GUID for cases where the source graph is not removed after expansion. Change 3385583 on 2017/04/07 by Dan.Oconnor Handle CreatePropertyOnScope nullptr return values (happens for structs missing a struct property) #jira UE-43746 Change 3386581 on 2017/04/10 by Michael.Noland Blueprints: Further hardening FBlueprintActionInfo::GetOwnerClass() #jira UE-43824 Change 3386615 on 2017/04/10 by Marc.Audy Instanced properties can now properly be set on a per-instance basis in blueprint added components. #jira UE-42066 Change 3387000 on 2017/04/10 by Marc.Audy Fix includes for CIS Change 3387229 on 2017/04/10 by mason.seay More changes to TM-Gameplay Added Save Game test (with blueprint) Tick Interval test (with blueprint) BP logic cleanup Level organization Change 3388437 on 2017/04/11 by Mike.Beach Adding support for map/set literals in the backend (so you can use set nodes for structs containing sets/maps, without having to connect a RHS input - resets to struct defaults). #jira UE-42617 Change 3388532 on 2017/04/11 by mason.seay Submitting latest changes for crash repro Change 3389026 on 2017/04/11 by Ben.Zeigler Performance and bug fixes for incremetal cooking with asset registry, duplicate of several changes made on //Fortnite/Main Fix it so AssetRegistry.ScanPathsAndFilesSynchronous won't scan subdirectories inside already scanned directories, this cuts down on the number of cache files Fix 2 second stall when shutting down AssetSourceFilenameCache if it had never been previously created Change 3389163 on 2017/04/11 by Ben.Zeigler #jira UE-42922 Fix it so connecting function input node output pins does not clear default value, we only want to clear the value when connecting an input pin. Properly testing this fix depends on UE-43883 Change 3389205 on 2017/04/11 by Marc.Audy Protect against a handful of GEditor usages that can now be hit in standalone Change 3389220 on 2017/04/11 by Marc.Audy Don't borrow ClassWithin to masquerade as ParentClass during compilation and instead just set the super struct immediately Change 3389222 on 2017/04/11 by Michael.Noland Framework: Adding a cvar (t.TickComponentLatentActionsWithTheComponent) to allow users to revert to the old behavior on when component latent actions tick - Non-zero values behave the same way as actors do, ticking pending latent action when the component ticks, instead of later on in the frame (default behavior in 4.16 and beyond) - Prior to 4.16, components behaved as if the value were 0, which meant their latent actions behaved differently to actors This CVar will be removed in a future version, defaulting to on #jira UE-43661 Change 3389276 on 2017/04/11 by Marc.Audy Spelling fix and NULL to nullptr Change 3389303 on 2017/04/11 by Mieszko.Zielinski Made sure AIController::Posses doesn't get called when compiling Pawn BP #UE4 #jira UE-43873 Change 3390215 on 2017/04/12 by mason.seay Removed some tests, will need further review Change 3390638 on 2017/04/12 by Mike.Beach Generalizing the omission of the CoerceProperty (in EmitTerm) - previously we were only omitting properties for our custom array lib. For wildcards, a coerce property should not be used as its type will not match. NOTE: There is a slight behavior change in UEdGraphSchema_K2::ConvertPropertyToPinType(), as it will return 'wildcard' for params marked as 'ArrayTypeDependentParams' (previously would have returned 'int'). #jira UE-42747 Change 3390774 on 2017/04/12 by Ben.Zeigler #jira UE-43911 Fix several issues with saving a runtime asset registry containing redirectors that caused crashes in cook on the fly. Don't resolve redirectors on incoming links because it will make a circular link, and fix an issue where chained redirectors would break the for loop iteration and return a bad dependency Fix it so the asset registry written out at the beginning of CookOnTheFly uses the registry generator, otherwise it will include all of the stripped editor only tags Change 3390778 on 2017/04/12 by Ben.Zeigler Fix UCookOnTheFlyServer::CollectFilesToCook to check for initial unsolicited packages up front. This is required in iterative mode because it may skip cooking all explicit packages and thus miss a new startup loaded package Change 3390782 on 2017/04/12 by Ben.Zeigler Change RunProjectCommand to not imply -nomcp, and allow reading -clientcmdline to override setting the map parameter to 127.0.0.1 by default Fix RunProjectCommand to remove ios-specific checks to not pass weird platform parameters, and instead never pass them Fix PS4Platform to pass along command line when calling build cook run, args needs to be the last parameter so explicitly set -target= Change 3390859 on 2017/04/12 by Mike.Beach T3D class fields now export with the class's fully qualified path name (to avoid abiguity). Since we can have multiple classes with the same name (Blueprints in different folders), we have to use the class's fully qualified object path. #jira UE-28048 Change 3390914 on 2017/04/12 by Lukasz.Furman fixed missing navlink component's transform in exported navigation data #jira UE-43688 Change 3391122 on 2017/04/12 by Ben.Zeigler Add new PreloadPrimaryAssets call to AssetManager that stream the desired assets without modifying the official load/unload state. This is useful if you want to preload things in case the might be used in the future, and it also supports recursion Fix crash calling GetAssetDataForPath with null path Change 3391494 on 2017/04/12 by Dan.Oconnor Fix bad references in deep object (widget) hierarchies #jira UE-43802 Change 3391529 on 2017/04/12 by Dan.Oconnor Fix log spam, accidently submitted #rnx Change 3391756 on 2017/04/12 by Dan.Oconnor LinkExternalDependencies needs to be performed before we RefreshVariables #jira UE-43843 Change 3392542 on 2017/04/13 by Marc.Audy Ensure that initialized actors get cleaned up when removed from world even if that world hasn't begun play. #jira UE-43879 Change 3392746 on 2017/04/13 by Marc.Audy (4.16) When duplicating a blueprint node, correctly make the new node a sibling of the duplicated node, not a child of it (unless duplicating the root component). Also resets scale of a duplicated root component to 1 to avoid a squaring of the scale for that component. #jira UE-40218 #jira UE-42086 Change 3393253 on 2017/04/13 by Dan.Oconnor Make sure calculated meta data is correctly set on functions generated by the compilation manager (SKEL_ class functions) #jira UE-43883 Change 3393509 on 2017/04/13 by Mike.Beach Removing hack'ish ResetLoaders() call that was causing undesired side-effects (resetting of a loaded package that other objects were relying on). This was originally intended to release file handles so separate editor processes could make updates and save the file (from CL 1712376). Using ResetLoaders() for this is bad though, as it has too many side effects. Instead we have to wait for GC to run. This also makes sure that GC should run as intended as the CookOnTheFly sever is idling. #jira UE-37284 Change 3394350 on 2017/04/14 by Michael.Noland Core: Making FDateTime and FTimespan actually reflected, so they get duplicated properly in CopyPropertiesForUnrelatedObjects, etc... #jira UE-39921 Change 3395985 on 2017/04/17 by Phillip.Kavan #jira UE-38280 - Fix invalid custom type selections on member fields in the User-Defined Structure Editor after a reload. Change summary: - Ensure that the 'SubCategoryObject' member in a UDS variable descriptor has been loaded when converting to an FEdGraphPinType. Change 3396152 on 2017/04/17 by Marc.Audy TickableGameObjects that have IsTickableInEditor false should not tick in the editor #jira UE-40421 Change 3396279 on 2017/04/17 by Phillip.Kavan #jira UE-43968 - Fix failed validation of bitmask enum types when serializing bitmask literal nodes. Change 3396299 on 2017/04/17 by Dan.Oconnor Fix resintancing issues exposed by running TM-Gameplay with -game. We cannot reinstance actors in levels on load because the scene is not created. #jira UE-43859 Change 3396712 on 2017/04/17 by Marc.Audy Call PostLoad on subobjects before copying for unrelated properties to avoid cases where an out of date object patched over in the linker has not been brought up to date #jira UE-38234 Change 3396718 on 2017/04/17 by Mike.Beach Adding a search bar to the components tree for Blueprints. #epicfriday #jira UE-17620 Change 3396999 on 2017/04/17 by Mike.Beach In generated code, call event '_Implementation' functions directly for interface functions being invoked on self (avoids a UHT runtime error). #jira UE-44018 Change 3397700 on 2017/04/18 by Marc.Audy UT struct BlueprintType fixups Change 3397701 on 2017/04/18 by Marc.Audy Odin struct BlueprintType fixups Change 3397703 on 2017/04/18 by Marc.Audy Ocean struct BlueprintType fixups Change 3397704 on 2017/04/18 by Marc.Audy WEX struct BlueprintType fixups Change 3397705 on 2017/04/18 by Marc.Audy Additional UT blueprint type struct fixups Change 3397706 on 2017/04/18 by Marc.Audy Fortnite struct BlueprintType fixups Change 3397708 on 2017/04/18 by Marc.Audy Fixup Engine BlueprintType markup of structs Change 3397709 on 2017/04/18 by Marc.Audy Sample Game struct BlueprintType fixups Change 3397711 on 2017/04/18 by Marc.Audy Mark AnimNodes as BlueprintType and BlueprintInternalUseOnly Change 3397712 on 2017/04/18 by Marc.Audy Paragon struct BlueprintType fixups Change 3397735 on 2017/04/18 by Marc.Audy Definition pieces of BlueprintInternalUseOnly to fix UHT errors with structs already marked to use it Change 3397912 on 2017/04/18 by Mike.Beach Fix for CIS warnings about shadowed variables (fallout from CL 3396718). Change 3398455 on 2017/04/18 by Marc.Audy Make less critical errors log an error rather than immediately throwing allowing multiple errors to be reported in the same compile Change 3398491 on 2017/04/18 by Marc.Audy BPRW/BPRO in a non-BlueprintType is now a UHT error Change 3398539 on 2017/04/18 by Marc.Audy Fixup live link struct markups Change 3399412 on 2017/04/19 by Marc.Audy Fix Match3 blueprint type struct markups Change 3399509 on 2017/04/19 by Phillip.Kavan #jira UE-38574 - Fix AnimBlueprint function graphs marked as 'const' to treat 'self' as read-only when compiling. Change summary: - Modified FKismetCompilerContext::ProcessOneFunctionGraph() to use the function graph schema rather than the compiler context schema for both the function context's schema as well as testing the function for 'const'-ness. For AnimBPs, the compiler context and the function graph context can differ, so we need to make sure we are using the right one when making queries for a specific function context during compilation. - Minor cleanup: changed the function context schema to be 'const' in order to be consistent with the function graph GetSchema() API's result. Added a few 'const' qualifiers where needed to match. - Added a new object version in order to avoid breaking compilation of existing AnimBP function graphs that may already be violating the 'const' rule (this is the same thing that was done when 'const' was first added to "normal" BP function graphs). Just as with normal function graphs in place before the addition, a warning will be generated for existing AnimBP function graphs if they violate 'const' correctness, and an error will be generated for all new ones. Change 3399749 on 2017/04/19 by Mike.Beach Hiding the Nativized Blueprints plugin from the in-editor browser (prevent users from disabling it). Change 3399774 on 2017/04/19 by Marc.Audy ConditionalPostLoad is already called on StaticMesh earlier in the function #rnx Change 3400313 on 2017/04/19 by Mike.Beach Mirroring CL 3398673 from 4.16 Now, with ICWYU, making sure that the coresponding header gets included first in nativized Blueprint files (else we get a UHT error). Had to fixup some ShooterGame specific files as a result (they had missing includes and forward declarations). #jira UE-44124 Change 3400328 on 2017/04/19 by Mike.Beach Missing file from mirrored change (CL 3400313 - mirroring CL 3398673 from 4.16) #jira UE-44124 Change 3400415 on 2017/04/19 by Chad.Garyet adding physx switch build to framework Change 3400514 on 2017/04/19 by Mike.Beach Back out changelist 3400313 / 3400328 (mirrored from CL 3398673 in 4.16), as it was producing "include PCH first" errors. Likely, CL 3398673 was a fix for a 4.16 specific change, altering the expected include order. We'll have to wait for this one to be integrated back. Change 3400552 on 2017/04/19 by Marc.Audy Undo the calling of post load prior to the CPFUO as dependent objects may not yet be loaded. Instead copy the need load flag to the new CDO subobject, similarly to how the top level CDO object copies its flags over. #jira UE-44150 Change 3400815 on 2017/04/19 by Marc.Audy Spelling fix (part of PR #3490) #rnx Change 3400918 on 2017/04/19 by Marc.Audy Partial pull of PR #3490: Improved remapping game controls support (Contributed by projectgheist) This portion brings in the exposure of the bindings to blueprint #jira UE-44122 Change 3401550 on 2017/04/20 by Marc.Audy fix kitedemo blueprint type markup #rnx Change 3401702 on 2017/04/20 by Mike.Beach Make it so plugins added to a project through the .uproject's 'AdditionalPluginDirectories' list get folded into the generated code project (for visual studio, etc.). Change 3401720 on 2017/04/20 by Mike.Beach Add white and black lists for target type (game, client, server, etc.) to plugin module descriptors. Change 3401725 on 2017/04/20 by Mike.Beach Whitelisting the nativized Blueprint plugin for only the targets it was built for (game, server, or client). Change 3401800 on 2017/04/20 by Ben.Zeigler Add Algo::BinarySearch, LowerBound, and UpperBound. These are setup to allow binary searching a presorted array, and allow for specifying projection and sort predicates. Convert some engine code to use it Add TSortedMap, which is a map data structure that has the same API as TMap, but is backed by a sorted array. It uses half the memory and performance is faster below n=10 Add FName::CompareIndexes so a SortedMap with FNames can be used without doing very slow string compares, and FNameSortIndexes predicate to sort by it Add code to Algo and Container tests. Split up container tests so the new ones aren't run in smoketest as they are a bit slow Add RemoveCurrent and SetToEnd to ArrayIterator Change 3401849 on 2017/04/20 by Marc.Audy Partial pull of PR #3490: Improved remapping game controls support (Contributed by projectgheist) This portion brings bug fixes and improvements to InputKeySelector UMG widgets. #jira UE-44122 Change 3402088 on 2017/04/20 by Marc.Audy Focus the search box when expanding the map value type #jira UE-44211 Change 3402251 on 2017/04/20 by Ben.Zeigler Fix issue where SortedMap needs to be resorted after serialization, because the sorting may have changed from when it was saved out Change 3402335 on 2017/04/20 by Ben.Zeigler Significant changes to FAssetData serialization and memory, cuts memory significantly but will break code that was using some of the internal API that was not properly hidden before Both Editor and Runtime cache now use the same FAssetRegistryVersion, which is now registered as a custom version Rename FAssetData and FAssetPackage operator<< to SerializeForCache to make it clear that it isn't safe to use for general serialization Remove GroupNames from FAssetData, it has not been useful since the UE4 package structure changed around 4.0 Rename generic-sounding but not actually generic SharedMapView class to AssetDataTagMapSharedView to indicate what it is actually used for Change TagsAndValues to use a new array-backed TSortedMap as the base structure instead of a hash map. Also, it only allocates the map on demand, which saves significant memory at runtime as many packages have no tags Add bFilterAssetDataWithNoTags to [AssetRegistry] ini section, if set it will only save cooked asset data if it has tags, off by default but saves significant memory if your whitelist is set up properly Fix issue where asset registry tags updated by loading assets during cook were not being reflected in the cooked registry Add AssetRegistry::GetAllocatedSize and add to MemReport output Change 3402457 on 2017/04/20 by Ben.Zeigler Enable asset registry iteration and stripping unused asset data in Fortnite. Registry iteration is already on in //Fortnite/Main, stripping is a new feature I want to test Change 3402498 on 2017/04/20 by Ben.Zeigler CIS fix. Why did this compile locally? Change 3402537 on 2017/04/20 by Ben.Zeigler Remove ensure for making AssetData for subobjects, the editor does this for thumbnail creation in some cases Change 3402600 on 2017/04/20 by Ben.Zeigler Add bShouldGuessTypeAndNameInEditor to manager settings, can be set false for games where type cannot be safely implied and content must be resaved Fix up some bool setting code inside asset manager, and fix const correctness and for iterator issues AssetManager can now discover any BlueprintCore type when bHasBlueprintClasses=true Add AssetManager.DumpAssetRegistryInfo to output detailed asset registry usage stats Add Primary Name to asset audit window by default Change 3403556 on 2017/04/21 by Marc.Audy Fix Orion input key selector override class #rnx Change 3404090 on 2017/04/21 by mason.seay Applying Forcefeedback to test map Change 3404093 on 2017/04/21 by mason.seay Changing text in level Change 3404139 on 2017/04/21 by mason.seay Added Force Feedback test and made some tweaks. Change 3404146 on 2017/04/21 by mason.seay Added source reference to Instanced Variable test Change 3404154 on 2017/04/21 by mason.seay More minor tweaks Change 3404155 on 2017/04/21 by Marc.Audy Remove auto #rnx Change 3404188 on 2017/04/21 by Marc.Audy Fixed crash changing variable type when any type other than map #jira UE-44249 #rnx Change 3404463 on 2017/04/21 by Ben.Zeigler Fix asset data code to not ensure when loading an object with invalid exports, and instead print warning with name of package that needs to be resaved Resave a map that had a redirector from a DIFFERENT package saved in it's exports. I do not understand how this happened, but it appears to be related to the lightmap BuiltData transition when old maps are opened Change 3404465 on 2017/04/21 by Ben.Zeigler Fix issue with trying to load editor-only asset classes in a cooked build Fix issues with renaming or changing template Ids of assets from the editor Always print the Duplicate Asset ID error, as if you have more than one the ensuremsg only goes off once Change 3404481 on 2017/04/21 by Dan.Oconnor Remove unneeded walk up hierarchy - prevent stale entries in action database if we compile a BP but don't compile its children Change 3404510 on 2017/04/21 by Phillip.Kavan #jira UE-35727 - Collapsed graphs containing a local variable node will no longer cause a compile error when the parent graph is renamed. Change 3404590 on 2017/04/21 by Michael.Noland Editor: Fixed incorrect filtering of abstract/deprecated UDeveloperSettings and UContentBrowserFrontEndFilterExtension classes caused by a typo (HasAnyCastFlags versus HasAnyClassFlags) Change 3404593 on 2017/04/21 by Marc.Audy Fixed another crash to do with input pin secondary combo box #jira UE-44269 #rnx Change 3404600 on 2017/04/21 by Michael.Noland Core: Allow UE_GC_TRACK_OBJ_AVAILABLE to be set externally #rnx Change 3404602 on 2017/04/21 by Michael.Noland Engine: Switched from an include to a forward declaration of SWidget in UDeveloperSettings to keep it slim #rnx Change 3404608 on 2017/04/21 by Michael.Noland Core: Marked TNumericLimits as constexpr so they can be used in static asserts Change 3404659 on 2017/04/21 by Michael.Noland Engine: Adding includes back to two UDeveloperSettings subclasses Change 3405289 on 2017/04/24 by Marc.Audy Remove auto #rnx Change 3405446 on 2017/04/24 by Marc.Audy Fix Win32 unsigned compile issue Change 3405512 on 2017/04/24 by Mike.Beach Piping through NativizationOptions to filename generation (so we're able to gen different files names per target: client vs. server). Change 3406080 on 2017/04/24 by Ben.Zeigler Deprecate UEngine::OnPostEngineInit and move to FCoreDelegates, clean up comments for the initialization delegates Call OnPostEngineInit from commandlet initialization as well as normal execution. I thought about making a wrapper function, but the commandlet calls EditorInit directly so it wouldn't work Bind delegate to refresh the AssetRegistry native class hierarchy after engine init so it picks up game/plugin classes. Undo ini change that was required to hack around this Change 3406381 on 2017/04/24 by Ben.Zeigler #jira UE-23768 Enable Run Physics With No Controller for montage test pawn. The montage pawn has no controller so wasn't correctly running physics when the root motion stopped. This flag needs to be set to allow it to correctly stop after the montage is over Change 3406438 on 2017/04/24 by Ben.Zeigler Fix deprecation warning Change 3406519 on 2017/04/24 by Phillip.Kavan #jira UE-43612 - Suppress array "Get" node fixup notifications on load when the BP Compilation Manager is enabled. Change summary: - Wrapped BPCM calls to FBlueprintEditorUtils::ReconstructAllNodes() and ReplaceDeprecatedNodes() duirng compile-on-load with bIsRegeneratingOnLoad = true. This matches the BP's state during compile-on-load when the BPCM is not enabled. Change 3406565 on 2017/04/24 by Dan.Oconnor Make sure all interface functions are added to skeleton #jira UE-44152 Change 3407489 on 2017/04/25 by Ben.Zeigler #jira UE-44317 Fix game-only TickableGameObjects to correctly tick in PIE Change 3407558 on 2017/04/25 by Ben.Zeigler Fix Fortnite cook warnings, issue had to do with the CDO being registered as a Primary Asset in conflict with the Class being registered Fix issue with renaming a BP primary asset not finding the old name Change 3407701 on 2017/04/25 by Dan.Oconnor Remove unneeded null check, static analysis doen't like the inconsistency Change 3407995 on 2017/04/25 by Marc.Audy Fixed maps and sets not working correctly with split pin. #jira UE-43857 Change 3408124 on 2017/04/25 by Ben.Zeigler #jira UE-39586 Change it so the blueprint String/Name/Object to Text node creates culture invariant text, and also have them show as an expanded node with a comment explaining this Fix Transform to actually return in the format specified in the comment, and fix comments on many text conversions Change 3408134 on 2017/04/25 by Marc.Audy Graph pin container type now represented by an enumeration (EPinContainerType) rather than 3 "independent" booleans. FEdGraphPinType constructor, UEdGraphNode::CreatePin, and FKismetCompilerContext::SpawnInternalVariable that took 3 booleans deprecated and replaced with a version that takes EPinContainerType. UEdGraphNode::CreatePin parameters reorganized so that PinName is before ContainerType and bIsReference, which default to None and false respectively Change 3408256 on 2017/04/25 by Michael.Noland Core: Changed UClass::ClassFlags to be of type EClassFlags for improved type safety Change 3408282 on 2017/04/25 by Marc.Audy (4.16) Fix incorrect positioning of instance components after duplication #jira UE-44314 Change 3408404 on 2017/04/25 by Mike.Beach Adding and removing the nativized plugin to/from the project when we alter the packaging nativization setting (so it gets picked up by project generation). Change 3408445 on 2017/04/25 by Marc.Audy Fix up missed deprecation cases #rnx Change 3409354 on 2017/04/26 by Marc.Audy Fix Linux CIS failure #rnx Change 3409487 on 2017/04/26 by Marc.Audy When dragging assets in to the SCS create them as siblings, not nested #jira UE-43041 Change 3409776 on 2017/04/26 by Ben.Zeigler #jira UE-44401 Fix issue with cooking a map containing a reparented component. In that case the child component may think it's not editor only, but it's archetype is editor only. This is not allowed in EDL, so now the child is marked as editor only as well Change 3410168 on 2017/04/26 by Dan.Oconnor Avoid calling virtual functions in the middle of compile #jira UE-44243 Change 3410252 on 2017/04/26 by Lukasz.Furman adjusted WITH_GAMEPLAY_DEBUGGER checks after IWYU changes #ue4 Change 3410385 on 2017/04/26 by Marc.Audy ChildActorComponent SetClass no longer fails when setting at runtime. #jira UE-43356 Change 3410466 on 2017/04/26 by Michael.Noland Core: Ensuring EClassFlags is 32 bit in a different way (underlying type of the enum is coming out signed even though all members are unsigned, long term fix is probably to move it to an enum class) #rnx Change 3410476 on 2017/04/26 by Michael.Noland Automation: Deleting some commented out methods #rnx Change 3411070 on 2017/04/27 by Marc.Audy Properly complete deprecation of old attachment API Change 3411338 on 2017/04/27 by mason.seay Map for Latent Action Tick Bug Change 3411637 on 2017/04/27 by Ben.Zeigler Back out CL #3381532 as it was causing crashes when adding new variables to blueprints, as the transaction array was being recursively modified while it was being added to Change 3412052 on 2017/04/27 by mason.seay Updated jump test map and pawn Change 3412231 on 2017/04/27 by Ben.Zeigler Fix issue where running SearchAllAssets multiple times after mounting new paths would throw away the asset registry cache, which slowed down incremental cooking substantially because the cooker mounts the autosave folder Duplicate of CL #3411860 Change 3412233 on 2017/04/27 by Ben.Zeigler Made FStreamableHandle::GetLoadedCount much faster by taking advantage of existing progress counter Duplicate of CL #3411778 Change 3412235 on 2017/04/27 by Ben.Zeigler Add code to FStringAssetReferenceThreadContext and FStringAssetReferenceSerializationScope which allows setting package name and collect options for string asset references serialized via something other than linker load Make RedirectCollector threadsafe to avoid issues with async loading asset references Fix it so ProcessStringAssetReferencePackageList will remove entries from the string asset array like resolve did, and rename function to indicate that Fix it so string asset references created by asset labels do not automatically get cooked, and significantly improve the speed of labels with lots of assets Add code to cooker and asset manager to explicitly mark non-cookable assets as NeverVook, this stops labels from ending up in the build if set that way Added option to not recurse package dependency changes more than one level when hashes change. This ended up not being significantly faster in a realistic case so left disabled Duplicate of CL #3412080 Change 3412352 on 2017/04/27 by Marc.Audy Refix lighting getting wrong position when getting component instance data Change 3412426 on 2017/04/27 by Marc.Audy Take first steps to making ComponentToWorld private and force use of accessor Make bWorldToComponentUpdated private Make ComponentToWorld and bWorldToComponentUpdated mutable Add a SetComponentToWorld function for the (likely ill-advised) places that were setting it directly. Change 3412468 on 2017/04/27 by Marc.Audy Remove last remnants of deprecated (4.11) custom location system Change 3413398 on 2017/04/28 by Marc.Audy Fix up missed deprecated attachment API uses Change 3413403 on 2017/04/28 by Marc.Audy Fix Orion compile error #rnx Change 3413448 on 2017/04/28 by Marc.Audy Fix up kite demo component to world privataization warnings #rnx Change 3413792 on 2017/04/28 by Ben.Zeigler Fix many bugs with blueprint pin default values, and add "Reset to Default Value" option to pin context menu Deprecate and rename SetPinDefaultValue because it actually sets the Autogenerated default. This was being called in bad places and destroying the stored autogenerated defaults #jira UE-40101 Fix expose on spawn pins to correctly update when the spawned object's defaults change #jira UE-21642 Fix struct pin default values to properly update when the struct is changed #jira UE-39418 Fix changed function/macro default values to properly update in already placed call nodes Change 3413839 on 2017/04/28 by samuel.proctor Added some Blueprint focused tests for TM-Gameplay Change 3414030 on 2017/04/28 by Ben.Zeigler Enable use of AssetPtr variables with Config, for native and blueprint This incorporates CL #3302487 but also enables for blueprint usage as that code is new to framework branch Change 3414229 on 2017/04/28 by Marc.Audy Fixup virtuals not calling their Super Remove some autos #rnx Change 3414451 on 2017/04/28 by Lukasz.Furman static analysis fix for gameplay debugger Change 3414482 on 2017/04/28 by Ben.Zeigler Fix crash found where changing pin type on ConvertAsset accessed an array while deleting it Change 3414609 on 2017/04/28 by Ben.Zeigler #jira UE-18146 Refresh graph when disconnecting a resolve asset id node Change 3415852 on 2017/05/01 by Marc.Audy Remove unused code #rnx Change 3415856 on 2017/05/01 by Marc.Audy auto removal #rnx Change 3415858 on 2017/05/01 by Marc.Audy Fix function taking an input as reference when unneeded and causing (still unclear why it suddenly started showing up) error in cooking #rnx Change 3415946 on 2017/05/01 by Marc.Audy Have K2Node_StructOperation skip the K2Node_Variable validation as it doesn't need a property (per CL# 1756451) #rnx Change 3415988 on 2017/05/01 by Lukasz.Furman renamed WorldContext param in AI related static blueprint functions to remove load/cook warnings #jira UE-44544 Change 3416030 on 2017/05/01 by Ben.Zeigler Fix issue with WorldContext pins being broken by my pin value refactor, partial paths like "WorldContext" need to be stored as strings and not as broken object references. Change 3416230 on 2017/05/01 by Marc.Audy Fix spelling error #rnx Change 3416419 on 2017/05/01 by Phillip.Kavan #jira UE-44213 - Nativizing a Blueprint class with a non-nativized Blueprint class subobject dependency will no longer lead to a crash at load time. Change summary: - Modified the FFakeImportTableHelper ctor to inject subobject CDOs into the 'SerializeBeforeCreateCDODependencies' array. This in turn ensures that EDL will serialize those subobject CDOs (if necessary) before we create the subobject's nativized owner's CDO at load time. - Modified FEmitDefaultValueHelper::GenerateCustomDynamicClassInitialization() to emit MiscConvertedSubobject instantiations AFTER we emit the FillUsedAssetsInDynamicClass() call. This is now consistent with the code emitted for other subobjects (all of which assumes that the UsedAssets array has been initialized). - Modified FFindAssetsToInclude::HandleObjectReference() to add UField owner CDOs in addition to the owner class to the asset dependency list. This ensures that owner CDOs will be emitted alongside the class to both the nativized asset dependency table as well as to the fake import table associated with the UDynamicClass linker for the nativized BP asset. Change 3416425 on 2017/05/01 by Phillip.Kavan #jira UE-44219 - Nativizing a Blueprint class with a nativized DOBP class dependency will no longer lead to a compile error at cook/nativization time. - Modified the FGatherConvertedClassDependencies ctor to properly handle DOBPs in exclusive mode that have been explicitly enabled for nativization. Previously, this code wasn't taking that possibility into account, and as a result could lead to a missing header file in a dependent nativized class body's include set. - Modified FGatherConvertedClassDependencies::GetFirstNativeOrConvertedClass() to remove the 'bExcludeBPDataOnly' parameter, as it was primarily just being used for a redundant exclusion check when called from the FGatherConvertedClassDependencies ctor. That call site has now been modified to start searching from the super class instead. Additionally, any DOBPs will already fail the preceding WillClassBeConverted() check if they have not been explicitly enabled for nativization in exclusive mode, and will always fail if nativizing in inclusive mode. The extra check was breaking the explicitly-enabled case, so it was removed to allow explicitly-enabled DOBPs to pass. Notes: - Allowing for explicitly-enabled DOBPs in exclusive mode may be removed in a future change, but since it is currently supported, the changes noted above will at least ensure that the generated code will compile properly for now. Change 3416570 on 2017/05/01 by mason.seay Added UMG test to map. Tweaked force feedback test Change 3416580 on 2017/05/01 by mason.seay Resubmitting sub levels Change 3416597 on 2017/05/01 by Dan.Oconnor Compilation manager iteration, adds machinery for individual blueprint compilation, adds comments, cleans up duplicated code Change 3416636 on 2017/05/01 by Phillip.Kavan #jira UE-44505 - Potential fix for a low-repro crash tied to the Blueprint graph context menu. Change summary: - Switched FBlueprintActionInfo::ActionOwner to be a weak object reference. Change 3416960 on 2017/05/01 by Dan.Oconnor Use compilation manager when clicking the compile button, PIE'ing, etc Change 3417207 on 2017/05/01 by Ben.Zeigler Fix issue with None strings causing default value parsing failures Add SetPinDefaultValueAtConstruction needed by some other changes Change 3417519 on 2017/05/01 by Ben.Zeigler Fix BP compile errors caused by local variables with invalid default values. There's no reason to set autogenerated here because the nodes are transient and invisible in the UI. There is still a problem here, local variables are not getting their default values validated when type is changed, so you end up with an integer that has the default value of a struct. Change 3418659 on 2017/05/02 by Ben.Zeigler #jira UE-44534 Fix it so animation node pins get properly created autogenerated default values that are based on the node struct defaults. This fixes issues when they are reset to other defaults #jira UE-44532 Fix it so connecting an animation asset pin on a node player resets the pin value to the autogenerated default instead of the cached asset. This was causing old unused assets to get unnecessarily cooked Fix it so any animation node with an exposed pin that is an object property will reset that object propery when the pin is exposed. This fixes UE-31015 in a generic way Change the OptionalPinManager to take a Defaults address as well as a current address, to allow setting autogenerated defaults properly Remove Import/ExportKismetDefaultValueToProperty as they were redundant with PropertyValueFromString and were using the wrong pin setting functions, replaced with PropertyValueFromString_Direct and calling the schema pin set functions I need to write some backward compatibility code to fix existing nodes, I'll do that in a later checkin Change 3418700 on 2017/05/02 by Ben.Zeigler Actually fix None object paths for real this time. I did not test sufficiently before Change 3418811 on 2017/05/02 by Ben.Zeigler Fix existing animation blueprint nodes with dead asset references duplicated by pins. This code can be applied independent of the other change to fix specific games Change 3419165 on 2017/05/02 by Dan.Oconnor Add misc. functionality from FKismetEditorUtilities::CompileBlueprint Change 3419202 on 2017/05/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3417825 #rnx Change 3419236 on 2017/05/02 by mason.seay Removed OnPressed event from Widget BP Change 3419314 on 2017/05/02 by Marc.Audy Fix bad auto-resolve #rnx Change 3419524 on 2017/05/02 by Marc.Audy PR #3528: Improved Input BP library node display names (Contributed by projectgheist) #jira UE-44587 #rn Improved Input BP library node display names Change 3419570 on 2017/05/02 by Zak.Middleton #ue4 - Fix typo in TFunctionRef comment/example. Change 3419709 on 2017/05/02 by Dan.Oconnor Fix missing category metadata on SkeletonGeneratedClass when using compilation manager Change 3419756 on 2017/05/02 by Dan.Oconnor Remove unintentional verbosity increase Change 3420875 on 2017/05/03 by Marc.Audy Make IsExecPin static Minor optimization to IsMetaPin #rnx Change 3420981 on 2017/05/03 by Marc.Audy Change tagging temporarily until other changes are done so that we don't have warnings in the meantime #rnx Change 3421367 on 2017/05/03 by Marc.Audy Manually introduce changes from CL# 3398673 in 4.16 that failed to make it to Dev-Framework as a result of the integration submitted as CL# 3401725. #rnx Change 3421685 on 2017/05/03 by Ben.Zeigler #jira UE-23001 Convert literal Asset ID/Class ID pins to store path as string instead of as hard object reference. Old pins are fixed on load, after resaving the hard references will go away Refactor the way that FStringAssetReference and FAssetPtr are serialized, it now does the various fixups in FStringAssetReference::SerializePath, which is called from archivers Change it so the asset registry reads in a list of all scanned redirectors and adds them to GRedirectCollector, this means that saving a string asset reference will automatically fix it up to point to the redirector destination Change the default behavior of FAssetPtr serialize on ArchiveUObject to match what most of it's children want, and remove several special case hacks. It now serializes as asset reference when saving/loading, and as object for other cases Deprecate StringAssetReferenceLoaded/StringAssetReferenceSaving delegates, replace with PreSavePath and PostLoadPath on FStringAssetReference Make AssetLongPathname private on FStringAssetReference, it was deprecated in 4.9 Change 3421728 on 2017/05/03 by Phillip.Kavan Mirror CL 3408285 from //UE4/Release-4.16. #jira UE-44124 #rnx Change 3422370 on 2017/05/03 by Dan.Oconnor Mirror 3422359 Implement UBlueprintGeneratedClass::NeedsLoadForEditorGame to match UBlueprint, also tag a class's CDO as NeedsLoadForEditorGame. This prevents us from failing to load a UBlueprint's GeneratedClass when running the editor with -server. #jira UE-44659 Change 3423192 on 2017/05/04 by Ben.Zeigler CIS Fix Change 3423305 on 2017/05/04 by Ben.Zeigler Fix "Missing opening parenthesis" warnings for Vector and Rotator the same way they were fixed for Transform Change 3423358 on 2017/05/04 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3422809 #rnx Change 3423766 on 2017/05/04 by Ben.Zeigler #jira UE-44680 Delete some corrupted redirectors that are no longer in use Change 3423804 on 2017/05/04 by Dan.Oconnor Honor SaveIntermediateCompilerResults when using compilation manager Change 3424010 on 2017/05/04 by Marc.Audy Validate that switch string cases are unique Change 3424011 on 2017/05/04 by Marc.Audy Re-fix switch node default pin not appearing as an exec output Remove unused boolean Change 3424071 on 2017/05/04 by Ben.Zeigler Delete FixupRedirects commandlet, replace with -FixupRedirects/FixupRedirectors option on ResavePackages. This new method is much faster than the old commandlet as it uses the asset registry vs loading all packages, fixing up all redirectors in Fortnite only took about an hour vs 12+ hours the old way Removed some hacky bits in Core that only existed to support FixupRedirects Change it so the AssetRegistry listens to DirectoryWatcher callbacks in commandlets now that commandlets use the asset registry properly. This won't do anything unless you tick directory watcher the way that ResavePackages does Change 3424313 on 2017/05/04 by Dan.Oconnor Address missing property flags on SkeletonGeneratedClass when using compilation manager #jira UE-44705 Change 3424325 on 2017/05/04 by Phillip.Kavan #jira UE-44222 - Move nativized UDS implementation details into its own .cpp file in order to avoid circular dependencies. Change summary: - Modified IKismetCompilerInterface::GenerateCppCodeForStruct() to include an output parameter for CPP source and modified FKismet2CompilerModule to match the updated API. - Modified IBlueprintCompilerCppBackend::GenerateCodeFromStruct() to include an output parameter for CPP source and modified FBlueprintCompilerCppBackendBase to match the updated API. - Modified FBlueprintNativeCodeGenUtils::GenerateCppCode() to adjust the call to GenerateCppCodeForStruct() to include CPP source output. - Modified FGatherConvertedClassDependencies::DependenciesForHeader() to switch UDS property dependencies to be forward declarations rather than includes (for default value init code). - Modified FEmitDefaultValueHelper::GenerateGetDefaultValue() to emit implementation details to the 'Body' container, and adjust the header content to be a declaration only. - Modified FIncludeHeaderHelper::EmitInner() to exclude a potentially-redundant line for the module's .h file, for the case when the caller has included the base filename in the 'AlreadyIncluded' set. - Modified FEmitterLocalContext::FindGloballyMappedObject() to limit the 'TryUsedAssetsList' path to UClass conversions only (since that requires a UDynamicClass target to work). - Modified FGatherConvertedClassDependencies::DependenciesForHeader() to only include BPGC fields if they are also being converted. Eliminates an issue with missing header files in generated code. Change 3424359 on 2017/05/04 by Ben.Zeigler Fix issue where StreamableManager would break when requesting an async load that failed the first time. Because our game supports downloading assets during gameplay it's not safe to assume it will never load again. Port of CL #3424159 Change 3424367 on 2017/05/04 by Ben.Zeigler Fix some asset manager warnings to not go off in invalid cases Change 3425270 on 2017/05/05 by Marc.Audy Pack booleans/enums in UEdGraphNode and FOptionalPinFromProperty #rnx Change 3425696 on 2017/05/05 by Ben.Zeigler #jira UE-44672 Fix it so select node option pins get populated with default values properly #jira UE-43927 Fix it so select node opion pin type is correctly maintained accross node recreation, as opposed to deriving from the attached pins #jira UE-44675 Fix it to correctly refresh select node when switching from bool to integer index Change 3425833 on 2017/05/05 by Ben.Zeigler #jira UE-31749 Fix it so Undo works properly when modifying a local variable #jira UE-44736 Fix it so changing the type of a local variable correctly resets the default value Change 3425890 on 2017/05/05 by Marc.Audy Fix Copy/Paste of child actor components losing the template #jira UE-44566 Change 3425947 on 2017/05/05 by Ben.Zeigler This was meant to be part of last checkin Change 3425959 on 2017/05/05 by Ben.Zeigler #jira UE-44692 Fix it so only the sequentially last node can be removed from a Switch On Int, and for Switch On Name stop it from removing an exec pin if it's the only non-default one Change 3425979 on 2017/05/05 by Dan.Oconnor PVS fix Change 3425985 on 2017/05/05 by Phillip.Kavan Fix an uninitialized variable. #rnx Change 3426043 on 2017/05/05 by Ben.Zeigler #jira UE-35583 Correctly refresh array node UI when connecting pins that change it away from wildcard Change 3426174 on 2017/05/05 by Zak.Middleton #ue4 - Avoid call to virtual getSimulationFilterData() to only use it when needed in PreFilter if we actually have items in the IgnoreComponents list (which is rare). The sim filter data 'word2' stores the component ID. Change 3426621 on 2017/05/05 by Phillip.Kavan #jira UE-44708 - Fix an issue that re-introduced component data loss in a non-nativized child Blueprint class with a nativized parent Blueprint class. Change summary: - Removed an unnecessary additional check I had for the presence of "-NativizeAssets" switch on the command line in UBlueprint::BeginCacheForCookedPlatformData(). This check was failing because the usage was recently changed to include an optional value. It was not needed anyway so I just removed it. #rnx Change 3426906 on 2017/05/05 by Ben.Zeigler #jira UE-11189 Fix function/macro input default values to show as a pin customization instead of as a broken text box that doesn't work correctly for most types. This fixes enums and provide validation for other types Types that don't have a customization (most structs) will now show any more, they did not work before either #jira UE-21754 Hide function default values if pass by reference is set Fix it so changing input parameter will also reset default value, to avoid having the wrong type value set and to work the same as local variables Change 3426941 on 2017/05/05 by Dan.Oconnor Fix determinstic cooking of LoadAssetClass nodes in macros Change 3427021 on 2017/05/05 by Dan.Oconnor Build fix, make initialization order in source match artifact #rnx Change 3427135 on 2017/05/05 by Phillip.Kavan #jira UE-44702 - Restore code-based interface classes to Blueprint editor UI. Change summary: - Partially backed out CL# 3348513 to return to previous behavior for 4.16. The UI is no longer filtering on the __is_abstract() type trait for interface classes. - Modified FNativeClassHeaderGenerator::ExportClassFromSourceFileInner() to emit the _getUObject() declaration for native interface types as a default implementation that returns NULL rather than as a pure virtual declaration. #rnx Change 3427144 on 2017/05/06 by Marc.Audy Fix init order #rnx Change 3427146 on 2017/05/06 by Marc.Audy remove stray semicolon #rnx Change 3427242 on 2017/05/06 by Phillip.Kavan #jira UE-44744 - Fix a regression in which a UMG Widget Blueprint property not explicitly marked as a variable would cause Blueprint nativization to fail at package time. Change summary: - Modified FWidgetBlueprintCompiler::CreateClassVariablesFromBlueprint() to only add 'Category' metadata when we set the 'CPF_BlueprintVisible' flag on the UProperty, which in is now tied to whether or not the property has been explcitly marked as a variable. This avoids a UHT warning when compiling the nativized codegen that would cause packaging to fail. #rnx Change 3427720 on 2017/05/08 by Dan.Oconnor Backing out 3419202 #rnx Change 3427725 on 2017/05/08 by Dan.Oconnor SA fix #rnx Change 3427734 on 2017/05/08 by Dan.Oconnor More exhaustive GEditor null checks, to appease SA #rnx Change 3427882 on 2017/05/08 by Marc.Audy Properly order all booleans in intialization #rnx Change 3428049 on 2017/05/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3427804 #rnx Change 3428523 on 2017/05/08 by Ben.Zeigler #jira UE-44781 Refresh function input UI when blueprint graph refreshes, needed as pins may have gone away Change 3428563 on 2017/05/08 by Ben.Zeigler #jira UE-44783 If setting a hard reference pin type from a string, load the referenced object. Change 3428595 on 2017/05/08 by Dan.Oconnor Avoid node reconstruction when we're compiling a blueprint with no linker (e.g., a duplicated blueprint) #jira UE-44777 Change 3428599 on 2017/05/08 by Ben.Zeigler #jira UE-44789 Fix string asset renamer to not mark IsPersistent becuase that crashes in lightmap code, change it so the path fixup doesn't require the persistent flag Change 3428609 on 2017/05/08 by Dan.Oconnor Improved fix for UE-44777 #jira UE-44777 #rnx Change 3429176 on 2017/05/08 by Phillip.Kavan #jira UE-44755 - Fix nativization build errors when packaging a game project that is not IWYU-compliant for a build target that disables PCH files. - Mirrored from //UE4/Release-4.16 (CL# 3429030). #rnx Change 3429198 on 2017/05/08 by Phillip.Kavan CIS fix. #rnx Change 3429583 on 2017/05/08 by Ben.Zeigler Fix SGraphPinClass to work properly after my changes to allow unloaded assets. For Class pins we need to store separate Runtime and Editor asset data objects, as one has _C and refers to the class, and the other doesn't and refers to the blueprint. The content browser wants the editor path, the pin defaults want the runtime path. Change default value widgets to look more like properties widgets by forcing them to act as highlighted and disabling black background Change 3429640 on 2017/05/08 by Marc.Audy Fix issues with select nodes in macros connected to wildcard pins. #jira UE-44799 #rnx Change 3429890 on 2017/05/08 by Ben.Zeigler Fix function/macro defaults to properly propagate when changed using the new edit UI Refactor some code out of the details customization into the k2 schema Disable defaults UI for object/class/interface hard references as it is disabled in KismetCompiler Change 3429947 on 2017/05/08 by Michael.Noland Core: Backing out CL# 3394352 (marking FDateTime and FTimespan nonexport member Tick with UPROPERTY()), which will re-break UE-39921 but fix UE-44418 There appears to be a more serious underlying issue with how the CDO is instanced which needs to be addressed #jira UE-44418 #reimplementing 3411681 from Release 4.16 Change 3429987 on 2017/05/08 by Ben.Zeigler #jira UE-44798 Do a better job of validating object paths saved as default values, due to an old bug with local variables some object paths are saved as struct exportext At load time clear invalid default value for local variables Add IsValidObjectPath to FPackageName that validates the passed in path would be valid to load with LoadObject Change 3430392 on 2017/05/09 by Marc.Audy Fix SA CIS error #rnx Change 3430747 on 2017/05/09 by Ben.Zeigler #jira UE-44836 Don't reconstruct node during callback for param value changing, this can happen during a reconstruction and recursive reconstruction is unsafe Don't call ModifyUserDefinedPinDefaultValue unless the default value has actually changed Change 3431027 on 2017/05/09 by Marc.Audy Fix BPRW mark up causing Ocean warnings #rnx Change 3431353 on 2017/05/09 by Marc.Audy Fix UHT error due to exposing FJsonObjectWrapper to blueprints #rnx [CL 3431398 by Marc Audy in Main branch]
2017-05-09 17:15:32 -04:00
Con1Frame = ConstraintComp->GetComponentTransform();
Con1Frame.RemoveScaling();
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3431384) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3373195 on 2017/03/30 by Mike.Beach For nativization, changing it so we key off of the target platform-info struct instead of the platform (in preparation for defining the nativized plugin's platform whitelist). Change 3381178 on 2017/04/05 by Dan.Oconnor Make sure we don't inherit the NATIVE func flag when generating skeleton functions, also make sure all bojects outer'd to the skeleton class are marked transient #jira UE-43616 Change 3381532 on 2017/04/05 by Marc.Audy (4.16) Fix various cases where built lighting on child actors could be lost when loading a level #jira UE-43553 Change 3381586 on 2017/04/05 by Mike.Beach Now generating TArrayCaster conversions for nativized UClass arrays that need it (to handle different TSubclassOf arrays). #jira UE-42676, UE-43257 Change 3381682 on 2017/04/05 by mason.seay Some more changes to test map Change 3381844 on 2017/04/05 by Dan.Oconnor Match existing logic for CPF_ReturnParm/CPF_OutParm. Fixes compilation error in BP_TurbineBlades when using compilation manager Change 3382054 on 2017/04/05 by Zak.Middleton #ue4 - Optimize CharacterMovementComponent::GetPredictionData_Client_Character() and GetPredictionData_Server_Character() to remove virtual calls. #jira UE-30998 Change 3382703 on 2017/04/06 by Lukasz.Furman fixed missing links between navmesh polys when there are more than 4 neighbor connections #jira UE-43524 Change 3383357 on 2017/04/06 by Marc.Audy (4.16) Make SetHiddenInGame propagate consistently with SetVisibility #jira UE-43709 Change 3383359 on 2017/04/06 by Dan.Oconnor Fix last errant SKEL reference when cooking Odin Change 3383591 on 2017/04/06 by Mike.Beach Prevent users from setting object variables as 'config' properties (disallowed by UHT). This prevents some errors that could happen later when users nativize the Blueprint. #jira UE-42085 Change 3384762 on 2017/04/07 by Zak.Middleton #ue4 - Fix SpringArmComponent not restoring relative transform when bUsePawnControlRotation is turned off. Fixes the editor interaction ignoring transform of the component in the viewport after bUsePawnControlRotation is toggled on then off, since by then the world transform had been overwritten (from tick in editor) and nothing would drive transform changes from the editable value. Toggling bUsePawnControlRotation off at runtime now restores the rotation to the initial relative rotation, not stomping it with the current pawn rotation, allowing toggling between the editable/desired base rotation and the control rotation. #jira UE-24850 Change 3384948 on 2017/04/07 by Dan.Oconnor Prevent GForceDisableBlueprintCompileOnLoad from causing all sorts of badness when dependencies are loaded as part of a Diff operation. Instead of setting a global flag we flag the package as LOAD_DisableCompileOnLoad Change 3385267 on 2017/04/07 by Michael.Noland Graph Editing: Pushed some node diffing code down from UAIGraphNode into UEdGraphNode so nodes with details panel properties will diff correctly (e.g., various animation nodes and BP switch nodes) #jira UE-21724 Change 3385473 on 2017/04/07 by Phillip.Kavan #jira UE-43067 - Fix broken pin wires after an Expand Node operation, along with some misc. cleanup. Change summary: - Fixed to use correct string for "Expand Node" transaction name. - Modified FBlueprintEditor::OnExpandNodes() to consolidate some redundant code. - Fixed to generate a unique node GUID for cases where the source graph is not removed after expansion. Change 3385583 on 2017/04/07 by Dan.Oconnor Handle CreatePropertyOnScope nullptr return values (happens for structs missing a struct property) #jira UE-43746 Change 3386581 on 2017/04/10 by Michael.Noland Blueprints: Further hardening FBlueprintActionInfo::GetOwnerClass() #jira UE-43824 Change 3386615 on 2017/04/10 by Marc.Audy Instanced properties can now properly be set on a per-instance basis in blueprint added components. #jira UE-42066 Change 3387000 on 2017/04/10 by Marc.Audy Fix includes for CIS Change 3387229 on 2017/04/10 by mason.seay More changes to TM-Gameplay Added Save Game test (with blueprint) Tick Interval test (with blueprint) BP logic cleanup Level organization Change 3388437 on 2017/04/11 by Mike.Beach Adding support for map/set literals in the backend (so you can use set nodes for structs containing sets/maps, without having to connect a RHS input - resets to struct defaults). #jira UE-42617 Change 3388532 on 2017/04/11 by mason.seay Submitting latest changes for crash repro Change 3389026 on 2017/04/11 by Ben.Zeigler Performance and bug fixes for incremetal cooking with asset registry, duplicate of several changes made on //Fortnite/Main Fix it so AssetRegistry.ScanPathsAndFilesSynchronous won't scan subdirectories inside already scanned directories, this cuts down on the number of cache files Fix 2 second stall when shutting down AssetSourceFilenameCache if it had never been previously created Change 3389163 on 2017/04/11 by Ben.Zeigler #jira UE-42922 Fix it so connecting function input node output pins does not clear default value, we only want to clear the value when connecting an input pin. Properly testing this fix depends on UE-43883 Change 3389205 on 2017/04/11 by Marc.Audy Protect against a handful of GEditor usages that can now be hit in standalone Change 3389220 on 2017/04/11 by Marc.Audy Don't borrow ClassWithin to masquerade as ParentClass during compilation and instead just set the super struct immediately Change 3389222 on 2017/04/11 by Michael.Noland Framework: Adding a cvar (t.TickComponentLatentActionsWithTheComponent) to allow users to revert to the old behavior on when component latent actions tick - Non-zero values behave the same way as actors do, ticking pending latent action when the component ticks, instead of later on in the frame (default behavior in 4.16 and beyond) - Prior to 4.16, components behaved as if the value were 0, which meant their latent actions behaved differently to actors This CVar will be removed in a future version, defaulting to on #jira UE-43661 Change 3389276 on 2017/04/11 by Marc.Audy Spelling fix and NULL to nullptr Change 3389303 on 2017/04/11 by Mieszko.Zielinski Made sure AIController::Posses doesn't get called when compiling Pawn BP #UE4 #jira UE-43873 Change 3390215 on 2017/04/12 by mason.seay Removed some tests, will need further review Change 3390638 on 2017/04/12 by Mike.Beach Generalizing the omission of the CoerceProperty (in EmitTerm) - previously we were only omitting properties for our custom array lib. For wildcards, a coerce property should not be used as its type will not match. NOTE: There is a slight behavior change in UEdGraphSchema_K2::ConvertPropertyToPinType(), as it will return 'wildcard' for params marked as 'ArrayTypeDependentParams' (previously would have returned 'int'). #jira UE-42747 Change 3390774 on 2017/04/12 by Ben.Zeigler #jira UE-43911 Fix several issues with saving a runtime asset registry containing redirectors that caused crashes in cook on the fly. Don't resolve redirectors on incoming links because it will make a circular link, and fix an issue where chained redirectors would break the for loop iteration and return a bad dependency Fix it so the asset registry written out at the beginning of CookOnTheFly uses the registry generator, otherwise it will include all of the stripped editor only tags Change 3390778 on 2017/04/12 by Ben.Zeigler Fix UCookOnTheFlyServer::CollectFilesToCook to check for initial unsolicited packages up front. This is required in iterative mode because it may skip cooking all explicit packages and thus miss a new startup loaded package Change 3390782 on 2017/04/12 by Ben.Zeigler Change RunProjectCommand to not imply -nomcp, and allow reading -clientcmdline to override setting the map parameter to 127.0.0.1 by default Fix RunProjectCommand to remove ios-specific checks to not pass weird platform parameters, and instead never pass them Fix PS4Platform to pass along command line when calling build cook run, args needs to be the last parameter so explicitly set -target= Change 3390859 on 2017/04/12 by Mike.Beach T3D class fields now export with the class's fully qualified path name (to avoid abiguity). Since we can have multiple classes with the same name (Blueprints in different folders), we have to use the class's fully qualified object path. #jira UE-28048 Change 3390914 on 2017/04/12 by Lukasz.Furman fixed missing navlink component's transform in exported navigation data #jira UE-43688 Change 3391122 on 2017/04/12 by Ben.Zeigler Add new PreloadPrimaryAssets call to AssetManager that stream the desired assets without modifying the official load/unload state. This is useful if you want to preload things in case the might be used in the future, and it also supports recursion Fix crash calling GetAssetDataForPath with null path Change 3391494 on 2017/04/12 by Dan.Oconnor Fix bad references in deep object (widget) hierarchies #jira UE-43802 Change 3391529 on 2017/04/12 by Dan.Oconnor Fix log spam, accidently submitted #rnx Change 3391756 on 2017/04/12 by Dan.Oconnor LinkExternalDependencies needs to be performed before we RefreshVariables #jira UE-43843 Change 3392542 on 2017/04/13 by Marc.Audy Ensure that initialized actors get cleaned up when removed from world even if that world hasn't begun play. #jira UE-43879 Change 3392746 on 2017/04/13 by Marc.Audy (4.16) When duplicating a blueprint node, correctly make the new node a sibling of the duplicated node, not a child of it (unless duplicating the root component). Also resets scale of a duplicated root component to 1 to avoid a squaring of the scale for that component. #jira UE-40218 #jira UE-42086 Change 3393253 on 2017/04/13 by Dan.Oconnor Make sure calculated meta data is correctly set on functions generated by the compilation manager (SKEL_ class functions) #jira UE-43883 Change 3393509 on 2017/04/13 by Mike.Beach Removing hack'ish ResetLoaders() call that was causing undesired side-effects (resetting of a loaded package that other objects were relying on). This was originally intended to release file handles so separate editor processes could make updates and save the file (from CL 1712376). Using ResetLoaders() for this is bad though, as it has too many side effects. Instead we have to wait for GC to run. This also makes sure that GC should run as intended as the CookOnTheFly sever is idling. #jira UE-37284 Change 3394350 on 2017/04/14 by Michael.Noland Core: Making FDateTime and FTimespan actually reflected, so they get duplicated properly in CopyPropertiesForUnrelatedObjects, etc... #jira UE-39921 Change 3395985 on 2017/04/17 by Phillip.Kavan #jira UE-38280 - Fix invalid custom type selections on member fields in the User-Defined Structure Editor after a reload. Change summary: - Ensure that the 'SubCategoryObject' member in a UDS variable descriptor has been loaded when converting to an FEdGraphPinType. Change 3396152 on 2017/04/17 by Marc.Audy TickableGameObjects that have IsTickableInEditor false should not tick in the editor #jira UE-40421 Change 3396279 on 2017/04/17 by Phillip.Kavan #jira UE-43968 - Fix failed validation of bitmask enum types when serializing bitmask literal nodes. Change 3396299 on 2017/04/17 by Dan.Oconnor Fix resintancing issues exposed by running TM-Gameplay with -game. We cannot reinstance actors in levels on load because the scene is not created. #jira UE-43859 Change 3396712 on 2017/04/17 by Marc.Audy Call PostLoad on subobjects before copying for unrelated properties to avoid cases where an out of date object patched over in the linker has not been brought up to date #jira UE-38234 Change 3396718 on 2017/04/17 by Mike.Beach Adding a search bar to the components tree for Blueprints. #epicfriday #jira UE-17620 Change 3396999 on 2017/04/17 by Mike.Beach In generated code, call event '_Implementation' functions directly for interface functions being invoked on self (avoids a UHT runtime error). #jira UE-44018 Change 3397700 on 2017/04/18 by Marc.Audy UT struct BlueprintType fixups Change 3397701 on 2017/04/18 by Marc.Audy Odin struct BlueprintType fixups Change 3397703 on 2017/04/18 by Marc.Audy Ocean struct BlueprintType fixups Change 3397704 on 2017/04/18 by Marc.Audy WEX struct BlueprintType fixups Change 3397705 on 2017/04/18 by Marc.Audy Additional UT blueprint type struct fixups Change 3397706 on 2017/04/18 by Marc.Audy Fortnite struct BlueprintType fixups Change 3397708 on 2017/04/18 by Marc.Audy Fixup Engine BlueprintType markup of structs Change 3397709 on 2017/04/18 by Marc.Audy Sample Game struct BlueprintType fixups Change 3397711 on 2017/04/18 by Marc.Audy Mark AnimNodes as BlueprintType and BlueprintInternalUseOnly Change 3397712 on 2017/04/18 by Marc.Audy Paragon struct BlueprintType fixups Change 3397735 on 2017/04/18 by Marc.Audy Definition pieces of BlueprintInternalUseOnly to fix UHT errors with structs already marked to use it Change 3397912 on 2017/04/18 by Mike.Beach Fix for CIS warnings about shadowed variables (fallout from CL 3396718). Change 3398455 on 2017/04/18 by Marc.Audy Make less critical errors log an error rather than immediately throwing allowing multiple errors to be reported in the same compile Change 3398491 on 2017/04/18 by Marc.Audy BPRW/BPRO in a non-BlueprintType is now a UHT error Change 3398539 on 2017/04/18 by Marc.Audy Fixup live link struct markups Change 3399412 on 2017/04/19 by Marc.Audy Fix Match3 blueprint type struct markups Change 3399509 on 2017/04/19 by Phillip.Kavan #jira UE-38574 - Fix AnimBlueprint function graphs marked as 'const' to treat 'self' as read-only when compiling. Change summary: - Modified FKismetCompilerContext::ProcessOneFunctionGraph() to use the function graph schema rather than the compiler context schema for both the function context's schema as well as testing the function for 'const'-ness. For AnimBPs, the compiler context and the function graph context can differ, so we need to make sure we are using the right one when making queries for a specific function context during compilation. - Minor cleanup: changed the function context schema to be 'const' in order to be consistent with the function graph GetSchema() API's result. Added a few 'const' qualifiers where needed to match. - Added a new object version in order to avoid breaking compilation of existing AnimBP function graphs that may already be violating the 'const' rule (this is the same thing that was done when 'const' was first added to "normal" BP function graphs). Just as with normal function graphs in place before the addition, a warning will be generated for existing AnimBP function graphs if they violate 'const' correctness, and an error will be generated for all new ones. Change 3399749 on 2017/04/19 by Mike.Beach Hiding the Nativized Blueprints plugin from the in-editor browser (prevent users from disabling it). Change 3399774 on 2017/04/19 by Marc.Audy ConditionalPostLoad is already called on StaticMesh earlier in the function #rnx Change 3400313 on 2017/04/19 by Mike.Beach Mirroring CL 3398673 from 4.16 Now, with ICWYU, making sure that the coresponding header gets included first in nativized Blueprint files (else we get a UHT error). Had to fixup some ShooterGame specific files as a result (they had missing includes and forward declarations). #jira UE-44124 Change 3400328 on 2017/04/19 by Mike.Beach Missing file from mirrored change (CL 3400313 - mirroring CL 3398673 from 4.16) #jira UE-44124 Change 3400415 on 2017/04/19 by Chad.Garyet adding physx switch build to framework Change 3400514 on 2017/04/19 by Mike.Beach Back out changelist 3400313 / 3400328 (mirrored from CL 3398673 in 4.16), as it was producing "include PCH first" errors. Likely, CL 3398673 was a fix for a 4.16 specific change, altering the expected include order. We'll have to wait for this one to be integrated back. Change 3400552 on 2017/04/19 by Marc.Audy Undo the calling of post load prior to the CPFUO as dependent objects may not yet be loaded. Instead copy the need load flag to the new CDO subobject, similarly to how the top level CDO object copies its flags over. #jira UE-44150 Change 3400815 on 2017/04/19 by Marc.Audy Spelling fix (part of PR #3490) #rnx Change 3400918 on 2017/04/19 by Marc.Audy Partial pull of PR #3490: Improved remapping game controls support (Contributed by projectgheist) This portion brings in the exposure of the bindings to blueprint #jira UE-44122 Change 3401550 on 2017/04/20 by Marc.Audy fix kitedemo blueprint type markup #rnx Change 3401702 on 2017/04/20 by Mike.Beach Make it so plugins added to a project through the .uproject's 'AdditionalPluginDirectories' list get folded into the generated code project (for visual studio, etc.). Change 3401720 on 2017/04/20 by Mike.Beach Add white and black lists for target type (game, client, server, etc.) to plugin module descriptors. Change 3401725 on 2017/04/20 by Mike.Beach Whitelisting the nativized Blueprint plugin for only the targets it was built for (game, server, or client). Change 3401800 on 2017/04/20 by Ben.Zeigler Add Algo::BinarySearch, LowerBound, and UpperBound. These are setup to allow binary searching a presorted array, and allow for specifying projection and sort predicates. Convert some engine code to use it Add TSortedMap, which is a map data structure that has the same API as TMap, but is backed by a sorted array. It uses half the memory and performance is faster below n=10 Add FName::CompareIndexes so a SortedMap with FNames can be used without doing very slow string compares, and FNameSortIndexes predicate to sort by it Add code to Algo and Container tests. Split up container tests so the new ones aren't run in smoketest as they are a bit slow Add RemoveCurrent and SetToEnd to ArrayIterator Change 3401849 on 2017/04/20 by Marc.Audy Partial pull of PR #3490: Improved remapping game controls support (Contributed by projectgheist) This portion brings bug fixes and improvements to InputKeySelector UMG widgets. #jira UE-44122 Change 3402088 on 2017/04/20 by Marc.Audy Focus the search box when expanding the map value type #jira UE-44211 Change 3402251 on 2017/04/20 by Ben.Zeigler Fix issue where SortedMap needs to be resorted after serialization, because the sorting may have changed from when it was saved out Change 3402335 on 2017/04/20 by Ben.Zeigler Significant changes to FAssetData serialization and memory, cuts memory significantly but will break code that was using some of the internal API that was not properly hidden before Both Editor and Runtime cache now use the same FAssetRegistryVersion, which is now registered as a custom version Rename FAssetData and FAssetPackage operator<< to SerializeForCache to make it clear that it isn't safe to use for general serialization Remove GroupNames from FAssetData, it has not been useful since the UE4 package structure changed around 4.0 Rename generic-sounding but not actually generic SharedMapView class to AssetDataTagMapSharedView to indicate what it is actually used for Change TagsAndValues to use a new array-backed TSortedMap as the base structure instead of a hash map. Also, it only allocates the map on demand, which saves significant memory at runtime as many packages have no tags Add bFilterAssetDataWithNoTags to [AssetRegistry] ini section, if set it will only save cooked asset data if it has tags, off by default but saves significant memory if your whitelist is set up properly Fix issue where asset registry tags updated by loading assets during cook were not being reflected in the cooked registry Add AssetRegistry::GetAllocatedSize and add to MemReport output Change 3402457 on 2017/04/20 by Ben.Zeigler Enable asset registry iteration and stripping unused asset data in Fortnite. Registry iteration is already on in //Fortnite/Main, stripping is a new feature I want to test Change 3402498 on 2017/04/20 by Ben.Zeigler CIS fix. Why did this compile locally? Change 3402537 on 2017/04/20 by Ben.Zeigler Remove ensure for making AssetData for subobjects, the editor does this for thumbnail creation in some cases Change 3402600 on 2017/04/20 by Ben.Zeigler Add bShouldGuessTypeAndNameInEditor to manager settings, can be set false for games where type cannot be safely implied and content must be resaved Fix up some bool setting code inside asset manager, and fix const correctness and for iterator issues AssetManager can now discover any BlueprintCore type when bHasBlueprintClasses=true Add AssetManager.DumpAssetRegistryInfo to output detailed asset registry usage stats Add Primary Name to asset audit window by default Change 3403556 on 2017/04/21 by Marc.Audy Fix Orion input key selector override class #rnx Change 3404090 on 2017/04/21 by mason.seay Applying Forcefeedback to test map Change 3404093 on 2017/04/21 by mason.seay Changing text in level Change 3404139 on 2017/04/21 by mason.seay Added Force Feedback test and made some tweaks. Change 3404146 on 2017/04/21 by mason.seay Added source reference to Instanced Variable test Change 3404154 on 2017/04/21 by mason.seay More minor tweaks Change 3404155 on 2017/04/21 by Marc.Audy Remove auto #rnx Change 3404188 on 2017/04/21 by Marc.Audy Fixed crash changing variable type when any type other than map #jira UE-44249 #rnx Change 3404463 on 2017/04/21 by Ben.Zeigler Fix asset data code to not ensure when loading an object with invalid exports, and instead print warning with name of package that needs to be resaved Resave a map that had a redirector from a DIFFERENT package saved in it's exports. I do not understand how this happened, but it appears to be related to the lightmap BuiltData transition when old maps are opened Change 3404465 on 2017/04/21 by Ben.Zeigler Fix issue with trying to load editor-only asset classes in a cooked build Fix issues with renaming or changing template Ids of assets from the editor Always print the Duplicate Asset ID error, as if you have more than one the ensuremsg only goes off once Change 3404481 on 2017/04/21 by Dan.Oconnor Remove unneeded walk up hierarchy - prevent stale entries in action database if we compile a BP but don't compile its children Change 3404510 on 2017/04/21 by Phillip.Kavan #jira UE-35727 - Collapsed graphs containing a local variable node will no longer cause a compile error when the parent graph is renamed. Change 3404590 on 2017/04/21 by Michael.Noland Editor: Fixed incorrect filtering of abstract/deprecated UDeveloperSettings and UContentBrowserFrontEndFilterExtension classes caused by a typo (HasAnyCastFlags versus HasAnyClassFlags) Change 3404593 on 2017/04/21 by Marc.Audy Fixed another crash to do with input pin secondary combo box #jira UE-44269 #rnx Change 3404600 on 2017/04/21 by Michael.Noland Core: Allow UE_GC_TRACK_OBJ_AVAILABLE to be set externally #rnx Change 3404602 on 2017/04/21 by Michael.Noland Engine: Switched from an include to a forward declaration of SWidget in UDeveloperSettings to keep it slim #rnx Change 3404608 on 2017/04/21 by Michael.Noland Core: Marked TNumericLimits as constexpr so they can be used in static asserts Change 3404659 on 2017/04/21 by Michael.Noland Engine: Adding includes back to two UDeveloperSettings subclasses Change 3405289 on 2017/04/24 by Marc.Audy Remove auto #rnx Change 3405446 on 2017/04/24 by Marc.Audy Fix Win32 unsigned compile issue Change 3405512 on 2017/04/24 by Mike.Beach Piping through NativizationOptions to filename generation (so we're able to gen different files names per target: client vs. server). Change 3406080 on 2017/04/24 by Ben.Zeigler Deprecate UEngine::OnPostEngineInit and move to FCoreDelegates, clean up comments for the initialization delegates Call OnPostEngineInit from commandlet initialization as well as normal execution. I thought about making a wrapper function, but the commandlet calls EditorInit directly so it wouldn't work Bind delegate to refresh the AssetRegistry native class hierarchy after engine init so it picks up game/plugin classes. Undo ini change that was required to hack around this Change 3406381 on 2017/04/24 by Ben.Zeigler #jira UE-23768 Enable Run Physics With No Controller for montage test pawn. The montage pawn has no controller so wasn't correctly running physics when the root motion stopped. This flag needs to be set to allow it to correctly stop after the montage is over Change 3406438 on 2017/04/24 by Ben.Zeigler Fix deprecation warning Change 3406519 on 2017/04/24 by Phillip.Kavan #jira UE-43612 - Suppress array "Get" node fixup notifications on load when the BP Compilation Manager is enabled. Change summary: - Wrapped BPCM calls to FBlueprintEditorUtils::ReconstructAllNodes() and ReplaceDeprecatedNodes() duirng compile-on-load with bIsRegeneratingOnLoad = true. This matches the BP's state during compile-on-load when the BPCM is not enabled. Change 3406565 on 2017/04/24 by Dan.Oconnor Make sure all interface functions are added to skeleton #jira UE-44152 Change 3407489 on 2017/04/25 by Ben.Zeigler #jira UE-44317 Fix game-only TickableGameObjects to correctly tick in PIE Change 3407558 on 2017/04/25 by Ben.Zeigler Fix Fortnite cook warnings, issue had to do with the CDO being registered as a Primary Asset in conflict with the Class being registered Fix issue with renaming a BP primary asset not finding the old name Change 3407701 on 2017/04/25 by Dan.Oconnor Remove unneeded null check, static analysis doen't like the inconsistency Change 3407995 on 2017/04/25 by Marc.Audy Fixed maps and sets not working correctly with split pin. #jira UE-43857 Change 3408124 on 2017/04/25 by Ben.Zeigler #jira UE-39586 Change it so the blueprint String/Name/Object to Text node creates culture invariant text, and also have them show as an expanded node with a comment explaining this Fix Transform to actually return in the format specified in the comment, and fix comments on many text conversions Change 3408134 on 2017/04/25 by Marc.Audy Graph pin container type now represented by an enumeration (EPinContainerType) rather than 3 "independent" booleans. FEdGraphPinType constructor, UEdGraphNode::CreatePin, and FKismetCompilerContext::SpawnInternalVariable that took 3 booleans deprecated and replaced with a version that takes EPinContainerType. UEdGraphNode::CreatePin parameters reorganized so that PinName is before ContainerType and bIsReference, which default to None and false respectively Change 3408256 on 2017/04/25 by Michael.Noland Core: Changed UClass::ClassFlags to be of type EClassFlags for improved type safety Change 3408282 on 2017/04/25 by Marc.Audy (4.16) Fix incorrect positioning of instance components after duplication #jira UE-44314 Change 3408404 on 2017/04/25 by Mike.Beach Adding and removing the nativized plugin to/from the project when we alter the packaging nativization setting (so it gets picked up by project generation). Change 3408445 on 2017/04/25 by Marc.Audy Fix up missed deprecation cases #rnx Change 3409354 on 2017/04/26 by Marc.Audy Fix Linux CIS failure #rnx Change 3409487 on 2017/04/26 by Marc.Audy When dragging assets in to the SCS create them as siblings, not nested #jira UE-43041 Change 3409776 on 2017/04/26 by Ben.Zeigler #jira UE-44401 Fix issue with cooking a map containing a reparented component. In that case the child component may think it's not editor only, but it's archetype is editor only. This is not allowed in EDL, so now the child is marked as editor only as well Change 3410168 on 2017/04/26 by Dan.Oconnor Avoid calling virtual functions in the middle of compile #jira UE-44243 Change 3410252 on 2017/04/26 by Lukasz.Furman adjusted WITH_GAMEPLAY_DEBUGGER checks after IWYU changes #ue4 Change 3410385 on 2017/04/26 by Marc.Audy ChildActorComponent SetClass no longer fails when setting at runtime. #jira UE-43356 Change 3410466 on 2017/04/26 by Michael.Noland Core: Ensuring EClassFlags is 32 bit in a different way (underlying type of the enum is coming out signed even though all members are unsigned, long term fix is probably to move it to an enum class) #rnx Change 3410476 on 2017/04/26 by Michael.Noland Automation: Deleting some commented out methods #rnx Change 3411070 on 2017/04/27 by Marc.Audy Properly complete deprecation of old attachment API Change 3411338 on 2017/04/27 by mason.seay Map for Latent Action Tick Bug Change 3411637 on 2017/04/27 by Ben.Zeigler Back out CL #3381532 as it was causing crashes when adding new variables to blueprints, as the transaction array was being recursively modified while it was being added to Change 3412052 on 2017/04/27 by mason.seay Updated jump test map and pawn Change 3412231 on 2017/04/27 by Ben.Zeigler Fix issue where running SearchAllAssets multiple times after mounting new paths would throw away the asset registry cache, which slowed down incremental cooking substantially because the cooker mounts the autosave folder Duplicate of CL #3411860 Change 3412233 on 2017/04/27 by Ben.Zeigler Made FStreamableHandle::GetLoadedCount much faster by taking advantage of existing progress counter Duplicate of CL #3411778 Change 3412235 on 2017/04/27 by Ben.Zeigler Add code to FStringAssetReferenceThreadContext and FStringAssetReferenceSerializationScope which allows setting package name and collect options for string asset references serialized via something other than linker load Make RedirectCollector threadsafe to avoid issues with async loading asset references Fix it so ProcessStringAssetReferencePackageList will remove entries from the string asset array like resolve did, and rename function to indicate that Fix it so string asset references created by asset labels do not automatically get cooked, and significantly improve the speed of labels with lots of assets Add code to cooker and asset manager to explicitly mark non-cookable assets as NeverVook, this stops labels from ending up in the build if set that way Added option to not recurse package dependency changes more than one level when hashes change. This ended up not being significantly faster in a realistic case so left disabled Duplicate of CL #3412080 Change 3412352 on 2017/04/27 by Marc.Audy Refix lighting getting wrong position when getting component instance data Change 3412426 on 2017/04/27 by Marc.Audy Take first steps to making ComponentToWorld private and force use of accessor Make bWorldToComponentUpdated private Make ComponentToWorld and bWorldToComponentUpdated mutable Add a SetComponentToWorld function for the (likely ill-advised) places that were setting it directly. Change 3412468 on 2017/04/27 by Marc.Audy Remove last remnants of deprecated (4.11) custom location system Change 3413398 on 2017/04/28 by Marc.Audy Fix up missed deprecated attachment API uses Change 3413403 on 2017/04/28 by Marc.Audy Fix Orion compile error #rnx Change 3413448 on 2017/04/28 by Marc.Audy Fix up kite demo component to world privataization warnings #rnx Change 3413792 on 2017/04/28 by Ben.Zeigler Fix many bugs with blueprint pin default values, and add "Reset to Default Value" option to pin context menu Deprecate and rename SetPinDefaultValue because it actually sets the Autogenerated default. This was being called in bad places and destroying the stored autogenerated defaults #jira UE-40101 Fix expose on spawn pins to correctly update when the spawned object's defaults change #jira UE-21642 Fix struct pin default values to properly update when the struct is changed #jira UE-39418 Fix changed function/macro default values to properly update in already placed call nodes Change 3413839 on 2017/04/28 by samuel.proctor Added some Blueprint focused tests for TM-Gameplay Change 3414030 on 2017/04/28 by Ben.Zeigler Enable use of AssetPtr variables with Config, for native and blueprint This incorporates CL #3302487 but also enables for blueprint usage as that code is new to framework branch Change 3414229 on 2017/04/28 by Marc.Audy Fixup virtuals not calling their Super Remove some autos #rnx Change 3414451 on 2017/04/28 by Lukasz.Furman static analysis fix for gameplay debugger Change 3414482 on 2017/04/28 by Ben.Zeigler Fix crash found where changing pin type on ConvertAsset accessed an array while deleting it Change 3414609 on 2017/04/28 by Ben.Zeigler #jira UE-18146 Refresh graph when disconnecting a resolve asset id node Change 3415852 on 2017/05/01 by Marc.Audy Remove unused code #rnx Change 3415856 on 2017/05/01 by Marc.Audy auto removal #rnx Change 3415858 on 2017/05/01 by Marc.Audy Fix function taking an input as reference when unneeded and causing (still unclear why it suddenly started showing up) error in cooking #rnx Change 3415946 on 2017/05/01 by Marc.Audy Have K2Node_StructOperation skip the K2Node_Variable validation as it doesn't need a property (per CL# 1756451) #rnx Change 3415988 on 2017/05/01 by Lukasz.Furman renamed WorldContext param in AI related static blueprint functions to remove load/cook warnings #jira UE-44544 Change 3416030 on 2017/05/01 by Ben.Zeigler Fix issue with WorldContext pins being broken by my pin value refactor, partial paths like "WorldContext" need to be stored as strings and not as broken object references. Change 3416230 on 2017/05/01 by Marc.Audy Fix spelling error #rnx Change 3416419 on 2017/05/01 by Phillip.Kavan #jira UE-44213 - Nativizing a Blueprint class with a non-nativized Blueprint class subobject dependency will no longer lead to a crash at load time. Change summary: - Modified the FFakeImportTableHelper ctor to inject subobject CDOs into the 'SerializeBeforeCreateCDODependencies' array. This in turn ensures that EDL will serialize those subobject CDOs (if necessary) before we create the subobject's nativized owner's CDO at load time. - Modified FEmitDefaultValueHelper::GenerateCustomDynamicClassInitialization() to emit MiscConvertedSubobject instantiations AFTER we emit the FillUsedAssetsInDynamicClass() call. This is now consistent with the code emitted for other subobjects (all of which assumes that the UsedAssets array has been initialized). - Modified FFindAssetsToInclude::HandleObjectReference() to add UField owner CDOs in addition to the owner class to the asset dependency list. This ensures that owner CDOs will be emitted alongside the class to both the nativized asset dependency table as well as to the fake import table associated with the UDynamicClass linker for the nativized BP asset. Change 3416425 on 2017/05/01 by Phillip.Kavan #jira UE-44219 - Nativizing a Blueprint class with a nativized DOBP class dependency will no longer lead to a compile error at cook/nativization time. - Modified the FGatherConvertedClassDependencies ctor to properly handle DOBPs in exclusive mode that have been explicitly enabled for nativization. Previously, this code wasn't taking that possibility into account, and as a result could lead to a missing header file in a dependent nativized class body's include set. - Modified FGatherConvertedClassDependencies::GetFirstNativeOrConvertedClass() to remove the 'bExcludeBPDataOnly' parameter, as it was primarily just being used for a redundant exclusion check when called from the FGatherConvertedClassDependencies ctor. That call site has now been modified to start searching from the super class instead. Additionally, any DOBPs will already fail the preceding WillClassBeConverted() check if they have not been explicitly enabled for nativization in exclusive mode, and will always fail if nativizing in inclusive mode. The extra check was breaking the explicitly-enabled case, so it was removed to allow explicitly-enabled DOBPs to pass. Notes: - Allowing for explicitly-enabled DOBPs in exclusive mode may be removed in a future change, but since it is currently supported, the changes noted above will at least ensure that the generated code will compile properly for now. Change 3416570 on 2017/05/01 by mason.seay Added UMG test to map. Tweaked force feedback test Change 3416580 on 2017/05/01 by mason.seay Resubmitting sub levels Change 3416597 on 2017/05/01 by Dan.Oconnor Compilation manager iteration, adds machinery for individual blueprint compilation, adds comments, cleans up duplicated code Change 3416636 on 2017/05/01 by Phillip.Kavan #jira UE-44505 - Potential fix for a low-repro crash tied to the Blueprint graph context menu. Change summary: - Switched FBlueprintActionInfo::ActionOwner to be a weak object reference. Change 3416960 on 2017/05/01 by Dan.Oconnor Use compilation manager when clicking the compile button, PIE'ing, etc Change 3417207 on 2017/05/01 by Ben.Zeigler Fix issue with None strings causing default value parsing failures Add SetPinDefaultValueAtConstruction needed by some other changes Change 3417519 on 2017/05/01 by Ben.Zeigler Fix BP compile errors caused by local variables with invalid default values. There's no reason to set autogenerated here because the nodes are transient and invisible in the UI. There is still a problem here, local variables are not getting their default values validated when type is changed, so you end up with an integer that has the default value of a struct. Change 3418659 on 2017/05/02 by Ben.Zeigler #jira UE-44534 Fix it so animation node pins get properly created autogenerated default values that are based on the node struct defaults. This fixes issues when they are reset to other defaults #jira UE-44532 Fix it so connecting an animation asset pin on a node player resets the pin value to the autogenerated default instead of the cached asset. This was causing old unused assets to get unnecessarily cooked Fix it so any animation node with an exposed pin that is an object property will reset that object propery when the pin is exposed. This fixes UE-31015 in a generic way Change the OptionalPinManager to take a Defaults address as well as a current address, to allow setting autogenerated defaults properly Remove Import/ExportKismetDefaultValueToProperty as they were redundant with PropertyValueFromString and were using the wrong pin setting functions, replaced with PropertyValueFromString_Direct and calling the schema pin set functions I need to write some backward compatibility code to fix existing nodes, I'll do that in a later checkin Change 3418700 on 2017/05/02 by Ben.Zeigler Actually fix None object paths for real this time. I did not test sufficiently before Change 3418811 on 2017/05/02 by Ben.Zeigler Fix existing animation blueprint nodes with dead asset references duplicated by pins. This code can be applied independent of the other change to fix specific games Change 3419165 on 2017/05/02 by Dan.Oconnor Add misc. functionality from FKismetEditorUtilities::CompileBlueprint Change 3419202 on 2017/05/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3417825 #rnx Change 3419236 on 2017/05/02 by mason.seay Removed OnPressed event from Widget BP Change 3419314 on 2017/05/02 by Marc.Audy Fix bad auto-resolve #rnx Change 3419524 on 2017/05/02 by Marc.Audy PR #3528: Improved Input BP library node display names (Contributed by projectgheist) #jira UE-44587 #rn Improved Input BP library node display names Change 3419570 on 2017/05/02 by Zak.Middleton #ue4 - Fix typo in TFunctionRef comment/example. Change 3419709 on 2017/05/02 by Dan.Oconnor Fix missing category metadata on SkeletonGeneratedClass when using compilation manager Change 3419756 on 2017/05/02 by Dan.Oconnor Remove unintentional verbosity increase Change 3420875 on 2017/05/03 by Marc.Audy Make IsExecPin static Minor optimization to IsMetaPin #rnx Change 3420981 on 2017/05/03 by Marc.Audy Change tagging temporarily until other changes are done so that we don't have warnings in the meantime #rnx Change 3421367 on 2017/05/03 by Marc.Audy Manually introduce changes from CL# 3398673 in 4.16 that failed to make it to Dev-Framework as a result of the integration submitted as CL# 3401725. #rnx Change 3421685 on 2017/05/03 by Ben.Zeigler #jira UE-23001 Convert literal Asset ID/Class ID pins to store path as string instead of as hard object reference. Old pins are fixed on load, after resaving the hard references will go away Refactor the way that FStringAssetReference and FAssetPtr are serialized, it now does the various fixups in FStringAssetReference::SerializePath, which is called from archivers Change it so the asset registry reads in a list of all scanned redirectors and adds them to GRedirectCollector, this means that saving a string asset reference will automatically fix it up to point to the redirector destination Change the default behavior of FAssetPtr serialize on ArchiveUObject to match what most of it's children want, and remove several special case hacks. It now serializes as asset reference when saving/loading, and as object for other cases Deprecate StringAssetReferenceLoaded/StringAssetReferenceSaving delegates, replace with PreSavePath and PostLoadPath on FStringAssetReference Make AssetLongPathname private on FStringAssetReference, it was deprecated in 4.9 Change 3421728 on 2017/05/03 by Phillip.Kavan Mirror CL 3408285 from //UE4/Release-4.16. #jira UE-44124 #rnx Change 3422370 on 2017/05/03 by Dan.Oconnor Mirror 3422359 Implement UBlueprintGeneratedClass::NeedsLoadForEditorGame to match UBlueprint, also tag a class's CDO as NeedsLoadForEditorGame. This prevents us from failing to load a UBlueprint's GeneratedClass when running the editor with -server. #jira UE-44659 Change 3423192 on 2017/05/04 by Ben.Zeigler CIS Fix Change 3423305 on 2017/05/04 by Ben.Zeigler Fix "Missing opening parenthesis" warnings for Vector and Rotator the same way they were fixed for Transform Change 3423358 on 2017/05/04 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3422809 #rnx Change 3423766 on 2017/05/04 by Ben.Zeigler #jira UE-44680 Delete some corrupted redirectors that are no longer in use Change 3423804 on 2017/05/04 by Dan.Oconnor Honor SaveIntermediateCompilerResults when using compilation manager Change 3424010 on 2017/05/04 by Marc.Audy Validate that switch string cases are unique Change 3424011 on 2017/05/04 by Marc.Audy Re-fix switch node default pin not appearing as an exec output Remove unused boolean Change 3424071 on 2017/05/04 by Ben.Zeigler Delete FixupRedirects commandlet, replace with -FixupRedirects/FixupRedirectors option on ResavePackages. This new method is much faster than the old commandlet as it uses the asset registry vs loading all packages, fixing up all redirectors in Fortnite only took about an hour vs 12+ hours the old way Removed some hacky bits in Core that only existed to support FixupRedirects Change it so the AssetRegistry listens to DirectoryWatcher callbacks in commandlets now that commandlets use the asset registry properly. This won't do anything unless you tick directory watcher the way that ResavePackages does Change 3424313 on 2017/05/04 by Dan.Oconnor Address missing property flags on SkeletonGeneratedClass when using compilation manager #jira UE-44705 Change 3424325 on 2017/05/04 by Phillip.Kavan #jira UE-44222 - Move nativized UDS implementation details into its own .cpp file in order to avoid circular dependencies. Change summary: - Modified IKismetCompilerInterface::GenerateCppCodeForStruct() to include an output parameter for CPP source and modified FKismet2CompilerModule to match the updated API. - Modified IBlueprintCompilerCppBackend::GenerateCodeFromStruct() to include an output parameter for CPP source and modified FBlueprintCompilerCppBackendBase to match the updated API. - Modified FBlueprintNativeCodeGenUtils::GenerateCppCode() to adjust the call to GenerateCppCodeForStruct() to include CPP source output. - Modified FGatherConvertedClassDependencies::DependenciesForHeader() to switch UDS property dependencies to be forward declarations rather than includes (for default value init code). - Modified FEmitDefaultValueHelper::GenerateGetDefaultValue() to emit implementation details to the 'Body' container, and adjust the header content to be a declaration only. - Modified FIncludeHeaderHelper::EmitInner() to exclude a potentially-redundant line for the module's .h file, for the case when the caller has included the base filename in the 'AlreadyIncluded' set. - Modified FEmitterLocalContext::FindGloballyMappedObject() to limit the 'TryUsedAssetsList' path to UClass conversions only (since that requires a UDynamicClass target to work). - Modified FGatherConvertedClassDependencies::DependenciesForHeader() to only include BPGC fields if they are also being converted. Eliminates an issue with missing header files in generated code. Change 3424359 on 2017/05/04 by Ben.Zeigler Fix issue where StreamableManager would break when requesting an async load that failed the first time. Because our game supports downloading assets during gameplay it's not safe to assume it will never load again. Port of CL #3424159 Change 3424367 on 2017/05/04 by Ben.Zeigler Fix some asset manager warnings to not go off in invalid cases Change 3425270 on 2017/05/05 by Marc.Audy Pack booleans/enums in UEdGraphNode and FOptionalPinFromProperty #rnx Change 3425696 on 2017/05/05 by Ben.Zeigler #jira UE-44672 Fix it so select node option pins get populated with default values properly #jira UE-43927 Fix it so select node opion pin type is correctly maintained accross node recreation, as opposed to deriving from the attached pins #jira UE-44675 Fix it to correctly refresh select node when switching from bool to integer index Change 3425833 on 2017/05/05 by Ben.Zeigler #jira UE-31749 Fix it so Undo works properly when modifying a local variable #jira UE-44736 Fix it so changing the type of a local variable correctly resets the default value Change 3425890 on 2017/05/05 by Marc.Audy Fix Copy/Paste of child actor components losing the template #jira UE-44566 Change 3425947 on 2017/05/05 by Ben.Zeigler This was meant to be part of last checkin Change 3425959 on 2017/05/05 by Ben.Zeigler #jira UE-44692 Fix it so only the sequentially last node can be removed from a Switch On Int, and for Switch On Name stop it from removing an exec pin if it's the only non-default one Change 3425979 on 2017/05/05 by Dan.Oconnor PVS fix Change 3425985 on 2017/05/05 by Phillip.Kavan Fix an uninitialized variable. #rnx Change 3426043 on 2017/05/05 by Ben.Zeigler #jira UE-35583 Correctly refresh array node UI when connecting pins that change it away from wildcard Change 3426174 on 2017/05/05 by Zak.Middleton #ue4 - Avoid call to virtual getSimulationFilterData() to only use it when needed in PreFilter if we actually have items in the IgnoreComponents list (which is rare). The sim filter data 'word2' stores the component ID. Change 3426621 on 2017/05/05 by Phillip.Kavan #jira UE-44708 - Fix an issue that re-introduced component data loss in a non-nativized child Blueprint class with a nativized parent Blueprint class. Change summary: - Removed an unnecessary additional check I had for the presence of "-NativizeAssets" switch on the command line in UBlueprint::BeginCacheForCookedPlatformData(). This check was failing because the usage was recently changed to include an optional value. It was not needed anyway so I just removed it. #rnx Change 3426906 on 2017/05/05 by Ben.Zeigler #jira UE-11189 Fix function/macro input default values to show as a pin customization instead of as a broken text box that doesn't work correctly for most types. This fixes enums and provide validation for other types Types that don't have a customization (most structs) will now show any more, they did not work before either #jira UE-21754 Hide function default values if pass by reference is set Fix it so changing input parameter will also reset default value, to avoid having the wrong type value set and to work the same as local variables Change 3426941 on 2017/05/05 by Dan.Oconnor Fix determinstic cooking of LoadAssetClass nodes in macros Change 3427021 on 2017/05/05 by Dan.Oconnor Build fix, make initialization order in source match artifact #rnx Change 3427135 on 2017/05/05 by Phillip.Kavan #jira UE-44702 - Restore code-based interface classes to Blueprint editor UI. Change summary: - Partially backed out CL# 3348513 to return to previous behavior for 4.16. The UI is no longer filtering on the __is_abstract() type trait for interface classes. - Modified FNativeClassHeaderGenerator::ExportClassFromSourceFileInner() to emit the _getUObject() declaration for native interface types as a default implementation that returns NULL rather than as a pure virtual declaration. #rnx Change 3427144 on 2017/05/06 by Marc.Audy Fix init order #rnx Change 3427146 on 2017/05/06 by Marc.Audy remove stray semicolon #rnx Change 3427242 on 2017/05/06 by Phillip.Kavan #jira UE-44744 - Fix a regression in which a UMG Widget Blueprint property not explicitly marked as a variable would cause Blueprint nativization to fail at package time. Change summary: - Modified FWidgetBlueprintCompiler::CreateClassVariablesFromBlueprint() to only add 'Category' metadata when we set the 'CPF_BlueprintVisible' flag on the UProperty, which in is now tied to whether or not the property has been explcitly marked as a variable. This avoids a UHT warning when compiling the nativized codegen that would cause packaging to fail. #rnx Change 3427720 on 2017/05/08 by Dan.Oconnor Backing out 3419202 #rnx Change 3427725 on 2017/05/08 by Dan.Oconnor SA fix #rnx Change 3427734 on 2017/05/08 by Dan.Oconnor More exhaustive GEditor null checks, to appease SA #rnx Change 3427882 on 2017/05/08 by Marc.Audy Properly order all booleans in intialization #rnx Change 3428049 on 2017/05/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3427804 #rnx Change 3428523 on 2017/05/08 by Ben.Zeigler #jira UE-44781 Refresh function input UI when blueprint graph refreshes, needed as pins may have gone away Change 3428563 on 2017/05/08 by Ben.Zeigler #jira UE-44783 If setting a hard reference pin type from a string, load the referenced object. Change 3428595 on 2017/05/08 by Dan.Oconnor Avoid node reconstruction when we're compiling a blueprint with no linker (e.g., a duplicated blueprint) #jira UE-44777 Change 3428599 on 2017/05/08 by Ben.Zeigler #jira UE-44789 Fix string asset renamer to not mark IsPersistent becuase that crashes in lightmap code, change it so the path fixup doesn't require the persistent flag Change 3428609 on 2017/05/08 by Dan.Oconnor Improved fix for UE-44777 #jira UE-44777 #rnx Change 3429176 on 2017/05/08 by Phillip.Kavan #jira UE-44755 - Fix nativization build errors when packaging a game project that is not IWYU-compliant for a build target that disables PCH files. - Mirrored from //UE4/Release-4.16 (CL# 3429030). #rnx Change 3429198 on 2017/05/08 by Phillip.Kavan CIS fix. #rnx Change 3429583 on 2017/05/08 by Ben.Zeigler Fix SGraphPinClass to work properly after my changes to allow unloaded assets. For Class pins we need to store separate Runtime and Editor asset data objects, as one has _C and refers to the class, and the other doesn't and refers to the blueprint. The content browser wants the editor path, the pin defaults want the runtime path. Change default value widgets to look more like properties widgets by forcing them to act as highlighted and disabling black background Change 3429640 on 2017/05/08 by Marc.Audy Fix issues with select nodes in macros connected to wildcard pins. #jira UE-44799 #rnx Change 3429890 on 2017/05/08 by Ben.Zeigler Fix function/macro defaults to properly propagate when changed using the new edit UI Refactor some code out of the details customization into the k2 schema Disable defaults UI for object/class/interface hard references as it is disabled in KismetCompiler Change 3429947 on 2017/05/08 by Michael.Noland Core: Backing out CL# 3394352 (marking FDateTime and FTimespan nonexport member Tick with UPROPERTY()), which will re-break UE-39921 but fix UE-44418 There appears to be a more serious underlying issue with how the CDO is instanced which needs to be addressed #jira UE-44418 #reimplementing 3411681 from Release 4.16 Change 3429987 on 2017/05/08 by Ben.Zeigler #jira UE-44798 Do a better job of validating object paths saved as default values, due to an old bug with local variables some object paths are saved as struct exportext At load time clear invalid default value for local variables Add IsValidObjectPath to FPackageName that validates the passed in path would be valid to load with LoadObject Change 3430392 on 2017/05/09 by Marc.Audy Fix SA CIS error #rnx Change 3430747 on 2017/05/09 by Ben.Zeigler #jira UE-44836 Don't reconstruct node during callback for param value changing, this can happen during a reconstruction and recursive reconstruction is unsafe Don't call ModifyUserDefinedPinDefaultValue unless the default value has actually changed Change 3431027 on 2017/05/09 by Marc.Audy Fix BPRW mark up causing Ocean warnings #rnx Change 3431353 on 2017/05/09 by Marc.Audy Fix UHT error due to exposing FJsonObjectWrapper to blueprints #rnx [CL 3431398 by Marc Audy in Main branch]
2017-05-09 17:15:32 -04:00
Con2Frame = ConstraintComp->GetComponentTransform();
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3362413) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3281394 on 2017/02/01 by Chad.Garyet one more try on the name here, with the extension this time Change 3286009 on 2017/02/03 by Jon.Nabozny Fix SkelMeshMerge duplicating Skeleton sockets. #jira UE-39690 Change 3288374 on 2017/02/06 by Jon.Nabozny Fix MaterialIndex checks in USkinnedMeshComponent::GetMaterial Change 3288640 on 2017/02/06 by Jon.Nabozny #rn Fix UPhysicsConstraintComponent details to allow modification of MaxForce, Stiffness, and Damping for Linear and Angular constraints. #jira UE-40261 Change 3288978 on 2017/02/06 by Jon.Nabozny Add code to debug for duplicate sockets in UQAMeshMergeComponent::MergeMeshes. Change 3290332 on 2017/02/07 by Marc.Audy Add AnimPhys object version Change 3290753 on 2017/02/07 by Jon.Nabozny Update CoM documentation for CoM offset. #jira UE-40136 Change 3290783 on 2017/02/07 by Jon.Nabozny Update mass dependent wheel properties in UWheeledVehicleMovementComponent when mass is updated. #jira UE-39820 Change 3292286 on 2017/02/08 by Jon.Nabozny Fix OSSNull query filtering. #codereview: John.Pollard, Josh.Markiewicz, JohnHenry.Carawon #jira: UE-37512 Change 3294138 on 2017/02/09 by Thomas.Sarkanen Add more descriptive name for sub-struct members in property tracks Change 3294139 on 2017/02/09 by Thomas.Sarkanen Moving to individual structs for limbs Change 3294140 on 2017/02/09 by Thomas.Sarkanen Updated base human asset to reflect limb changes Updated map to just contain the mannequin for now Updated Sequence to contain some default IK keys Change 3294178 on 2017/02/09 by Thomas.Sarkanen Fix shadow variable warning Change 3294554 on 2017/02/09 by Thomas.Sarkanen Fixed persistent limb drift issues with non-participant bones Still have rotational drift with IK chain nodes (still to fix). Also fixes the addition of initial keys on binding when animating. Also fixes not being able to pick the widget sometimes when picking nodes in the tree. Change 3294826 on 2017/02/09 by Chad.Garyet fixing up busted defaultvalues on physx and precompiled binaries Change 3294827 on 2017/02/09 by Thomas.Sarkanen CIS fixes for non-editor and monolithic builds Change 3296363 on 2017/02/10 by Thomas.Sarkanen Fix bone drifting Re-using local transforms then resetting each update pass was accumulating error (via GetRelativeTransform), causing limbs to drift. To address this, simply set the global transform in the case where we know the local transform wont change. Also optimized the hierarchy API a little & prevented excess work when nothing changes. Change 3296393 on 2017/02/10 by James.Golding Add support for clicking on PoseDriver targets in viewport Change 3296465 on 2017/02/10 by Thomas.Sarkanen Removed component visualizer (no longer used) Change 3296467 on 2017/02/10 by Thomas.Sarkanen Fixed extra keys being made when switching IK/FK mode. Now we only key on user action. Added ability to hide nodes (advanced setting) and manipualtors (on playback) Change 3296554 on 2017/02/10 by Thomas.Sarkanen Fixed up some workflow issues Widget visibility and the ability to move actors around is now corrected by calling the base FEdMode class functions appropriately. Added a focus of the chosen actor so orbiting the actor is easier. There is a hitch when we do this (probably because Sequencer is re-initialized the next frame), so we miss the nice transition. Change 3296621 on 2017/02/10 by Thomas.Sarkanen Added ability to specify manipulator type when adding Not exposed in the 'add' UI yet, just enough to allow me to batch-change the ones we have for now Also tweaked default extents for box manipulators. Change 3296622 on 2017/02/10 by Thomas.Sarkanen Changed FK manipulators to boxes Change 3296740 on 2017/02/10 by James.Golding Added bOnlyDriveSelectedBones option to PoseDriver Change 3296957 on 2017/02/10 by James.Golding Fix AnimNode_PoseHandler using mesh bone index not compact bone index for setting up BoneBlendWeights array Change 3297092 on 2017/02/10 by Jon.Nabozny #rn Fix InstancedStaticMesh not properly creating physics state when Stationary. #JIRA UE-39876 Change 3297160 on 2017/02/10 by Ori.Cohen Temp fix for physx immediate mode crashing when 0 rows are generated. Change 3297203 on 2017/02/10 by Ori.Cohen Temp fix for immediate mode crash when free joints are batched together #JIRA UE-41026 Change 3297326 on 2017/02/10 by Jon.Nabozny PR #2965: Update comments in several classes within demo projects to match style present and provide more detail for new users (Contributed by Markyroson) Changed some of the comment blocks to multiple single line (inside definitions). This is for consistency with our codebase. #JIRA UE-38981 Change 3297618 on 2017/02/10 by Charles.Anderson Arcblade - GDC - Created a new mor polished Phat for this. Probably not gonna use it. - Created a Ragdoll asset. Need to talk to Ori about getting it working better. Change 3297799 on 2017/02/10 by mason.seay Test map for testing audio attenuation Change 3297940 on 2017/02/10 by Jon.Nabozny #rn Fix ConstraintComponentVisualizer with AngularOffset. Needed to apply local transform before world. #JIRA UE-39597 Change 3297947 on 2017/02/10 by Chad.Garyet adding automated test build option Change 3299203 on 2017/02/13 by Thomas.Sarkanen Fixed local coord system issues with rotation (etc). Delta transforms are supplied in the space we specify in GetCustomDrawingCoordSystem(), so we now perform our operations in that space, then convert back when applying to the animation. Fixed up to allow for animating actors with transformed skeletal mesh components. Also added some proximity scaling to manipulators. Change 3299220 on 2017/02/13 by Thomas.Sarkanen Fixed CIS missing include Change 3299343 on 2017/02/13 by Lina.Halper Spine twist/roll check in - control points are disabled #rb: Thomas.Sarkanen Change 3299388 on 2017/02/13 by James.Cobbett Updating QA-Physics map Change 3299518 on 2017/02/13 by Lina.Halper fix build issue #rb: none Change 3299701 on 2017/02/13 by Ori.Cohen Add finer grain physx stat information. Change 3299894 on 2017/02/13 by Ori.Cohen Added LOD support for immediate mode physics Change 3299906 on 2017/02/13 by James.Cobbett Updating QA-Collision map with new test scenarios Change 3299962 on 2017/02/13 by Ori.Cohen Fix shadow warning Change 3300100 on 2017/02/13 by Lina.Halper - renamed Constraint Axes option to FFilterOptionPerAxis : was going to reuse it for something else but didn't have to but left name changed because it makes more sense - enable control point reading part - twist/roll controll is localspace reader - BaseHuman #rb: none #code review:Thomas.Sarkanen Change 3300206 on 2017/02/13 by Ori.Cohen Rename Ragdoll node to RigidBody node Change 3300899 on 2017/02/13 by Alan.Noon Migrating Paragon Origin and Origin Small maps content. Change 3301279 on 2017/02/14 by Jurre.deBaare Mesh paint refactor Change 3301288 on 2017/02/14 by Jurre.deBaare Incremental CIS fixes Change 3301290 on 2017/02/14 by Jurre.deBaare Another CIS fix Change 3301311 on 2017/02/14 by Thomas.Sarkanen Fixed non-editor builds Change 3301313 on 2017/02/14 by Jurre.deBaare More CIS fixes Change 3301315 on 2017/02/14 by Jurre.deBaare Include CIS fix Change 3301333 on 2017/02/14 by Jurre.deBaare Non-Unity CIS fixes Change 3301388 on 2017/02/14 by Benn.Gallagher CIS fix for cloth create panel Change 3301445 on 2017/02/14 by Benn.Gallagher Last few changes over from the mesh paint branch hooked up LOD dropdown box Moved asset selection out of details panel Change 3301527 on 2017/02/14 by mason.seay Deleting unneeded map Change 3301531 on 2017/02/14 by mason.seay Renaming Map to fix naming scheme Change 3301558 on 2017/02/14 by Ori.Cohen Fix physx stats not being counted properly as we were not using static data. Change 3301604 on 2017/02/14 by Ori.Cohen Fix static analysis warning Change 3301615 on 2017/02/14 by Jurre.deBaare All. The. CIS. Fixes Change 3301630 on 2017/02/14 by mason.seay Updating Map for testing Change 3301697 on 2017/02/14 by mason.seay Final change to map Change 3301734 on 2017/02/14 by Jurre.deBaare - Crash CTRL-Z when having cloth painter and paint mode open - Fill action not being undo-able - Import vertex colors should default to to-instance - Paint mode buttons in level painter are now toggle buttons (clarifies UI for user) Change 3301763 on 2017/02/14 by Jurre.deBaare - Fix for asset without engine version - Fix for crash due to missing skeletal mesh permutation in mesh paint view modes Change 3302421 on 2017/02/14 by Lina.Halper Fixed issue where spline gets incorrect position when it has many control points. #rb: Thomas.Sarkanen Change 3302667 on 2017/02/14 by Lina.Halper - added spine control points to work - FK/IK switch isn't working great yet. Don't try - disabled all twist/roll handling since control point itself can twist also and they were conflicting each other - added option to add fk nodes, change parnets - fixed issue with drawing skeleton drawing, when parents weren't added yet. - Added neck/head/body control #code review: Thomas.Sarkanen #rb: none Change 3303200 on 2017/02/14 by Alan.Noon Collision shapes for Immediate Mode Ragdolls Change 3303201 on 2017/02/14 by Alan.Noon Adding Origin, Full Map Change 3303477 on 2017/02/15 by James.Golding Add Get and SetComponentForAxis to FVector and FRotator Change 3303478 on 2017/02/15 by James.Golding Add support for multiple source bones to PoseDriver Change 3303480 on 2017/02/15 by James.Golding Added per-scene frame number, handles cases like motion blur caching. Refactored GPUSkinCache to have an explicit frame advance function, called after all viewports have rendered in game/editor, PostRenderAllViewportClients. (Original author Chris.Bunner) Change 3303513 on 2017/02/15 by Jurre.deBaare CIS: Linux file name case fixes and incorrect pragma once Change 3303576 on 2017/02/15 by Thomas.Sarkanen Sub-sequence sections can now override how they instance their template Added UMovieSceneSubSection::GenerateTemplateForSubSequence. This just performs the original call to SubSequenceStore.GetCompiledTemplate in the dcefault case. Allowed non-const access to FMovieSceneEvaluationTemplate::GetTracks so they can be potentially modified once instanced. Added access for FMovieSceneEvaluationTrack::ChildTemplates. Change 3303578 on 2017/02/15 by Thomas.Sarkanen Rich curves can now be transformed post-copy correctly Using GetKeyIterator rather than aquiring the iterator directly makes sure we have valid key handles, which we dont if we have just copied the curve. Change 3303579 on 2017/02/15 by Thomas.Sarkanen Added GetLinkNode to complement SetLinkNode in FAnimNode_Base Change 3303580 on 2017/02/15 by Thomas.Sarkanen Made the logic around when sub-tracks can be primed for recording more specific Prevents rig control sub tracks form being able to be primed. Change 3303581 on 2017/02/15 by Thomas.Sarkanen Allowing alpha on rig tracks to work Alpha curve is now pushed down to tracks on template compilation along with bone masks & additive flag. Sequencer anim instance updated to use new flags. Structure altered to accomodate layered blending for masked body parts (should probably push this to the regulat sequence instance too). Moved anim node to local space (now it is just derived form FAnimNode_Base). Also fixed opening/binding order issues - Now you should be able to open a sequence, bind to an actor and create a new rig control in a sequence in any order. Change 3303582 on 2017/02/15 by Thomas.Sarkanen Fixed UE4Game CIS - Moved AddConstraint() to non-editor-only Also fixed crash in property chain iteration (for non-existent array properties) Change 3303594 on 2017/02/15 by Jurre.deBaare Fix for crash on deleting painted actors Change 3303636 on 2017/02/15 by Lina.Halper -remove temp code to add constraints. - they serialize, so once you add them you don't have to add these anymore. This will move to editor menu soon. #rb: none Change 3303648 on 2017/02/15 by Martin.Wilson Fix reimport crashes if the animation uses additive transform tracks. #jira UE-41929 #jira UE-41921 Change 3303652 on 2017/02/15 by Benn.Gallagher Added merged Ice mesh with new simulation mesh to match mesh from APEX version. Change 3303660 on 2017/02/15 by Benn.Gallagher map update for clothing demo Change 3303662 on 2017/02/15 by Benn.Gallagher State machine update for Ice anim Change 3303676 on 2017/02/15 by mason.seay Adjusted sound actor location Change 3303689 on 2017/02/15 by Benn.Gallagher Updated Ice mesh to have clothing present on the back part of the dress Change 3303691 on 2017/02/15 by Jurre.deBaare CIS fixes for pose driver details Change 3303704 on 2017/02/15 by Lina.Halper Add FK limb links - enabled temp code to add constraints. It's not serialized from BP editor, so this has to be added everytime. Will fix this in the futre check-ins #rb:none Change 3303716 on 2017/02/15 by Thomas.Sarkanen Updated manipulators to always draw in front of the mesh Added material & enabled content for the plugin. Change 3303730 on 2017/02/15 by thomas.sarkanen Resaving manipulator material with correct engine version Change 3303754 on 2017/02/15 by Thomas.Sarkanen Fix manipulators popping to max size when manipulating Change 3303835 on 2017/02/15 by Thomas.Sarkanen Fix hitch by not displaying spawned objects if we dont have a sequence focused. Change 3303843 on 2017/02/15 by Lina.Halper Added normalize rotation on inputs/outputs #code review: Thomas.Sarkanen #rb: none Change 3303916 on 2017/02/15 by Jurre.deBaare CIS: Linux incorrect pragma once Change 3304084 on 2017/02/15 by James.Golding Update pose driver test after addition of multi-bone input Change 3304188 on 2017/02/15 by James.Golding Add custom remap curve option per-target in PoseDriver Change 3304189 on 2017/02/15 by James.Golding Fix CIS for ControlManipulator.cpp Change 3304210 on 2017/02/15 by Alan.Noon Added hidden collision objects for stairs area. Added brighter lighting on plinth area. Hooked up minion placement randomization. Added 100 minions to minion level for ragdol Change 3304327 on 2017/02/15 by Alan.Noon Created new Persistent levels for each Anim Tech demo, which loads in Origin_Small_P Change 3304337 on 2017/02/15 by Alan.Noon renamed minion demo level for GDC Change 3304508 on 2017/02/15 by Lina.Halper - You can see constraints in the tree view (full edit mode) - YOu can add or update constraints (using update constraints button) - You can delete constraints - Cleaned up constraints interface #rb: none #code review: Thomas.Sarkanen Change 3304537 on 2017/02/15 by chris.evans !N Initial PSD test [chrise] Change 3304551 on 2017/02/15 by James.Golding Fix missing 'break's from SetComponentForAxis in FVector and FRotator Change 3304570 on 2017/02/15 by Chris.Evans !N Source assets for psd test #RB none Change 3304964 on 2017/02/15 by Lina.Halper fix build issue #code review: James.Golding #rb: none Change 3304998 on 2017/02/15 by Chris.Evans !B Checking in correct FBX #RB none Change 3305314 on 2017/02/15 by chris.evans !N Adding materials driven !N Adding 'simulation' animation which simulates the driven result Change 3305355 on 2017/02/15 by chris.evans !N Initial test shoulder pose Change 3305357 on 2017/02/15 by chris.evans !N Initial Mambo shoulder ROM Change 3305446 on 2017/02/15 by Lina.Halper fixed CIS error #rb: none #code review: Thomas.Sarkanen Change 3305768 on 2017/02/16 by Jurre.deBaare CIS: Clang compile errors Change 3305857 on 2017/02/16 by thomas.sarkanen Removed particle systems from top plinth as they interfere with selection and obscure demo somewhat. Change 3305907 on 2017/02/16 by Thomas.Sarkanen Fix hitches on selection of multiple keys Prevented multiple seleciton callbacks being called for each key (we now just edit the selection then broadcast later). Dont force the details panel to refresh if nothing has changed. Make sure we make a list of unique object IDs when processing the selection delegate, as we get an object ID per track. Change 3305910 on 2017/02/16 by Thomas.Sarkanen Allow multiple instances ot the same parameterized subsequence to exist and function correctly Subsequences in the store are now keyed off an optionally specified 'other' object. In the case of parameterized subsequences, this object is the section. Editor only right now - cooked builds are still to come Change 3305911 on 2017/02/16 by Thomas.Sarkanen Fix NaNs from uninitialized poses Change 3305922 on 2017/02/16 by Thomas.Sarkanen BuiltData for Origin_Small_P Change 3305927 on 2017/02/16 by Thomas.Sarkanen Moved ControlRig->ControlRigDemo in preparation for keeping all assets in one folder Added some test assets Change 3305928 on 2017/02/16 by Thomas.Sarkanen Dont select actors when we bind to them Selection can sometimes look bad and obscure the character. Change 3306118 on 2017/02/16 by Thomas.Sarkanen CIS fix Change 3306230 on 2017/02/16 by Jurre.deBaare CIS fix for linking errors on specific platforms #test compile PS4 OrionGame Change 3306378 on 2017/02/16 by Martin.Wilson First pass Live Link system (Initially from //Tasks/UE4/Dev-Causeway) - Live Link Maya plugin build files (builds a .mll file that can be loaded into Maya) - Live Link Interface (editor module with interface files) - Live Link Message Bus Framework (editor module with files needed for building message bus based live link plugins) - Live Link (experiemental plugin that contains editor part of live link system) Change 3306388 on 2017/02/16 by Lina.Halper - build issue fix - also tweaked display name to display only node name in editing mode #rb: none Change 3306455 on 2017/02/16 by Jon.Nabozny #rn Perf improvements to FAnimNode_RigidBody. Cache bounds to prevent unnecessary overlap updates. Move overlaps off game thread. Change 3306591 on 2017/02/16 by Martin.Wilson Updates to live link - Copyright changes (some were still 2016) - Rename BlankMayaPlugin to LiveLinkMayaPlugin Change 3306907 on 2017/02/16 by Jon.Nabozny MinionDemo Content Perf Pass. Change 3306914 on 2017/02/16 by Thomas.Sarkanen Back out changelist 3305857 and 3305922 Reverts particle system changes to Origin_Small_P Change 3306942 on 2017/02/16 by Martin.Wilson Live link demo content -Feng mao mesh that matches maya scene - LiveLinkGDC Map - Beginning of camera control sequencer Change 3307154 on 2017/02/16 by Alan.Noon Merged in new content to fix badly collapsed BP Static meshes deleted ragdoll minions for new posing. Stopped animation on spawn pad materials Change 3307382 on 2017/02/16 by Martin.Wilson Fix CIS (Add virtual destructor to ILiveLinkSource) Change 3307497 on 2017/02/16 by chris.evans !N Moving mats Change 3307541 on 2017/02/16 by Chris.Evans !B Rebuilding test assets with new skeleton Change 3307873 on 2017/02/16 by Chris.Evans !N Mambo updates Change 3307875 on 2017/02/16 by Chris.Evans !R Update to blueprint Change 3308030 on 2017/02/16 by Alan.Noon Changed lighting of Origin_Small_P based on feedback. Placed new objects were previous were exhibiting bad lightmaps. Change 3308246 on 2017/02/16 by Alan.Noon Consolidated new lighting content from sublevels into Origin_Small_P. Hooked up Physics asset to ArcBlade Skeletal mesh Change 3308470 on 2017/02/16 by Lina.Halper - make sure all are hooked up properly to pelvis and spine_03 - no multiple pelvis anymore. Using one to tweak all of them. all limbs are connected through constraints - make sure end effector rotation is modifying IK's last chain rotation - had to hack for saving offset for IK/FK switch mode but it works fine - fixed lots of constraint issue with deleting node, parent constraints. Added new spine after that fix. #rb:none #code review: Thomas.Sarkanen Change 3308764 on 2017/02/17 by Jurre.deBaare Fix for non-unity Orion game build Change 3308774 on 2017/02/17 by Thomas.Sarkanen Added multi-selection of manipulators Allowed BoxSelect, FrustumSelect and SelectNone to be overriden by the edit mode. Our edit mode doesnt have a sub-tool, it handles everything itself. Also fixed manipulators drawing in front of widget Changed manipualtors to be world-relative rather than screen relative scaled. Tweaked proximity to be stateful so we only highlight the closest node Also fixed slow FPS when dragging. Change 3308802 on 2017/02/17 by James.Golding Fix 'apply custom curve' for pose driver targets being on by default Change 3308824 on 2017/02/17 by Lina.Halper Fix build issue #code review:Thomas.Sarkanen #rb: none Change 3308851 on 2017/02/17 by James.Golding Add new control manipulator picking UI Change 3308863 on 2017/02/17 by Martin.Wilson Enable Live Link plugin in AnimTechDemo Change 3308880 on 2017/02/17 by Thomas.Sarkanen Getting instanced subsequences working in cooked builds Change 3309009 on 2017/02/17 by Benn.Gallagher Mask support and UI, not hooked up to painter yet Added clothing tools experimental flag and hooked up Change 3309016 on 2017/02/17 by Martin.Wilson Clean up engine provided output devices and supply a Maya one, stops Maya hanging on shutdown Change 3309108 on 2017/02/17 by Jurre.deBaare CIS fix: missing definition of FWeakObjectPtr (strangely not part of CoreMinimal) Change 3309134 on 2017/02/17 by Jurre.deBaare Crash in texure painting mode #fix Required some extra checks for new setup (can only paint while having one mesh selected) Issue with vertex paint propagating to lower LOD levels #fix There was no setup to propagate colors from source static mesh data so added the path #misc Re-added flow painting and removed flow-strength property #misc Added detail customization for texture paint UV channel Change 3309256 on 2017/02/17 by Benn.Gallagher CIS fix Change 3309393 on 2017/02/17 by James.Golding Set color for kinematic controls Change 3309410 on 2017/02/17 by Ori.Cohen PR #3221: Kinematic body interpolation in substepping causes invalid raycasting/sweeping/overlapping (Contributed by PhoenixBlack) Change 3309469 on 2017/02/17 by Benn.Gallagher Added ContentExamples cloth assets Added camera transitions and controls Cleanup logic Move characters and materials onto upper plinth Hid actor mesh from game view. Change 3309625 on 2017/02/17 by mason.seay Resaving assets to remove warnings Change 3309802 on 2017/02/17 by Alan.Noon Modified Origin_Small_P lighting. Set up ArcBlade for presentation Change 3309985 on 2017/02/17 by Thomas.Sarkanen Fixed crash adding multiple rigs to sequence If a hierarchy is empty, dont attempt to access a non-existent node #jira UE-42103 Change 3310209 on 2017/02/17 by Lina.Halper - Fix limbs detaching issues - added set translation to override translation - moved joint targets away from the limbs - Spine FK is on by default - spnie IK/FK switch should work better. It can still pop depending on your control point can handle or not. #rb: none Change 3310389 on 2017/02/17 by Chris.Evans !N Mambo multi-joint pose demo Change 3310911 on 2017/02/18 by Lina.Halper Ice/Mambo mapping fix with BaseHuman Change 3311138 on 2017/02/19 by James.Golding - Allow multi-select in control picker - Clicking on background clears selection - Add 'Select All' button - Darken controls that are disabled (is in different kinematic mode) - Use selection color from control instead of outline - Center and fit picker to details panel width - Remove entire Nodes section of edit mode panel (not just tree) - Fix rig properties not scrolling - Place picker in expandable area, collapsed when no rig selected Change 3311147 on 2017/02/19 by Thomas.Sarkanen Fix spine keying Add the ablity for array elements to be keyed directly. The spine properties are FTransforms in an array and previously it ignored them because of assumptions about allowed structures. This should probably be refactored to a more generic 'traverse up my property chain looking for Interp properties' at some point in the future. Change 3311150 on 2017/02/19 by Thomas.Sarkanen Synchronizing sequencer selection Now enter key works for keying selected tracks Added new way to select sequencer tracks externally via property paths. Change 3311152 on 2017/02/19 by Thomas.Sarkanen Missed files Change 3311153 on 2017/02/19 by Thomas.Sarkanen CIS fixes Change 3311154 on 2017/02/19 by Thomas.Sarkanen File I missed (CIS fix) Change 3311156 on 2017/02/19 by James.Golding Change 'ControlRig Edit Mode' icon Change 3311176 on 2017/02/19 by Lina.Halper Fix build issue #rb:none #code review: Thomas.Sarkanen, Jurre.DeBarre, James.Golding p.s. not sure who's code, so just adding everybody I can think of Change 3311261 on 2017/02/19 by Lina.Halper - Fixed an issue when you don't have parent in the rig - get all component space, and convert to local #rb:none #code review: Thomas.Sarkanen Change 3311282 on 2017/02/19 by Lina.Halper Fixed issue where pivot location is incorrect when mapping to other meshes #rb: none #code review:Thomas.Sarkanen Change 3311491 on 2017/02/20 by Thomas.Sarkanen CIS fix Change 3311497 on 2017/02/20 by Jurre.deBaare Game editor compile error #fix WITH_EDITORONLY_DATA instead of WITH_EDITOR ifdef around UPROPERTY Change 3311507 on 2017/02/20 by Jurre.deBaare Cloth paint progress - Different approach / refactored out paint ray retrieval - Added key input callback to IMeshPainter and derived classes - Added toggle for showing invisible vertices - Added gradient paint tool - Details customization for brush/gradient tool settings - Some cleaning Change 3311527 on 2017/02/20 by Jurre.deBaare CIS header guard warning Change 3311530 on 2017/02/20 by Jurre.deBaare CIS dereferencing possible nullptr warning Change 3311533 on 2017/02/20 by Jurre.deBaare CIS dereferencing warning (better fix) Change 3311543 on 2017/02/20 by James.Golding Add buttons for switching IK/FK mode of limb/spine to picker Put picker and details panel in a scroll box Fix spine manipulators not being hidden when disabled Change 3311649 on 2017/02/20 by James.Golding R key now toggles manipulator visibility Change 3311707 on 2017/02/20 by Lina.Halper Added Clavicle FK controls #code review: Danny.Bouimad Change 3311764 on 2017/02/20 by Martin.Wilson Update cameras for Live link demo map and turn on recompute tangents on Feng Mao Change 3311858 on 2017/02/20 by Chris.Evans !R Updated with pose values Change 3312043 on 2017/02/20 by Jon.Nabozny Change SkelMeshMerge logic to fix duplicates (again) and fix crash. #jira UE-39690, UE-42146 Change 3312046 on 2017/02/20 by Thomas.Sarkanen Fix crash drag/dropping skeletal mesh #jira UE-42139 - Crash when adding SK_Mannequin to a Level Sequence in QAGame Change 3312052 on 2017/02/20 by James.Golding Change manipulator colors to red for right, blue for left, white for middle Change IK/FK switch buttons to yellow/purple Move picker buttons to take up less horizontal space Move IK/FK switch button positions out of C++ Change 3312137 on 2017/02/20 by Ben.Marsh Fix settings for using precompiled binaries in Dev-AnimPhys. Change 3312517 on 2017/02/20 by Alan.Noon Created new persistent level for Chris E's demo. Placed a few minions for CharlesA to test improved ragdoll asset. Tuned lighting in Origin_Small_P and fixed light leaks. Change 3312570 on 2017/02/20 by Charles.Anderson More work on Arcblade Ragdoll for GDC Change 3312594 on 2017/02/20 by Alan.Noon MultipleJointPoseDriving_GDC_P_pose_test_level Change 3312637 on 2017/02/20 by Alan.Noon Reconciling offline content Change 3312902 on 2017/02/20 by Charles.Anderson Minions for GDC Change 3313206 on 2017/02/20 by Ori.Cohen Added trimesh support for immediate mode. Change 3313247 on 2017/02/20 by Chris.Evans !N updated with both demo assets in one map Change 3313447 on 2017/02/20 by Ori.Cohen Fix immediate mode collision not working with convex transforms being baked in Change 3313472 on 2017/02/20 by Ori.Cohen Fix crash caused by missing switch case break Change 3313518 on 2017/02/20 by Lina.Halper IK knee issue/Twist issue #code review: Thomas.Sarkanen, James.Golding #rb: none Change 3313547 on 2017/02/20 by Lina.Halper Fixed Body-Ctrl to work with every node. Change 3313617 on 2017/02/20 by Lina.Halper - Fix for limbs delaying when moving BodyCtrl - Fix for additive issue for control rig anim node #rb: none #code review: Thomas.Sarkanen Change 3313618 on 2017/02/20 by Lina.Halper remove unnecessary calc #rb:none Change 3313625 on 2017/02/20 by Lina.Halper Fixed body ctrl move keys - all IK keys also have to be in local space (but they're local to body_ctrl) Change 3313633 on 2017/02/20 by Alan.Noon Quick laying out of Minions for stress testing. Iterated on Environment collision.Built lighting Change 3313655 on 2017/02/20 by Lina.Halper - Fixed so that you can tweak pelvis and move body also - Fixed mambo mapping Change 3313897 on 2017/02/21 by James.Golding Make all FK manipulators smaller (3 instead of 4.5) Change 3313898 on 2017/02/21 by James.Golding Integrate CL 3311876 to Dev-AnimPhys (original author Rolando.Caloca) DR - Expose skin cache cvar r.SkinCache.AccumulationBufferSizeInKB Change 3313902 on 2017/02/21 by James.Golding Draw lines from IK target to mid-joint Change 3313906 on 2017/02/21 by Thomas.Sarkanen Fix undo/redo/save t-pose and crashes Binding now only does what it needs to do an no more (i.e. force a reig evaluation and re-select the rig we are looking at). Object spawner now does not root its objects. Rather it hangs them off of a 'holder' object so that they can exist safely in the transaciton buffer. Change 3313938 on 2017/02/21 by Benn.Gallagher Migrated clothing assets Change 3313982 on 2017/02/21 by James.Golding Fix static analysis in ClothPainter.cpp Change 3313985 on 2017/02/21 by Benn.Gallagher Fixed crash when attempting to create clothing with degenerate triangles. Now a log error and toast warn the user of conincident tri points. #jira UE-41935 #rnx Change 3314052 on 2017/02/21 by James.Golding Fix CIS in ControlRigEditModeSettings.cpp Change 3314100 on 2017/02/21 by Lina.Halper IK fix for retargeting - using rig transform and remapping doesn't work. I'll have to use mesh space for IK at least. It still does blend in rig space, though with FK. #rb: none Change 3314160 on 2017/02/21 by Thomas.Sarkanen Added optional node trajectories Added trajectory cache which uses similar mechanisms to the thumbnail cache to build trajectories for nodes. Builds trajectories and their meshes incrementally when relevant things change Change 3314167 on 2017/02/21 by James.Golding Fix undo when pushing IK/FK toggle buttons Change 3314168 on 2017/02/21 by Benn.Gallagher Disabled skin cache on tech demo project Change 3314290 on 2017/02/21 by Lina.Halper - Cleaned up code a bit - Fixed thigh to rotate to target and fixed a bug that caused jittering #rb: none Change 3314418 on 2017/02/21 by Thomas.Sarkanen Fix CIS issue Change 3314428 on 2017/02/21 by Thomas.Sarkanen Fixup anim node to be of correct editor-time type Caused crash when placed in an anim BP Change 3314574 on 2017/02/21 by Thomas.Sarkanen Fixed crash on shutdown #jira UE-42214 Change 3314705 on 2017/02/21 by Alan.Noon Iterating on map collision. Made minion weapon joint unbreakable Change 3314722 on 2017/02/21 by Alan.Noon Moved minions back into Minion demo Persistent level. Change 3314778 on 2017/02/21 by Lina.Halper added neck/ball_r/l control #code review: Daniel.Bouimad Change 3314908 on 2017/02/21 by Ori.Cohen Temp fix for cloth bounds issue. Change 3314920 on 2017/02/21 by Alan.Noon Placing minions. Iterating collision Change 3314970 on 2017/02/21 by Lina.Halper added bone picker for toes, neck Change 3315006 on 2017/02/21 by Benn.Gallagher Fixed clothing bounds issue with empty simulations. Change 3315017 on 2017/02/21 by Lina.Halper fix crash on null proxy #rb: Benn.Gallagher Change 3315054 on 2017/02/21 by Alan.Noon Placing minions Change 3315671 on 2017/02/21 by Chris.Evans !B Fixed default material !N Added physics subgraph for Mambo !N Added third 'gameplay' complex example Change 3315693 on 2017/02/21 by chris.evans !N Enabling tangent recompute on Mambo face and arm pits. Change 3315838 on 2017/02/21 by Alan.Noon New Orbital Laser Pawn. New ragdoll sublevels for minion demo (400 minions) Change 3316206 on 2017/02/22 by Thomas.Sarkanen Fix shadowed variables Change 3316207 on 2017/02/22 by Thomas.Sarkanen Manipulators are now transparent Change 3316258 on 2017/02/22 by Jurre.deBaare - Fix for changing levels while force painting to a specific LOD - Brush depth not same as in main Change 3316259 on 2017/02/22 by Jurre.deBaare Fix for paint verts being rendered outside of painting area #misc want to change underlying behaviour for the brush representation but this'll patch it up for now Change 3316260 on 2017/02/22 by Jurre.deBaare Changed default paint brush settings Change 3316267 on 2017/02/22 by Jurre.deBaare Added channel paint flags to texture painting settings #misc might want to create base class for common paint settings Change 3316268 on 2017/02/22 by Jurre.deBaare Fix for issue with viewport color mode not being reset when exiting mesh paint mode #jira UE-42221 Change 3316278 on 2017/02/22 by James.Golding Fix crash when pose asset contains a bone that is not in the mesh Change 3316304 on 2017/02/22 by Thomas.Sarkanen Prevent sequencer from reselecting tracks when keys are selected Also fixed crash concurrently modifying an itterating TSet when removing selection nodes. Also made manipualtors not grow and shrink when transacting. Also tweaked sequencer selection to not allow movement of infinite areas - this allows us to start drag-selecting over these tracks rather than trying to move a seciton that cannot be moved. #jira UE-42164 Change 3316325 on 2017/02/22 by James.Golding Hook up Mambo physics as 'Pose Process AnimBP' Change 3316384 on 2017/02/22 by James.Golding Slow down mambo anim playback rate Change 3316385 on 2017/02/22 by Jurre.deBaare CIS: Deprecation warning fix Change 3316424 on 2017/02/22 by Lina.Halper #fix : control rig mapping fix for Mambo #lockdown: James.Golding Change 3316525 on 2017/02/22 by Lina.Halper - Fixed so that the mapping happening with retarget base pose, not ref pose - Added refresh mapping option for all nodes to refresh bone transform - in case you change retarget base pose - WIP of fingers, don't think we'll make it to demo, but it is still wip going in. #lockdown: James.Golding #rb: none #code review: Thomas.Sarkanen, James.Golding Change 3316684 on 2017/02/22 by Lina.Halper fix shadow warning #rb: none #lockdown: james.golding Change 3316748 on 2017/02/22 by Thomas.Sarkanen Fix t-pose bindings in various demo workflow situations Fix a crash when clearing actor Fix t-pose when opening a new sequence over an old one Fix t-pose on save Note: Added a couple of 'nuke it from orbit' re-binds to the actor because some code paths were not correctly setting up all of our data. Particularily we were always setting up the anim instance. We should revisit this after GDC. #jira UE-42136 Change 3316895 on 2017/02/22 by Jurre.deBaare Incorrect simulation verts getting painted #fix added an early rejection test #misc fixed sqrd vs non-sqrd check #misc level painting already did this in other specific code Change 3316917 on 2017/02/22 by thomas.sarkanen Disabling threaded update on Mambo's post process anim BP We dont support running the main BP non-threaded and the post process threaded right now. Change 3316933 on 2017/02/22 by Thomas.Sarkanen Fixed linux shadow variable warning Change 3317104 on 2017/02/22 by Chris.Evans !N Initial animation with face Change 3317483 on 2017/02/22 by Alan.Noon Added controls to resize the Orbital Laser Impulse in the minion demo Change 3317592 on 2017/02/22 by Alan.Noon Tweaking Parameters on orbital Laser Pawn Change 3317608 on 2017/02/22 by Lina.Halper Sorry - missed this files from previous check-in It should have gone with CL 3316525 #rb:none #code review:Thomas.Sarkanen, James.Golding #lockdown: James.Golding Change 3317762 on 2017/02/22 by Lina.Halper - allow dependency array to be added by IK effectors - but this isn't actual bug in this case - the bug was property was overriding the value, so we'll have to make sure to update property from code change (bForceUpdatePropertyInTheNextTick) #rb:none #code review: Thomas.Sarkanen, James.Golding #lockdown: James.Golding Change 3317807 on 2017/02/22 by Martin.Wilson Update for Live link code -Rename Maya Source to Message Bus Source -Fix typo in ReceiveClient function name Change 3318031 on 2017/02/22 by Alan.Noon 100 more minions in a sublevel. Tuned new pawn. Added sound, particle effects to impulse Change 3318217 on 2017/02/22 by Jon.Nabozny Re-enable Dynamic Shadows for minions. Also enable Single Sample Shadow for perf reasons. Change 3318365 on 2017/02/22 by Alan.Noon Created new shadow capsule asset for minion. Disabled DOF. Change 3318421 on 2017/02/22 by Alan.Noon Adding more minion anims for variety Change 3318435 on 2017/02/22 by Alan.Noon Tweak to minion anim BP: minions pick and idle and stay with it. Change 3318860 on 2017/02/23 by James.Golding Force update nodes and manipulators when changing IK/FK mode Better fix for UE-42257 Change 3318869 on 2017/02/23 by James.Golding Key limb manipulators when switching IK/FK mode Change 3318870 on 2017/02/23 by James.Golding Fix head button picker location Change 3318875 on 2017/02/23 by James.Golding Add 'T' key shortcut for toggling trajectory drawing Change 3318907 on 2017/02/23 by Benn.Gallagher Added rail for clothing sheet examples Change 3318909 on 2017/02/23 by Thomas.Sarkanen Fix trajectories jittering as they generate The rig needs ticking twice because of what looks like some stateful assumptions that were recently made. Basically to get the rig to a state it needs ticking more than once. This also means that we need to tick sequencer twice to make sure the rig state gets pushed to the anim instance too. This may be to do with the latent IK/FK switching, and needs to be investigated. For now, I'm leaving it like this but its not ideal because it makes the trajectory generation twice as expensive. Change 3318929 on 2017/02/23 by James.Golding Make PoseDriver Details not assume there is always a posedrivernode (fix potential crash during demo) Change 3318930 on 2017/02/23 by James.Golding Resave pose_test_level with camera in better default position Change 3318969 on 2017/02/23 by thomas.sarkanen Added demo map with mannequin and mambo Change 3318975 on 2017/02/23 by thomas.sarkanen Improved embededed test sequence Kept blends away from initial binding because of t-pose issues Change 3318979 on 2017/02/23 by thomas.sarkanen Added sequence showing retargeting to multiple skeletons Change 3318983 on 2017/02/23 by thomas.sarkanen Improved retargeting sequence so that loop points dont pop animation Change 3318991 on 2017/02/23 by Thomas.Sarkanen Prevent division by zero in trajectory generation Newly created sequences dont have a frame interval set up. Change 3319013 on 2017/02/23 by Lina.Halper Fixed twist issue #lockdown: James.Golding #rb: none Change 3319017 on 2017/02/23 by Lina.Halper Checked in wrong line - disabling optimization #rb:none #lockdown:James.Golding Change 3319034 on 2017/02/23 by Lina.Halper sorry about that - for some reason p4 reverted the merged changes, and removing function that was merged #rb: none #lockdown: James.Golding Change 3319056 on 2017/02/23 by Lina.Halper Back out changelist 3319013 #lockdown:James.Golding Change 3319090 on 2017/02/23 by Thomas.Sarkanen Added bookmarks to level, fixed up animation sequeces to be used in demo Cleaned up unused assets from demo folder Change 3319209 on 2017/02/23 by Chris.Evans !R Lighting rebuilt !N cameras added, camera switching functionality Change 3319219 on 2017/02/23 by Chris.Evans !R Disabling physics on the snake head on left shoulder Change 3319268 on 2017/02/23 by Chris.Evans !R Says it's dirty, could have sworn checked in latest, tested and works fine, sync'd to last rev can't see what changed. Change 3319290 on 2017/02/23 by James.Golding Default bShowManipulatorsDuringPlayback to on Change 3319291 on 2017/02/23 by James.Golding Add GDC2017 shared collection Change 3319867 on 2017/02/23 by Alan.Noon Moved Audio to a level and removed from sublevel list. Deleted particles. Change 3320056 on 2017/02/23 by Alan.Noon Built lighting in Clothing_GDC_P Change 3320067 on 2017/02/23 by Ori.Cohen Fix rigid body tooltip having the same loctext key as the node name causing bad node name (matters for live demo) Change 3320085 on 2017/02/23 by Alan.Noon Changed Origin_Small_P in ControlRigDemoMap to "Always Loaded" Change 3320098 on 2017/02/23 by Martin.Wilson Final updates for Live Link GDC Demo -Add maya scene for demo -Add binary for maya plugin + installation instructions -Update actor location from based on latest maya scene and fix cameras in sequencer -Updates on live link system for demo that I have been running with locally. Should be safe. Change 3320579 on 2017/02/23 by Alan.Noon Bound Spacebar to GoRagdoll in ArcBlade map. Built lighting. Killed printing to screen/log in MinionBP. Change 3321144 on 2017/02/24 by Chris.Evans !B Lighting was bad in PIE, forced -1.5 exposure bias on all cameras Change 3321317 on 2017/02/24 by James.Golding PIE on pose_test_level jumps to first placed camera Change 3321956 on 2017/02/24 by Alan.Noon Adding missing minion anims. And Stuff. Change 3324190 on 2017/02/27 by Lina.Halper Removed ensure from EvaluateAnimation - this is invalid because of worker thread but I'll have more conversation over this change. #rb: none #code review: Laurent.Delayen, Martin.Wilson #jira: UE-41731 Change 3324309 on 2017/02/27 by Lina.Halper fixed issue with skeleton bone not displaying for curve picker #jira: UE-41909 #rb: Marc.Audy Change 3324342 on 2017/02/27 by mason.seay First round of assets for testing root motion with framerate Change 3324562 on 2017/02/27 by Lina.Halper Fix build error #rb: none Change 3325010 on 2017/02/28 by mason.seay Finished map Change 3325124 on 2017/02/28 by mason.seay Updated test to use trigger instead of delay Change 3325205 on 2017/02/28 by mason.seay Deleting old map Change 3325207 on 2017/02/28 by mason.seay Deleting old map Change 3325752 on 2017/02/28 by Lina.Halper Back out changelist 3319056 - adding upper twist back again #rb: none Change 3325759 on 2017/02/28 by James.Cobbett Moving Weld automated tests to EngineTest project Change 3326039 on 2017/02/28 by Lina.Halper Fix spine issues This is almost like content change as this contains lots of rigging changes from code. So I'm just checking with no review. #jira: UE-42260, UE-42268 #rb: none Change 3326246 on 2017/02/28 by mason.seay Test map and assets for overlap functional tests Change 3327926 on 2017/03/01 by Lina.Halper - disabled pelvis animation on WaveAnimationGDC - added pelvis controls so that you can animate without worring about gmibal lock. #code review: danny.bouimad Change 3327971 on 2017/03/01 by Lina.Halper Moved BaseHuman to ControlRig/Content folder - checking in redirector for the people who have local contents that want to keep #code review: Thomas.Sarkanen Change 3329196 on 2017/03/02 by James.Cobbett Deleting from QAGame. These maps and assets were migrated over to EngineTest in CL 3325759 and CL 3325802. Change 3329263 on 2017/03/02 by mason.seay Temp submission as I reorganize other content Change 3329321 on 2017/03/02 by mason.seay Reorganizing content Change 3329493 on 2017/03/02 by James.Cobbett Moving/renaming automated tests Change 3332044 on 2017/03/03 by mason.seay Procedural Mesh Functional Tests Change 3332049 on 2017/03/03 by Mason.Seay Screenshot comparisons for Procedural Mesh Tests Change 3333080 on 2017/03/06 by Lina.Halper Fix crash on not sorted OutBoneTransforms from Hand IK Retargeting node #jira: UE-42460 Change 3333826 on 2017/03/06 by Lina.Halper Renamed nodes - - adding rename feature for HumanRig #rb: none Change 3333847 on 2017/03/06 by Lina.Halper Fixed build error Change 3333865 on 2017/03/06 by Lina.Halper Fixed build error on shadow warning Change 3333957 on 2017/03/06 by Lina.Halper Fixed issue where limb length wasn't applied correctly on human rig #jira: UE-42307 Change 3335109 on 2017/03/07 by Thomas.Sarkanen Prevent us from rebuilding node tree in 'view' mode This means that a rare crash cant occur any more #jira UE-42568 - Editor crashes when using the eye dropper to switch actor skeleton after deleting sequence Change 3335110 on 2017/03/07 by Jurre.deBaare Editor crashes on importing Alembic file #fix ensure that we generate objects with a valid object name (used to be able to include invalid characters such as periods) #jira UE-40189 Change 3335117 on 2017/03/07 by Jurre.deBaare Crash when opening cloth painter with Paint mode open and selecting different actor #fix ensure that we only initialize static adapter factory data once, now that we have multiple painters #jira UE-42573 Change 3335119 on 2017/03/07 by Jurre.deBaare In Persona, the lighting rig rotation changes when switching between profiles #fix don't know how I wrote this code before, but made it so it makes sense now #jira UE-40877 Change 3335120 on 2017/03/07 by Jurre.deBaare Auto-Exposure Overriding Preview Scene Profile Settings #fix also update showflags when passed property is Name_none, on opening static mesh editor make sure we pick last set profile instead of default 0, and make sure we push propertyt change when changing profiles #misc made same changes for animation editors #jira UE-39217 Change 3335121 on 2017/03/07 by Jurre.deBaare Points not marked as invalid in Aim Offset graph when in invalid positions #fix ensure that samples which have a valid grid point when checking their animation ptr #misc whitespace fixes #jira UE-40715 Change 3335122 on 2017/03/07 by Jurre.deBaare Cannot right-click a blend point if the green preview point is in the way #fix changed condition slightly, now do gather highlighted index so it can be used in rightclick instead of not setting it while hovering the preview pin point #jira UE-39060 Change 3335123 on 2017/03/07 by Jurre.deBaare It's not clear which Grid Stretch mode in blend space is currently on #jira UE-39080 #fix added color change on grid stretch type state Change 3335124 on 2017/03/07 by Jurre.deBaare Not clear that material baking is only supported for single lod merge actors #fix extended tooltip to include requirement for material merging #jira UE-39621 Change 3335125 on 2017/03/07 by Jurre.deBaare #fix Alembic import fix (indexed UVs) copy-pasta error Change 3335126 on 2017/03/07 by Jurre.deBaare Accessor and Modifier for StartTimeOffset in GeometryCacheComponent.h #jira UE-37080 #feature Added bp exposed get/set-er #misc Corrected some comments Change 3335127 on 2017/03/07 by Jurre.deBaare Blend space interpolation settings do not update until the user reopens the asset #fix made reintializing of interpolation filter editor only to start with, and update the filter when necessary (this way multiple players, e.g. thumbnail renderer and persona) both give the expected result, before only one of them would be reinitialized see comment on flag in header #jira UE-40950 Change 3335129 on 2017/03/07 by Jurre.deBaare Store imported mesh names for Alembic files (makes reimporting easier) #jira UE-39034 Change 3335161 on 2017/03/07 by Jurre.deBaare CIS fix: Partial back out changelist 3335129 Change 3335426 on 2017/03/07 by Jurre.deBaare Crash fix for importing random maya shapes through Alembic #fix add safety checks for writing material indices #jira UE-40189 Change 3335427 on 2017/03/07 by Jurre.deBaare Editor hard locks when adding Profile in Preview Scene Settings #fix previous change created an infinite loop while adding a new profile, now calling OnAssetViewerSettingsChanged directly and from a different spot #jira UE-42609 Change 3335448 on 2017/03/07 by Thomas.Sarkanen Fixed binding (and re-binding) of rig that was broken by main integration Templates are no longer always regenerated, so re-binding doesnt work if we rely on template regeneration Moved runtime and compile-time binding into the template (rather than the track). Removed hacky 'static stack' of binding IDs. This is no longer needed now we have a way to propgate per-instance template data at compile time. Change 3336018 on 2017/03/07 by Ori.Cohen Make sure InstantiatePhysicsAsset does not create uninitialized bodies and constraints when it is given a physics asset with inappropriate bone names. Fixes crash in rigid body node when re-targetting. #JIRA UE-42090 Change 3336508 on 2017/03/07 by Ori.Cohen PR #3325: Allow Physics Notification Dispatching with Engine API (Contributed by 0lento) #JIRA UE-42533 Change 3336524 on 2017/03/07 by Ori.Cohen Added compiler error when component space sim and world collision is used. #JIRA UE-41402 Change 3336700 on 2017/03/07 by Ben.Marsh Fix stream name for bulding PhysX. Change 3336949 on 2017/03/08 by James.Golding In BindToSkeletalMesh, make sure skel mesh resources are init'd before calling Register on SkelMeshComp #jira UE-42377 Change 3337008 on 2017/03/08 by Lina.Halper - Fix for lagging update - Removed unnecessary update from trajectory cache #rb: Thomas.Sarkanen Change 3337190 on 2017/03/08 by James.Golding Remove defunct PhysX 3.3 libs Change 3337562 on 2017/03/08 by Ori.Cohen Touch engine to force re-link of latest PhysX libs. Fixes crash when free joints are used with immediate mode. #JIRA UE-41026, UE-42628 Change 3337779 on 2017/03/08 by Ori.Cohen Added skeletal mesh component override for sync vs async scene. #JIRA UE-39829 Change 3337859 on 2017/03/08 by Ori.Cohen Fix CIS Change 3338593 on 2017/03/08 by Ori.Cohen Remove physx get geometry macro and replace with calls to .any which should be faster. #JIRA UE-40503 Change 3338614 on 2017/03/08 by Ori.Cohen Fix warning about missing EditAnywhere #JIRA UE-41361 Change 3338677 on 2017/03/08 by Ori.Cohen Fix new generated physics assets not properly setting user settings to default profile. #JIRA UE-41135 Change 3338683 on 2017/03/08 by Ori.Cohen PR #3225: UPhysicsConstraintComponent works as expected when target is an UChildActorComponent (Contributed by PhoenixBlack) #JIRA UE-3225 Change 3338694 on 2017/03/08 by Ori.Cohen Added a getter to physical animation component (PR #3163) #JIRA UE-41047 Change 3339131 on 2017/03/09 by James.Golding Merging Engine changes from //UE4/Private-GDC17-FaceRig - Set default CurveSourceBindingName on AudioCurveSourceComponent to 'Default' (to match node default) - Add CurveSyncOffset option to AudioCurveSourceComponent - Add 'Copy Curves To SoundWave' option to Anim Editor - Bind possible curve sources by iterating over component properties, rather than owned components - Add ref-pose override option to SkinnedMeshComponent - Major fixes for per-instance skin-weights (was not using per-section map) - Improve warnings for per-instance skin weight problems Change 3339223 on 2017/03/09 by Thomas.Sarkanen Exposed preview scene settings in the existing settings tab rather than in a hidden menu in the viewport Tab is now shown by default Added default preview scene collection so you dont end up having to create assets all the time just to preview meshes (although this is still possible). #jira UE-39365 - Make Preview scene setup more discoverable Change 3339270 on 2017/03/09 by Lina.Halper Added create animation blueprint back since now we have a separate editor. #jira: UE-39457 #rb: Martin.Wilson Change 3339318 on 2017/03/09 by Danny.Bouimad TM-TangentNormals, Test map for checking tangent recalculation with and without skin cache. Change 3339431 on 2017/03/09 by James.Golding Make UDestructibleComponent::SpawnFractureEffectsFromDamageEvent virtual (UDN request: https://udn.unrealengine.com/questions/335389/custom-destructible-fracture-effects.html) Change 3339809 on 2017/03/09 by James.Golding Add support for 'UCP' prefix for importing capsule collision on static meshes via FBX #jira UE-5262 Change 3339955 on 2017/03/09 by Ori.Cohen Allow kinematic leaf bodies in immediate mode Change 3339995 on 2017/03/09 by mason.seay Collision functional tests Change 3340085 on 2017/03/09 by Ori.Cohen Change default contact-gen method to PCM. This is the default in PhysX 3.4 #JIRA UE-40365 Change 3340562 on 2017/03/09 by Ori.Cohen Added physx simulation shader override. #JIRA UE-35304 Change 3341155 on 2017/03/10 by Ori.Cohen Fix CIS warnings Change 3341295 on 2017/03/10 by Martin.Wilson Cache compact pose bone index on FBoneReference and remove manual caching in Paragon #jira UE-42302 Change 3341943 on 2017/03/10 by mason.seay Cleaned up logic for map blueprints. Worked around delays Change 3342029 on 2017/03/10 by mason.seay Cleaned up blueprint logic to remove dependency on delays Change 3342063 on 2017/03/10 by mason.seay Disabling tests Change 3342071 on 2017/03/10 by mason.seay Updated map to use assertions Change 3342884 on 2017/03/13 by James.Golding Expose 'trace by profile' functions to BP Refactor duplicated code in KismetSystemLibrary collision functions #jira UE-32912 Change 3342886 on 2017/03/13 by James.Golding Moving sprite from PhysicsThruster actor to PhysicsThrusterComponent (like light and audio, for example) #jira UE-6015 Change 3342921 on 2017/03/13 by Benn.Gallagher Added some checking to anim dynamics pre update to avoid crashes when world isn't available #jira UE-42729 Change 3342970 on 2017/03/13 by James.Golding Fix incorrect display names for some ..ByProfile trace funcs Change 3342972 on 2017/03/13 by James.Golding PR #3060: Added virtual keyword to DestructibleComponent ApplyDamage, ApplyDamageRadius (Contributed by looterz) Change 3343032 on 2017/03/13 by Josh.Stoddard Enable stabilization in PhysX by default - set PxSceneFlag::eENABLE_STABILIZATION by default - removed USE_ADAPTIVE_FORCES_FOR_ASYNC_SCENE because eADAPTED_FORCES is incompatible with eENABLE_STABILIZATION - added FBodyInstance parameter StabilizationThresholdMultiplier to control PxRigidDynamic stabilization threshold #jira UE-6612 #rb ori.cohen Change 3343073 on 2017/03/13 by Martin.Wilson Properly initialize single bone controller bone references #jira UE-42776 Change 3343074 on 2017/03/13 by Martin.Wilson Clear raw curve data during cooking #jira UE-37897 Change 3343317 on 2017/03/13 by Jurre.deBaare Crash after clearing the animation from a sample point in a 1D Blendspace #jira UE-42672 #misc made sure that we do not deem empty blend spaces as additive Change 3343498 on 2017/03/13 by Lina.Halper Fix on odin cook crash - fallout from CL 3336018 #rb:Marc.Audy #code review:Ori.Cohen Change 3343548 on 2017/03/13 by Lina.Halper Fix crash on ocean - #rb: none #code review: Ori.Cohen Change 3344764 on 2017/03/14 by Thomas.Sarkanen Fixed crash right-clicking empty space in the asset shortcut dropdown #jira UE-42782 - Crash right-clicking in anim blueprint asset picker #jira UE-42799 - GitHub 3366 : Asset selection null check before Opening Editor Change 3344776 on 2017/03/14 by James.Golding Really fix names for BP-expose 'ByProfile' traces Change 3344780 on 2017/03/14 by James.Golding PR #3359: UE4.15 Morpheme integration changes (Contributed by NaturalMotionTechnology) #jira UE-42771 Change 3344781 on 2017/03/14 by James.Golding PR #3346: Expose URadialForceComponent for inheritance (Contributed by projectgheist) #jira UE-42610 Change 3344782 on 2017/03/14 by James.Golding Fix procmesh->staticmesh conversion if only a single triangle #jira UE-42310 Change 3344783 on 2017/03/14 by James.Golding PR #3234: Fix the incorrect UIMin value for InitialAverageFrameRate physics setting. (Contributed by 0lento) #jira UE-41832 Change 3344785 on 2017/03/14 by James.Golding PR #3196: Improved Constraint warning message (Contributed by projectgheist) Change 3344790 on 2017/03/14 by James.Golding PR #3362: Fix NULL pointer dereference when debugging null animation sequence. (Contributed by ill) Change 3344891 on 2017/03/14 by Jurre.deBaare Incorporate back list of animations into blendspace editor #feature added labels toggle to blend space grid #feature can now override animations when drop on sample #jira UE-39368 Change 3344921 on 2017/03/14 by Jurre.deBaare Expose Opacity and Opacity Mask options on material flattening #feature added support for baking out opacity and opacity masks #jira UE-39563 Change 3344963 on 2017/03/14 by Jurre.deBaare Need Simplygon to create LODs on animated pose, vs skeletal mesh pose #feature added ability to specify an animation sequence from which frame 0 will be baked into the LOD mesh #jira UE-38909 Change 3345060 on 2017/03/14 by Jurre.deBaare CIS fix: missing include Change 3345929 on 2017/03/14 by Jon.Nabozny Fix Grux skeletal mesh to properly point at Grux Phys Asset (instead of Steel's). #jira UE-42772 Change 3346970 on 2017/03/15 by Jurre.deBaare #feature Support importing vertex colours from Alembic files #jira UE-39032 Change 3346976 on 2017/03/15 by Jurre.deBaare Missing files from CL 3344921 Change 3346983 on 2017/03/15 by Jurre.deBaare Static mesh editor crashes when opening #fix default value for additional settings Change 3347019 on 2017/03/15 by James.Cobbett Tidying up blueprint comments Change 3347128 on 2017/03/15 by mason.seay Updated descriptions on tests Change 3347146 on 2017/03/15 by mason.seay Updated descriptions on tests Change 3347178 on 2017/03/15 by Martin.Wilson PR #3358: Actually compress CompressedCurveData during anim compression (Contributed by stefanzimecki) Change 3347257 on 2017/03/15 by Thomas.Sarkanen Fixed crash when canceling saving a new preview mesh collection Change 3347314 on 2017/03/15 by mason.seay Narrowed collision volumes by half Change 3347386 on 2017/03/15 by mason.seay Updated descriptions Change 3347388 on 2017/03/15 by mason.seay Forgot to disable tests :P Change 3347397 on 2017/03/15 by James.Cobbett Tidying up blueprint comments for WeldingScreenshots.umap automated test Change 3347433 on 2017/03/15 by Thomas.Sarkanen Fix IK/FK switch on first frame (clobbering FK data) Added a 'first frame' flag to limbs etc. Change 3347436 on 2017/03/15 by Thomas.Sarkanen Control rig sequences can now be exported to anim sequences Control rig sequences can now be exported from sequencer and exported, re-exported, imported and re-imported from the content browser. Added converter function that performs similar logic to the animation recorder. Fixed binding template in cooked builds. Exposed anim sequence factory via UNREALED_API to allow for me to derive from it (I force the skeleton to a known value) #jira UE-42608 - Add "export to anim sequence" to control rig sequences Change 3347475 on 2017/03/15 by Lina.Halper #LookAt node refactor - you can use LookAtLocation based on joint or socket (jira UE-8972) - improved visualizer (jira UE-2737) - clamp was there but now you can visuzlie it - GetOnScreenDebugInfo changed parameter - added runtime node - possibly we could query runtime node only but right now GetOnScrrenDebugInfo belongs to AnimGraphNode - deprecated previous GetOnScreenDebugInfo - Added AnimPhys Object version GUID #rb:Thomas.Sarkanen Change 3347512 on 2017/03/15 by Thomas.Sarkanen Filter anim sequences to the correct skeleton when exporting Feeback from code review of CL 3347436. Change 3347543 on 2017/03/15 by Thomas.Sarkanen Fix shadow variable warnings Change 3347556 on 2017/03/15 by Jurre.deBaare Unable to select bones in the animation editor viewport #fix issues came from hit proxies being turned on and always being hit instead of the bone physic shapes #feature added toggle button to skeletal mesh editor to enable mesh section selection #jira UE-42893 Change 3347559 on 2017/03/15 by James.Golding By default, re-use anim editor with correct Skeleton when double clicking anim asset Add menu option to force a new edtor to open #jira UE-42912 Change 3347749 on 2017/03/15 by Lina.Halper Fix build issue. #rb: none Change 3347926 on 2017/03/15 by James.Cobbett Adding new test to Welding.umap for children welding when attached to ragdoll Change 3347938 on 2017/03/15 by Lina.Halper Fix build error #rb: none Change 3347939 on 2017/03/15 by Mason.Seay General cleanup of bp logic in maps and blueprint actors Added scenarios to test actor descriptions Fixed an error in blueprints (I think I failed to submit changes before) Change 3348074 on 2017/03/15 by Lina.Halper build error fix #rb: none #code review: martin.wilson Change 3348154 on 2017/03/15 by Lina.Halper last fix, hopefully #rb: none #code review: MArtin.wilson Change 3349160 on 2017/03/16 by Thomas.Sarkanen Adding 'set preview mesh' to toolbar #jira UE-42910 - Add 'preview mesh' button to toolbar Change 3349175 on 2017/03/16 by Jurre.deBaare Notification on reimported animations that might be bad #fix added two warning messages for different sequence length and missing curve in reimported file (hidden behind editor user setting -> bAnimationReimportWarnings) #jira UE-34522 Change 3349197 on 2017/03/16 by Martin.Wilson Add ability to choose slot to preview to montage editor #jira UE-38910 Change 3349216 on 2017/03/16 by James.Cobbett Additional Welding tests: static meshes attached to ragdolls and simulated children detaching and retaining welded children Change 3349217 on 2017/03/16 by James.Cobbett Disabling new Welding tests pending review Change 3349314 on 2017/03/16 by Benn.Gallagher Fixed clothing not running in PS4 packaged builds #jira UE-42857 Change 3349504 on 2017/03/16 by James.Fox Enabling RootMotion automation tests. Approved: UEENGQA-12277 Change 3349611 on 2017/03/16 by Lina.Halper retargeting pose options change - now reset, import pose, use current pose #rb: Martin.Wilson #jira: UE-19768 Change 3349738 on 2017/03/16 by Martin.Wilson Remove force inline from virtual compression functions. #jira UE-33070 Change 3349787 on 2017/03/16 by James.Golding Fix xbox one compile (FControlRigBindingTemplate::ObjectBinding was not all wrapped in WITH_EDITORONLY_DATA) Change 3349827 on 2017/03/16 by Josh.Stoddard - Expose PhysX stabilization as project setting, disabled by default - remove obsolete USE_SPECIAL_FRICTION_MODEL_FOR_ASYNC_SCENE #jira UE-42868 Change 3349932 on 2017/03/16 by James.Golding Possible fix for cooking crash - ContentBrowser module not necessarily being loaded Change 3350011 on 2017/03/16 by Jon.Nabozny Created AddForceAtLocationLocal function to allow component space forces. #jira UE-38115 Change 3350134 on 2017/03/16 by Josh.Stoddard Fix memory leak from GPhysXSDK->createShape() #jira UE-42733 #rb ori.cohen Change 3351166 on 2017/03/16 by Lina.Halper Fixed build issue #code review:Jon.Nabozny Change 3351451 on 2017/03/17 by Benn.Gallagher Fixed clothing reimports not working correctly and possibly leading to editor crash #jira UE-42953 Change 3351564 on 2017/03/17 by Benn.Gallagher Xbox NvCloth fix, module rules incorrectly set up and were not actually compiling NvCloth into the binary #jira UE-42224 Change 3351594 on 2017/03/17 by mason.seay Updated BP logic to use Set Actor Location (speeds up tests) Gave actors distinct names Reworded descriptions Change 3351629 on 2017/03/17 by Jon.Nabozny Add methods to determine the WeldParent and WeldChildren of a given component. #jira UE-40733 Change 3351639 on 2017/03/17 by Jon.Nabozny Fix StopMovementImmediately for WheeledVehicleMovementComponent. #jira UE-40078 Change 3351649 on 2017/03/17 by Jon.Nabozny Update comment on AddForceAtLocationLocal to be explicit that both Force vector and Location are in Body space. Change 3351663 on 2017/03/17 by Thomas.Sarkanen Anim notify blueprints now start with a 'received notify' event node (ghosted) #jira UE-27386 - A new anim notify blueprints should start with a Received Notify override Change 3351696 on 2017/03/17 by Thomas.Sarkanen Refactored EvaluateBoneTransforms to prevent usage of skeletal mesh component Deprecated EvaluateBoneTransforms in favor of new EvaluateSkeletalControl_AnyThread. Added various useful transforms to the proxy as these were the most used data from the skeletal mesh component. Some instances still require access to skeletal mesh to access the world for debug rendering. I'm leaving these alone for the moment as they should be addressed for 4.17 with the fixes for multi-threaded debug rendering. Commented & re-formatted ConvertCSTransformToBoneSpace and ConvertBoneSpaceTransformToCS. Deprecated signatures that take a skeletal mesh component. Commented FAnimNode_Base interface. #jira UE-35238 - FAnimNode_SkeletalControlBase::EvaluateBoneTransforms takes in SkeletalMeshComponent which is not safe Change 3351698 on 2017/03/17 by James.Golding Add GetMaterialFromFaceIndex to MeshComponent, implement for StaticMeshComponent and ModelComponent #jira UE-42802 Change 3351701 on 2017/03/17 by James.Golding Change from Ctrl to Shift for 'open new editor' when double-clicking anim assets Change 3351703 on 2017/03/17 by James.Golding Change Box and Sphyl elements to use Rotator instead of Quat, to make them easier to edit via details panel #jira UE-39664 Change 3351704 on 2017/03/17 by James.Golding Fix scrubbing curves that aren't selected #jira UE-39574 Change 3351805 on 2017/03/17 by Thomas.Sarkanen Prevent crash when trying to implement a function in a child anim blueprint The assumption that the ubergraph was the zeroth entry in the array didnt hold for child anim BPs with overriden functions. Now we just search for the ubergraph and check it if we find it. #jira UE-42996 - Editor Crashes when creating a function in Child Anim Blueprint Change 3352000 on 2017/03/17 by James.Cobbett Adding VehicleAdvBP assets for use in upcoming Welding tests Change 3352067 on 2017/03/17 by Lina.Halper Removed AnimGraph from GraphEditor module - Created node factory, pin factory, pin connection policy factory - Moved all anim related files out of GraphEditor #code review: Michael.Noland #jira: UE-37976 #rb: Michael.Noland Change 3352178 on 2017/03/17 by Lina.Halper Moved to AnimationBlueprintEditor as these are just graph visual nodes #code review:Michael.Noland Change 3352753 on 2017/03/17 by James.Fox Checking in some naming convention changes for Overlap automation test. Change 3353371 on 2017/03/19 by Lina.Halper Fix build error #code review: Bob.Tellez Change 3353644 on 2017/03/20 by Jurre.deBaare Animation thumbnails vanishing #fix ensure that we draw the mesh regardless of whether or not we have dynamic render data #jira UE-42974 Change 3353654 on 2017/03/20 by James.Golding Move SGraphNodeK2Default and SGraphNodeK2Event to Public as well, as they are used by Fortnite Update includes in SFortGrtaphNodeK2ExecuteEvent and HandleEvent to only include parent class header Change 3353684 on 2017/03/20 by Jurre.deBaare Separate asset viewer profiles for local / shared - Split out profiles in local/shared UProperty - Modifications to ini writing :( - Extra checks for default ini writing - Add checkout/make writable for default editor ini file Change 3353803 on 2017/03/20 by Jurre.deBaare CIS fixes Change 3353830 on 2017/03/20 by Martin.Wilson Fix additives breaking when pose link not connected to anything #jira ue-39174 Change 3353847 on 2017/03/20 by Martin.Wilson Add property to blend space player nodes to specify whether the blend space current time is reset when the blend space changes #jira UE-40446 Change 3353950 on 2017/03/20 by Ori.Cohen Undo the null entries for invalid body/bodysetup pairs. Instead we check if the body and constraints are valid in the rigid body node. #JIRA UE-42090 Change 3353956 on 2017/03/20 by Ori.Cohen Back out changelist 3343498 (this was needed for the null entries on bodies array which has been fixed) Change 3354003 on 2017/03/20 by Thomas.Sarkanen Back out changelist 3353914 Change 3354031 on 2017/03/20 by Benn.Gallagher Speculative fix for clothing crashes using Mambo. It was possible that the skeletal mesh component could have triggered deletion or creation of simulation state objects while the simulation was in flight on another thread, added tracking and waiting for outstanding tasks. #jira UE-42975 Change 3354151 on 2017/03/20 by Lina.Halper Make sure nullptr tick function still works - this is prerequisite for the play and export option #rb:Ori.Cohen Change 3354229 on 2017/03/20 by James.Golding Add 'default camera' options for skel meshes #jira UE-42762 Change 3354342 on 2017/03/20 by Martin.Wilson Strip out identity raw tracks when baking additives. #jira UE-40508 Change 3354388 on 2017/03/20 by Martin.Wilson Fix false anim blueprint compile errors with aim offset pins #jira UE-38196 Change 3354494 on 2017/03/20 by Martin.Wilson Serialize compressed anim data when counting memory #jira UE-39691 Change 3354515 on 2017/03/20 by Josh.Stoddard Expose PxSceneFlag::eENABLE_ENHANCED_DETERMINISM #jira UE-41484 #rb ori.cohen Change 3355932 on 2017/03/21 by Thomas.Sarkanen Back out changelist 3354003 Reinstating merge from Main: Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) Change 3355954 on 2017/03/21 by Thomas.Sarkanen Fixed up CIS issues post merge from Main Change 3355974 on 2017/03/21 by James.Golding Fix Mac CIS warning (constructor order of FAnimNode_BlendSpacePlayer) Change 3355981 on 2017/03/21 by Jurre.deBaare Whitelisted circular dependencies between meshpaintmode and VR editor modules Change 3355986 on 2017/03/21 by Jurre.deBaare Linux CIS file, non-capital M Change 3356072 on 2017/03/21 by James.Golding Fix UStaticMeshComponent::GetMaterialFromCollisionFaceIndex to not depend on editor-only data #jira UE-43117 Change 3356073 on 2017/03/21 by James.Golding Implement GetMaterialFromCollisionFaceIndex for ProceduralMeshComponent Change 3356300 on 2017/03/21 by Ori.Cohen Allow kinematic bodies with simulated parents using the full scene solver Change 3356362 on 2017/03/21 by Lina.Halper - Support create animation from Play - Support export animation from Play - this allows retargeting, post graph, or anything you see in engine will be baked to the animation #rb: Thomas.Sarkanen #jira: UE-19746 Change 3356482 on 2017/03/21 by Martin.Wilson Fix crash when opening a new montage #UE-43132 Change 3356709 on 2017/03/21 by James.Golding Check for NaN when converting rotator->quat (very large inputs can result in nan's, need to handle to avoid hitting asserts elsewhere) Add clamps when editing rotation of collision shapes, to avoid massive rotation entries #jira UE-39664 Change 3356968 on 2017/03/21 by Ori.Cohen Fix physics asset bounds to be as small as 1cm. This introduces flicker, but passing to rendering to fix that on their end. Change 3357092 on 2017/03/21 by Josh.Stoddard Don't update kinematic target if the body isn't moving #jira UE-42784 #rb ori.cohen Change 3357194 on 2017/03/21 by Lina.Halper Fix on vehicle anim instance look at node issue #rb: Ori.Cohen #jira: UE-43116 Change 3357298 on 2017/03/21 by Ori.Cohen Fix invalid warning when dragging actors into the world. This is invalid because we manually disable collision on actors when this happens, and the warning is only needed for actual runtime. #JIRA UE-42211 Change 3357494 on 2017/03/21 by Jon.Nabozny Fix FPropertyEditorInlineClassFilter filtering classes incorrectly. #jira UE-43098 Change 3357892 on 2017/03/21 by Lina.Halper fix build error #rb: none Change 3358078 on 2017/03/22 by James.Golding Fix CIS - AnimNode_FootPlacement in Platformer game after SkelControl refactor (from CL 3351696) Change 3358080 on 2017/03/22 by Jurre.deBaare Updating Alembic importer thirdparty dependencies for Windows and Mac Change 3358081 on 2017/03/22 by James.Golding Add comment to help people fix up code after moving many properties in ContraintInstance to ProfileInstance member Change 3358092 on 2017/03/22 by James.Golding Fix undo for saving/clearing default cam on mesh (also marks mesh dirty) Change 3358093 on 2017/03/22 by James.Golding Panning in orbit mode now takes in account camera speed #jira UE-43082 Change 3358106 on 2017/03/22 by Thomas.Sarkanen Fix fallout from Main integration Change 3358454 on 2017/03/22 by Ori.Cohen Temporarily disable phat immediate mode previewing to break the dependency on immediate physics plugin. Will be turned back on in later refactor #JIRA UE-41711 Change 3358886 on 2017/03/22 by Ori.Cohen Fix AutoWeld not being disabled in blueprint editor when the object is simulated #JIRA UE-40193 Change 3358950 on 2017/03/22 by Lina.Halper reverted code asking about asset name when create asset #rb: none Change 3359034 on 2017/03/22 by Lina.Halper #fix fall out from previous revert - because now export also shows the window. we don't want export to FBX to show name dialog - it will use asset name as base #rb: none #code review:Thomas.Sarkanen Change 3359165 on 2017/03/22 by Ori.Cohen Fix welded capsules not using the right rotation #JIRA UE-41546 Change 3359232 on 2017/03/22 by Ori.Cohen Bump DDC key for new bvh34. Change 3359233 on 2017/03/22 by mason.seay Added a couple more scenarios and updated names. Needs more organization Change 3359293 on 2017/03/22 by tim.gautier Submitting MeshPaint test content for QAGame. Change 3359389 on 2017/03/22 by Ori.Cohen Back out changelist 3356589 Change 3359402 on 2017/03/22 by Jon.Nabozny Move GetWeldParent and GetWeldChildren to EngineTest. Change 3359978 on 2017/03/23 by Jurre.deBaare Mesh Paint brush disappears when painting in VR #fix removed conditional clause for painting the interactors #jira UE-43150 Change 3359980 on 2017/03/23 by Jurre.deBaare Mesh Paint hotkeys to modify brush size are inconsistent with other Paint modes #fix reverted to old behavior, paint mode overriding catching key input to viewport #jira UE-43158 Change 3360052 on 2017/03/23 by James.Golding Back out changelist 3359165, as it was made after smoke testing. Will re-submit after copy to main. Change 3360121 on 2017/03/23 by James.Golding Fix perf regression from testing for NaN's in FRotator::Quaternion in shipping builds Change 3360177 on 2017/03/23 by Jurre.deBaare Related to previous brush size check in, early out when the painter has handled the input, that way the rest of the editor can't take the brackets [] input anymore Change 3360358 on 2017/03/23 by mason.seay Updated naming and organization of actors in Outliner Change 3362050 on 2017/03/23 by Lina.Halper Back out changelist 3343074 #rb:none #code review: Martin.Wilson, James.Golding [CL 3362661 by Thomas Sarkanen in Main branch]
2017-03-24 09:53:37 -04:00
Con2Frame.SetRotation(Con2Frame.GetRotation() * ConstraintComp->ConstraintInstance.AngularRotationOffset.Quaternion());
Con1Frame.RemoveScaling();
}
FBox Body1Box = ConstraintComp->GetBodyBox(EConstraintFrame::Frame1);
FBox Body2Box = ConstraintComp->GetBodyBox(EConstraintFrame::Frame2);
// Draw constraint information
Instance.DrawConstraint(PDI, 1.f, 1.f, true, true, Con1Frame, Con2Frame, false, false);
// Draw boxes to indicate bodies connected by joint.
if(Body1Box.IsValid)
{
PDI->DrawLine( Con1Frame.GetTranslation(), Body1Box.GetCenter(), JointFrame1Color, SDPG_World );
DrawWireBox(PDI, Body1Box, JointFrame1Color, SDPG_World );
}
if(Body2Box.IsValid)
{
PDI->DrawLine( Con2Frame.GetTranslation(), Body2Box.GetCenter(), JointFrame2Color, SDPG_World );
DrawWireBox(PDI, Body2Box, JointFrame2Color, SDPG_World );
}
}
}