2019-12-26 15:33:43 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
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 "K2Node_TransitionRuleGetter.h"
|
2022-08-30 23:03:03 -04:00
|
|
|
|
2014-04-24 14:34:01 -04:00
|
|
|
#include "AnimGraphNode_Base.h"
|
|
|
|
|
#include "AnimStateNode.h"
|
2014-10-17 17:04:22 -04:00
|
|
|
#include "AnimStateTransitionNode.h"
|
2022-08-30 23:03:03 -04:00
|
|
|
#include "Animation/AnimBlueprint.h"
|
|
|
|
|
#include "Animation/AnimBlueprintGeneratedClass.h"
|
|
|
|
|
#include "Animation/AnimationAsset.h"
|
|
|
|
|
#include "AnimationGraphSchema.h"
|
|
|
|
|
#include "AnimationTransitionSchema.h"
|
2014-09-29 20:47:47 -04:00
|
|
|
#include "BlueprintActionDatabaseRegistrar.h"
|
2022-08-30 23:03:03 -04:00
|
|
|
#include "BlueprintActionFilter.h"
|
|
|
|
|
#include "BlueprintNodeBinder.h"
|
2014-09-29 20:47:47 -04:00
|
|
|
#include "BlueprintNodeSpawner.h"
|
2022-08-30 23:03:03 -04:00
|
|
|
#include "Containers/Array.h"
|
|
|
|
|
#include "Containers/Map.h"
|
|
|
|
|
#include "Containers/UnrealString.h"
|
|
|
|
|
#include "Delegates/Delegate.h"
|
|
|
|
|
#include "EdGraph/EdGraph.h"
|
|
|
|
|
#include "EdGraph/EdGraphPin.h"
|
|
|
|
|
#include "EdGraph/EdGraphSchema.h"
|
|
|
|
|
#include "EdGraphSchema_K2.h"
|
|
|
|
|
#include "HAL/PlatformCrt.h"
|
|
|
|
|
#include "HAL/PlatformMath.h"
|
|
|
|
|
#include "Internationalization/Internationalization.h"
|
|
|
|
|
#include "Kismet2/BlueprintEditorUtils.h"
|
|
|
|
|
#include "Misc/AssertionMacros.h"
|
|
|
|
|
#include "Templates/Casts.h"
|
|
|
|
|
#include "Templates/UnrealTemplate.h"
|
|
|
|
|
#include "UObject/Class.h"
|
|
|
|
|
#include "UObject/Object.h"
|
|
|
|
|
#include "UObject/WeakObjectPtr.h"
|
|
|
|
|
#include "UObject/WeakObjectPtrTemplates.h"
|
2014-10-17 17:04:22 -04:00
|
|
|
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
|
// UK2Node_TransitionRuleGetter
|
|
|
|
|
|
|
|
|
|
#define LOCTEXT_NAMESPACE "TransitionRuleGetter"
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UK2Node_TransitionRuleGetter::UK2Node_TransitionRuleGetter(const FObjectInitializer& ObjectInitializer)
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UK2Node_TransitionRuleGetter::AllocateDefaultPins()
|
|
|
|
|
{
|
Merging //UE5/Dev-LargeWorldCoordinates [at] 18802167 to //UE5/Release-5.0
Blueprint real number support.
This change deprecates the use the of "float" and "double" types in Blueprints in favor of a new "real". By default, "real" is back by a double precision floating point number. However, it can be single precision if the number is a native float property or function parameter. This distinction won't be visible to the Blueprint user: in both instances, they'll be represented by "real" pin types. During deserialization, we'll automatically convert Blueprint pin types to use real/doubles, unless they're used to represent native code (including delegate signatures).
One consequence of this change is that we need to perform implicit casts between single and double precision real numbers. During Blueprint compilation, the compiler will detect points in the graph for when either a widening or narrowing conversion needs to occur. Subsequently, the script bytecode will contain a new cast instruction that performs the conversion. This also works on container types, but each entry in the container will have to be converted. This can introduce unwanted overhead for large containers that are frequently passed between Blueprint and native code.
The scope of this change affects Blueprints used by Gameplay, Animation, Control Rig, and UMG.
#rb marc.audy (serialization changes)
#jira UE-116484
#preflight 61f8bdd5a2514ba12ff7bdfc
#ROBOMERGE-AUTHOR: dave.jones2
#ROBOMERGE-SOURCE: CL 18809077 in //UE5/Release-5.0/... via CL 18809455 via CL 18822548
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18823569 by dave jones2 in ue5-main branch]
2022-02-02 05:50:50 -05:00
|
|
|
UEdGraphPin* OutputPin = CreatePin(EGPD_Output, UEdGraphSchema_K2::PC_Real, UEdGraphSchema_K2::PC_Float, TEXT("Output"));
|
2022-02-04 11:54:52 -05:00
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
OutputPin->PinFriendlyName = GetFriendlyName(GetterType);
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
PreloadObject(AssociatedAnimAssetPlayerNode);
|
|
|
|
|
PreloadObject(AssociatedStateNode);
|
|
|
|
|
|
|
|
|
|
Super::AllocateDefaultPins();
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3544039)
#lockdown Nick.Penwarden
#rb none
#rnx
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3343905 by Dan.Oconnor
ResolveMember optimizations and moved into cpp. ResolveMember<UFunction> now checks UClass::FuncMap before doing more expensive searches
Change 3346637 by Ben.Zeigler
Actually fix in non editor builds
Change 3355484 by Dan.Oconnor
Back out FMemberReference Optimization
Change 3425833 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 3510091 by Marc.Audy
Expose on Spawn functional test
#rnx
Change 3510100 by Marc.Audy
Fix spelling error
#rnx
Change 3510132 by Marc.Audy
Fix issues with marking a widget blueprint class as abstract
Change 3510133 by Marc.Audy
Minor code cleanup
#rnx
Change 3510178 by Ben.Zeigler
#jira UE-46500 Fix it so editor-only and transient stuct members are not serialized for literal blueprint structs. It's unsafe to serialize them because they may not exist in the cooked build
Change 3510466 by Ben.Zeigler
Start adding basic ability system tests to enginetest, very minimal so far
Change 3511295 by Marc.Audy
Fix wasted work going weak -> object -> weak -> object
#rnx
Change 3511824 by Marc.Audy
Fix spelling error in tooltip
#jira UE-46515
#rnx
Change 3514446 by Ben.Zeigler
Fix ActorBoundEvent and ComponentBoundEvent to always refresh their event signature from the delegate property they are bound to. This is required to correctly deal with delegate signatures being moved or renamed. Both types now do the fixup one time, in ReconstructNode.
Change 3514578 by Marc.Audy
Move clearing of the actor component need end of frame update mark to base class instead of just primitive component
Change 3514583 by Ben.Zeigler
Better fix to last delegate checkin that also handles moving functions between modules but not renaming
Change 3515325 by Dan.Oconnor
Fix for rare orphan pin false positive, rare exposed on spawn false positive
#rnx
Change 3515761 by Marc.Audy
fix shipping configuration
#rnx
Change 3515772 by Marc.Audy
Fix static analysis warnings
#rnx
Change 3516287 by Marc.Audy
Fix references to instanced components not being updated when resetting component to default
#jira UE-44706
#rnx
Change 3516303 by Marc.Audy
Back out CL# 3516287 while an oddity is investigated
#rnx
Change 3516563 by Marc.Audy
(4.17) Fix references to instanced components not being updated when resetting component to default
#jira UE-44706
Change 3516637 by Phillip.Kavan
#jira UE-44661 - Fix potential crash when changing the ChildActorComponent class default value on a Blueprint that also sets the class in the Construction Script.
Change summary:
- Modified UChildActorComponent::DestroyChildActor() to move the check for PendingKill/Unreachable so that we can also rename a defunct ChildActor instance out of the way in order to allow for a new ChildActor instance w/ the cached name.
Change 3517735 by Marc.Audy
Avoid unnecessary string copy
#rnx
Change 3517931 by Marc.Audy
Small optimization to CleanupActors
Change 3518221 by Dan.Oconnor
Fix rare crash when running ConformImplementedEvents when async loading
#jira UE-45348
Change 3518270 by Ben.Zeigler
#jira UE-46574 Add FCollectionReference type and customization to allow setting an FName to an editor collection
Add AssetCollection to PrimaryAssetLabel that derives the bundled assets from an editor collection
Change 3518271 by Marc.Audy
Get rid of unnecessary construction differentiation if custom reset is being used
Change 3518310 by Ben.Marsh
Re-adding IOS files with correct case.
Change 3518423 by Ben.Zeigler
#jira UE-46574 Initial support for chunk installation in Asset Manager.
Refactor AssetManagerSettings so it copies runtime bools into the asset manager for fast access
Add a concept of a stalled streamable manager handle, handles can be created stalled and will not execute their async load until all needed resources have been acquired externally
Change 3518480 by Marc.Audy
Correctly get the variable reference for an input variable get from the member scope rather than a member variable of the same name on the class
#jira UE-46737
Change 3518498 by Ben.Zeigler
Fix bug with AssetManager where requesting the same load twice in a row before the first one finishes caused the complete callback to get called too early for the second load
Update test map to catch this
Change 3518526 by Ben.Zeigler
IOS Fix
Change 3518619 by Ben.Zeigler
#jira UE-46744 Fix issue where refreshing asset manager editor settings would throw away asset label rules overrides, causing the recursive flag to accidentally get set
Change 3518747 by Phillip.Kavan
#jira UE-43154 - Prevent ConstructGenericObject nodes from compiling if the selected type does not include 'BlueprintType' in its inheritance hierarchy.
Change summary:
- Moved UGameplayStatics::CanSpawnObjectOfClass() into UK2Node_GenericCreateObject as a local util method (per JIRA notes). This was not exposed to Blueprints and as such was inconsistent with the rest of the API.
- Modified UGameplayStatics::SpawnObject() to no longer call CanSpawnObjectOfClass(). This seemed redundant as this will already have been called during node validation at Blueprint compile time.
- Refactored CanSpawnObjectOfClass() into FK2Node_GenericCreateObject_Utils. Walking up the inheritance chain no longer starts out w/ the assumption that 'BlueprintType' is set by default, which was previously including a lot of engine-specific classes into the "allowed" set (e.g. UByteProperty). Also unified the 2 loop iterations that were being used to check for 'BlueprintType'/'NotBlueprintType' and 'DontUseGenericSpawnObjectName', as well as the check for whether or not the class is a derivative of AActor/UActorComponent.
- Modified UK2Node_GenericCreateObject::EarlyValidation() to call FK2Node_GenericCreateObject_Utils::CanSpawnObjectOfClass() and emit a slightly more informative error message to the BP compiler message log.
Change 3518756 by Michael.Noland
(4.17) Framework: Prevent various asserts when USplineComponent methods are called on a spline with no points
Change 3518760 by Michael.Noland
Core: Changed FRuntimeAssetCache ensures to ensureAsRuntimeWarning
Change 3518771 by Michael.Noland
AI: Prevent an ensure in UBlackboardComponent::ClearValue when called on a component with a null BlackboardAsset
Change 3518818 by Michael.Noland
Rendering: Fixed a whitespace issue in UCanvasRenderTarget2D::RepaintCanvas()
#rnx
Change 3518822 by Michael.Noland
Sequencer: Prevented crashes in some methods of UMovieSceneSequencePlayer when there is no Sequence set
Sequencer: Prevented a crash in FMovieSceneRootEvaluationTemplateInstance::Evaluate when the instance has no template set
Change 3518824 by Michael.Noland
Landscape: Marked ULandscapeComponent and ULandscapeHeightfieldCollisionComponent as Within=LandscapeProxy, since they do CastChecked on their Outer all the time
Change 3519073 by Michael.Noland
QAGame: Fixed a crash in UQASynth::PlaySynth() if called on a directly created instance rather than using the factory method
Change 3519076 by Michael.Noland
Preventing crashes in UAutomationPerformaceHelper (sic) when spawned abnormally for fuzzing (assumes that the outer will have a route to a world)
#rnx
Change 3519079 by Michael.Noland
Sequencer: Fixed a potential crash in UMediaPlaylist::Insert and UMediaPlaylist::RemoveAt when passed an invalid index
Change 3519081 by Michael.Noland
Blueprints: Added support for creating appropriate outers for objects that must be nested within another class during fuzzing (ones that specify Within=, other relationships aren't knowable yet)
Change 3519082 by Michael.Noland
VR: Prevent a crash in UMRMeshComponent::ConnectReconstructor when passed a null reconstructor
Change 3519084 by Michael.Noland
Rendering: Prevent crashes when UNiagaraComponent::GetEffectDataInterface is called on a component with no effect asset set
Change 3521889 by Michael.Noland
Sequencer: Prevented a bogus static analysis warning by reworking the code (FixedFrameInterval could have only been set if the pointer were valid from the line above)
#rnx
Change 3521987 by Michael.Noland
Animation: Prevent a couple of potential asserts in UControlRig::GetOrAllocateSubControlRig
Change 3522101 by Michael.Noland
Physics: Improved the comment on UPhysicalMaterial::Friction
#rn
Change 3522105 by Michael.Noland
Physics: Fixed a few crashes in UVehicleWheel when spawned directly
Change 3522106 by Michael.Noland
Framework: Marked ULevelStreaming as Within=World, since it does CastChecked on the Outer all the time
Change 3522109 by Michael.Noland
Animation: Marked UAnimInstance as Within=SkeletalMeshComponent since it assumes the outer in various places
Change 3522121 by Michael.Noland
Mobile: Prevent UMobileInstalledContent methods from crashing when called on a created instance in an uncooked build (no installed manifest)
Change 3522783 by Zak.Middleton
#ue4 - Imported new simple collision for Engine/Content/BasicShaps/Cylinder.uasset which is a single convex shape (rather than being 4 shapes as before).
Change 3525477 by Dan.Oconnor
Remove Tooltip, Category, and HideCategories tooltip from the blueprint generated class if source data is cleared
Change 3526538 by Ben.Zeigler
Refresh primary asset labels if their bundles are different at all and not just if they're added or removed. This is required because they now work based on collections or directories. This fixes issue with the onboarding collection changes not correctly modifying chunks
Copy of CL #3526501
Change 3526817 by Ben.Zeigler
#jira UE-46917 Fix issue where maps that do not contain level script blueprints were being counted as unindexed for find in blueprints. The old behavior depended on detecting the existence of empty tags, but the asset registry now filters those out so treat maps with no FiB data as indexed
Change 3526873 by Ben.Zeigler
#jira UE-46627 Change it so blueprint or native subclasses of static mesh actor cannot be added to clusters, as they are not likely to be immutable the way the base class is
Add code to to the ubergraph frame to fall back to hard reference serialization if the reference collector doesn't support weak references, such as the cluster collector
Change 3526958 by Marc.Audy
(4.17) Don't copy and then break pin links when reconstructing. Instead simply move.
#jira UE-46935
Change 3528916 by Marc.Audy
PR #3609: Adds GetKeysForAxis() to complement GetKeysForAction() in UPlayerInput (Contributed by alanedwardes)
#jira UE-45347
Change 3529080 by mason.seay
BP asset for undetermined type bug
Change 3529381 by Marc.Audy
Fix ability to insert duplicates in to a set or map
Change 3529471 by Dan.Oconnor
Fix for clang 4.0 error: definition of builtin function '__rdtsc' inline unsigned long long __rdtsc()
Change 3530876 by Marc.Audy
Based on PR #3457: Add MakeSet BP node (Contributed by projectgheist)
Also refactored MakeArray/Set to share a base MakeContainer class
Cleaned up some dead code from MakeArray
Added icon for MakeSet
Added Functional Test for MakeSet
#jira UE-43717
Change 3531070 by Phillip.Kavan
#jira UE-46866 - Fix crash on load when an external variable member reference's owning type cannot be loaded.
Change summary:
- Modified FBlueprintEditorUtils::GetSkeletonClass() to check for NULL before attempting to check for the generating BP.
Change 3531081 by Marc.Audy
Remove deprecated CustomMapParamValue code
Change 3531094 by Phillip.Kavan
#jira UE-46952 - Fix a packaging code build failure that will occur with a nativized Blueprint class that contains a UInterfaceProperty.
Change summary:
- Modified TScriptInterface::operator=() to cast the given 'SourceObject' instance to the 'InterfaceType' type before assigning to 'SourceInterface'. This was necessary because if the caller (in this case nativized codegen) passes in a UObject* that does not explicitly inherit from 'InterfaceType', then it will need to go through the object's GetInterfaceAddress() API instead and cast the result back to an 'InterfaceType' pointer.
Change 3531186 by Phillip.Kavan
Back out changelist 3531094 (temp CIS fix).
#rnx
Change 3532082 by Marc.Audy
Move garbage collection timers and other management to UEngine instead of UWorld
Fixes CollectGarbage blueprint node not working in shipping
#jira UE-46566
Change 3532134 by Phillip.Kavan
Restored changelist 3531094 w/ fix for non-unity.
- Mirrored from //UE4/Release-4.17 (CL# 3531232).
#rnx
Change 3533009 by Marc.Audy
Fixup missing function and deprecation warnings
Change 3534056 by Marc.Audy
(4.17) Fix expose on spawn of map and sets to work
#jira UE-47140
Change 3534761 by Marc.Audy
(4.17) Apply code review changes to Dev-Framework as well
#rnx
Change 3535147 by Dan.Oconnor
Build fix, already made in 4.17
#rnx
Change 3535530 by mason.seay
Resaving to remove error when opening level blueprint
Change 3535581 by Marc.Audy
Class Properties are only identical if they are literally the same object. Do not consider the deep compare port flags as object property base does.
#jira UE-46533
Change 3535583 by Marc.Audy
When properties are imported in to a child actor component the cached instance data is invalidated, so clear it.
#jira UE-46533
Change 3535617 by Marc.Audy
PR #3788: UE-39237: Prevent (im-)pure casting during BP debugging (Contributed by projectgheist)
#jira UE-47188
#jira UE-39237
Change 3535671 by Marc.Audy
Change NodeFactory to look at interface to use sequence node instead of each node having to add itself
Change 3535955 by Marc.Audy
Prevent MakeSet from removing split pins
Change 3536114 by Michael.Noland
Paper2D: Removing deprecated code from 4.3/4.4 era
#rnx
Change 3536120 by Michael.Noland
Animation: Removed deprecated FTAlphaBlend class and AlphaBlendType.h header
Change 3536124 by Michael.Noland
Physics: Removed deprecated methods that were replaced by _AssumesLocked variations
Change 3536131 by Michael.Noland
Slate: Converting remaining uses of EKeyboardFocusCause to EFocusCause and properly deprecating it
Change 3536138 by Michael.Noland
Slate: Removed any deprecated code older than 4.10 that didn't affect content compatibility
Change 3536167 by Dan.Oconnor
When a client provides a skeleton class as the self scope, make sure we also use a skel class for non-self scopes - but only if using the compilation manager. Skel classes are not reliably up to date when not using the compilation manager
#jira UE-46904
Change 3536221 by Michael.Noland
Editor: Removing deprecated code from 4.9 or earlier
Change 3536240 by Michael.Noland
Blueprints: Removed long-deprecated TypeToString method from the K2 schema
#rnx
Change 3536243 by Michael.Noland
AI: Prevent crashes if UMockTask_Log is created manually rather than via the CreateTask factory method
Change 3536244 by Michael.Noland
Core: Prevent FScopedExternalProfilerBase::StopScopedTimer() from asserting if called an unmatched number of times with StartScopedTimer, as both are exposed to BPs now
Change 3536250 by Michael.Noland
CoreUObject: Removed any deprecated code older than 4.10 that didn't affect content compatibility
Change 3536253 by Michael.Noland
Core: Removed any deprecated code older than 4.10 that didn't affect content compatibility
Change 3536310 by Michael.Noland
Engine: Removed any deprecated code older than 4.10 that didn't affect content compatibility
Change 3536397 by Mieszko.Zielinski
Fixed UCrowdFollowingComponent::UpdateCachedDirections crashing when CharacterMovement is not set #UE4
#jira UE-46860
Change 3536404 by Michael.Noland
Platform: Added a warning for others when they try to remove this 'deprecated' method
Change 3536639 by Michael.Noland
CharacterMovement: Changed the name of a variable introduced in CL# 3536397 to better match intent
#rnx
Change 3536893 by Michael.Noland
Blueprints: Clear the stale value on the value pin when a map find node fails to find an item
#jira UE-47233
Change 3536902 by Michael.Noland
Framework: Killed a couple of more deprecated methods that were not exposed to Blueprints
#rnx
Change 3537038 by Ben.Marsh
Fixing case of iOS directories, pt1
Change 3537039 by Ben.Marsh
Fixing case of iOS directories, pt2
Change 3538246 by Michael.Noland
UnrealTournament: Fixing issues with renamed enum
#rnx
Change 3538618 by Ben.Zeigler
Fix ensure when closing sequencer transform UI
Change 3540213 by Ben.Zeigler
#jira UE-47313 Fix crash serializing a MapProperty where the value type has changed for a type that implements ConvertFromType. The address passed to ConvertFromType needs to be the container root, not the specific value address, keys worked because the offset was 0.
Change 3540253 by Marc.Audy
Only copy default values for input pins as output pins do not have them
#rnx
Change 3540376 by Marc.Audy
Add utility FromPinType for FEdGraphTerminalType
#rnx
Change 3540433 by Marc.Audy
Add MakeMap
#jira UE-47093
Unify IsConnectionDisallowed for containers and fix static analysis warning
#jira UE-47291
Change 3540585 by Phillip.Kavan
#jira UE-47117 - Fix crash on launch of a nativized build that includes an instanced default subobject that's referenced by another instanced default subobject.
Change summary:
- Modified FEmitDefaultValueHelper::HandleSpecialTypes() to only direct HandleInstancedSubobject() to emit code to create the instanced subobject if it's not a default subobject. This was previously being incorrectly interpreted as an object having the 'RF_ArchetypeObject' flag set; however, default subobjects will also have that flag set in addition to the 'RF_DefaultSubobject' flag.
- Modified FEmitDefaultValueHelper::HandleInstancedSubobject() to assert in the 'GetDefaultSubobjectByName' case if the given object is not also a default subobject.
Change 3541147 by Dan.Oconnor
Fix for not being able to override custom events when using the compilation manager post 3536167
#jira UE-47292
#rnx
Change 3541177 by Ben.Zeigler
#jira UE-46595, UE-46553 Fix issue where creating a widget template could cause a widget blueprint being cooked to have the wrong package flags, making it appear to be an uncooked package
Copy of CL #3541027
Change 3541325 by Dan.Oconnor
K2node data table data needs to preload data before the compilation queue is flushed
#rnx
#jira UE-47319
Change 3541409 by Michael.Noland
Blueprints: Added code to reapply any active breakpoints after recompilation when using the BP compilation manager
#jira UE-47322
[reimplementing CL# 3541404 in Dev-Framework]
Change 3541418 by Dan.Oconnor
Fix for bad SKEL_ CDO reference in blueprint bytecode
#jira UE-47265
#rnx
Change 3541482 by Dan.Oconnor
Blanket fix up of preload calls that are being done in AllocateDefaultPins. AllocatDefaultPins is not called until compile, meaning if these preload calls load blueprints they will be loaded while the compilation manager is compiling blueprints
#rnx
#jira UE-47319
Change 3541817 by Marc.Audy
Fix static analysis warnings
#rnx
Change 3542299 by Michael.Noland
Blueprints: Speculative fix for static analysis warning
#rnx
Change 3542406 by Marc.Audy
Use a check slow to avoid any cost
#rnx
Change 3542486 by Michael.Noland
Asset Manager: Removing an unnecessary ensure (it's a potentially expected case)
#jira UE-47380
Change 3542659 by Michael.Noland
Blueprints: Clear out null entries in the LastEditedDocuments list during PostLoad() and remove entries when a graph is being deleted to prevent their generation in the first place
#jira UE-47385
Change 3543620 by Dan.Oconnor
Remove overzealous ensure - we may recompile blueprints that are asynchronously loading when a user triggers a synchronous compile
#jira UE-47415
#rnx
Change 3518415 by Ben.Zeigler
#jira UE-46574 Deprecate IPlatformChunkInstall::SetChunkInstallDelgate as it was spelled wrong, was only half implemented, and did not support success vs failure
Replace with AddChunkInstallDelegate, which supports a bool error code and is bound once instead of separately for each chunk. All implementations support this delegate at a basic level, although several could be improved to call the failure delegate in more cases
Change 3534339 by Michael.Noland
Platforms: Changed DEPRECATED() macro description to use 4.xx rather than a speciifc version in examples, so it doesn't show up when removing deprecated code
[CL 3544050 by Marc Audy in Main branch]
2017-07-19 09:49:59 -04:00
|
|
|
void UK2Node_TransitionRuleGetter::PreloadRequiredAssets()
|
|
|
|
|
{
|
|
|
|
|
PreloadObject(AssociatedAnimAssetPlayerNode);
|
|
|
|
|
PreloadObject(AssociatedStateNode);
|
|
|
|
|
Super::PreloadRequiredAssets();
|
|
|
|
|
}
|
|
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
FText UK2Node_TransitionRuleGetter::GetFriendlyName(ETransitionGetter::Type TypeID)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
FText FriendlyName;
|
|
|
|
|
switch (TypeID)
|
|
|
|
|
{
|
|
|
|
|
case ETransitionGetter::AnimationAsset_GetCurrentTime:
|
|
|
|
|
FriendlyName = LOCTEXT("AnimationAssetTimeElapsed", "CurrentTime");
|
|
|
|
|
break;
|
|
|
|
|
case ETransitionGetter::AnimationAsset_GetLength:
|
|
|
|
|
FriendlyName = LOCTEXT("AnimationAssetSequenceLength", "Length");
|
|
|
|
|
break;
|
|
|
|
|
case ETransitionGetter::AnimationAsset_GetCurrentTimeFraction:
|
|
|
|
|
FriendlyName = LOCTEXT("AnimationAssetFractionalTimeElapsed", "CurrentTime (ratio)");
|
|
|
|
|
break;
|
|
|
|
|
case ETransitionGetter::AnimationAsset_GetTimeFromEnd:
|
|
|
|
|
FriendlyName = LOCTEXT("AnimationAssetTimeRemaining", "TimeRemaining");
|
|
|
|
|
break;
|
|
|
|
|
case ETransitionGetter::AnimationAsset_GetTimeFromEndFraction:
|
|
|
|
|
FriendlyName = LOCTEXT("AnimationAssetFractionalTimeRemaining", "TimeRemaining (ratio)");
|
|
|
|
|
break;
|
|
|
|
|
case ETransitionGetter::CurrentState_ElapsedTime:
|
|
|
|
|
FriendlyName = LOCTEXT("CurrentStateElapsedTime", "Elapsed State Time");
|
|
|
|
|
break;
|
|
|
|
|
case ETransitionGetter::CurrentState_GetBlendWeight:
|
|
|
|
|
FriendlyName = LOCTEXT("CurrentStateBlendWeight", "State's Blend Weight");
|
|
|
|
|
break;
|
|
|
|
|
case ETransitionGetter::ArbitraryState_GetBlendWeight:
|
|
|
|
|
FriendlyName = LOCTEXT("ArbitraryStateBlendWeight", "BlendWeight");
|
|
|
|
|
break;
|
|
|
|
|
case ETransitionGetter::CurrentTransitionDuration:
|
|
|
|
|
FriendlyName = LOCTEXT("CrossfadeDuration", "Crossfade Duration");
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
ensure(false);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
return FriendlyName;
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
FText UK2Node_TransitionRuleGetter::GetNodeTitle(ENodeTitleType::Type TitleType) const
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2014-09-04 11:25:05 -04:00
|
|
|
// @TODO: FText::Format() is slow... consider caching this tooltip like
|
|
|
|
|
// we do for a lot of the BP nodes now (unfamiliar with this
|
|
|
|
|
// node's purpose, so hesitant to muck with this at this time).
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
if (AssociatedAnimAssetPlayerNode != NULL)
|
|
|
|
|
{
|
|
|
|
|
UAnimationAsset* BoundAsset = AssociatedAnimAssetPlayerNode->GetAnimationAsset();
|
|
|
|
|
if (BoundAsset)
|
|
|
|
|
{
|
2014-04-23 18:30:37 -04:00
|
|
|
FFormatNamedArguments Args;
|
|
|
|
|
Args.Add(TEXT("BoundAsset"), FText::FromString(BoundAsset->GetName()));
|
|
|
|
|
return FText::Format(LOCTEXT("AnimationAssetInfoGetterTitle", "{BoundAsset} Asset"), Args);
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3038116 on 2016/07/05 by James.Golding
Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford)
Change 3038271 on 2016/07/05 by Lukasz.Furman
fixed bug with instanced behavior tree nodes writing over memory of other nodes
#jira UE-32789
Change 3038295 on 2016/07/05 by Lukasz.Furman
changed behavior tree node injection to modify shared template instead of switching nodes to instanced
fixes GC reference chain between AI using the same behavior tree
Change 3038504 on 2016/07/05 by Zak.Middleton
#ue4 - Fix typo in comment (debugging arrow).
github #2352
#jira 30255
Change 3039151 on 2016/07/06 by James.Golding
UE-30046 Add bAllowCPUAccess flag to UStaticMesh
Change 3039281 on 2016/07/06 by Ori.Cohen
Fix attached partially simulating ragdolls not moving with actor.
#JIRA UE-32830
Change 3039286 on 2016/07/06 by Benn.Gallagher
Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold.
Change 3039313 on 2016/07/06 by Benn.Gallagher
Enabled override of angular joint bias on AnimDynamics
Change 3039335 on 2016/07/06 by Ori.Cohen
Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy.
#JIRA UE-32833
Change 3039412 on 2016/07/06 by Ori.Cohen
PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79)
#JIRA UE-30725
Change 3039799 on 2016/07/06 by Tom.Looman
- Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin)
- Fixed bug in override gravity for the suggest projectile velocity functions.
Change 3039903 on 2016/07/06 by Ori.Cohen
Ensure that skeletal mesh components do NOT teleport unless explicitly asked to.
Change 3039932 on 2016/07/06 by Lina.Halper
Merging using //Orion/Dev-General_to_//UE4/Dev-Framework
serialize crash is always bad, so dupe checkin.
Change 3040059 on 2016/07/06 by Ori.Cohen
Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate)
#JIRA UE-32730
Change 3040203 on 2016/07/06 by Jon.Nabozny
Fix scaling multiple selected Actors by changing scale-base translation calculations to local space.
#jira UE-32357
Change 3040211 on 2016/07/06 by Ori.Cohen
Fix constraints being unselectable in phat when a render mesh is on top
#JIRA UE-32479
Change 3040273 on 2016/07/06 by Ori.Cohen
Fix vehicle drag adding instead of removing energy when in reverse.
#JIRA UE-28957
Change 3040293 on 2016/07/06 by Zak.Middleton
#ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments.
Change 3040325 on 2016/07/06 by Zak.Middleton
#ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization.
#udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html
Change 3040950 on 2016/07/07 by Thomas.Sarkanen
Removed GWorld from FTimerManager
Switched LastAssignedHandle to a static member.
#jira UE-31485 - Remove GWorld from FTimerManager
Change 3041054 on 2016/07/07 by Jon.Nabozny
Fix warning about negation operator on FRotator introduced in CL 3040203.
Change 3041214 on 2016/07/07 by Ori.Cohen
Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies
#JIRA UE-29538
Change 3041319 on 2016/07/07 by James.Golding
UE-29771
- Rename LocalAtoms to BoneSpaceTransforms
- Rename SpaceBases to ComponentSpaceTransforms
Change 3041432 on 2016/07/07 by James.Golding
UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC.
Also remove PhysicsSettings.h from PhysicalMaterial.h
Change 3041434 on 2016/07/07 by James.Golding
Improve comment on UStaticMesh::bAllowCPUAccess
Change 3041701 on 2016/07/07 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498
Change 3041760 on 2016/07/07 by Ori.Cohen
Fix bug where turning collision off and on for a welded root body would not re-weld child bodies.
#JIRA UE-32438
Change 3041771 on 2016/07/07 by Marc.Audy
Add GetParentActor convience accessor
Change 3041798 on 2016/07/07 by Marc.Audy
Don't double call BeginPlay on ChildActors when loading sublevels (4.12)
#jira UE-32772
Change 3041857 on 2016/07/07 by Jon.Nabozny
Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName.
#jira UE-32272
Change 3041914 on 2016/07/07 by Marc.Audy
Fix mismatch function prototype
Change 3042041 on 2016/07/07 by Jon.Nabozny
Fix CIS issue introduced by CL 3041857
Change 3042402 on 2016/07/08 by James.Golding
Fix CIS after no longer globally including PhysicsSettings.h
Change 3042517 on 2016/07/08 by Martin.Wilson
Fix root motion when actor and component transforms do not match
#jira UE-32944
Change 3043021 on 2016/07/08 by mason.seay
Assets for testing poses
Change 3043246 on 2016/07/08 by Marc.Audy
Eliminate USoundWave::CompressionName
Add USoundWave::HasCompressedFormat
#jira UE-32546
Change 3044376 on 2016/07/11 by James.Golding
- UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled)
- Add UVInfo mem usage to UBodySetup::GetResourceSize
- Remove BodySetup.h from EnginePrivate.h
- Remove outdated comment in PhysUtils.cpp
Change 3044464 on 2016/07/11 by Ori.Cohen
Fix CIS
#JIRA UE-33005
Change 3044519 on 2016/07/11 by Ori.Cohen
PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454)
#JIRA UE-30712
Change 3044774 on 2016/07/11 by Zak.Middleton
#ue4 - Fix typos in comments.
Change 3044854 on 2016/07/11 by Mieszko.Zielinski
Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4
#jira UE-32013
Change 3044855 on 2016/07/11 by Mieszko.Zielinski
Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4
#jira UE-32458
Change 3044887 on 2016/07/11 by Zak.Middleton
#ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine.
- Fixed comments on FindNearestPointsOnLineSegments.
- Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction".
Merge CL 3036162.
Change 3044910 on 2016/07/11 by Mieszko.Zielinski
Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4
Change 3045144 on 2016/07/11 by Lukasz.Furman
exposed pathfollowing's reach test modifier: goal radius as parameter of move request
Change 3045174 on 2016/07/11 by Marc.Audy
Remove incorrect SetMobility reference from comment
#jira UE-30492
Change 3045233 on 2016/07/11 by Marc.Audy
Correct function name in warning
Change 3045284 on 2016/07/11 by mason.seay
Test Assets for pose blending
Change 3045342 on 2016/07/11 by Michael.Noland
PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg)
#jira UE-29522
Change 3045343 on 2016/07/11 by Michael.Noland
PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver)
#jira UE-32403
Change 3045344 on 2016/07/11 by Michael.Noland
Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision)
Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap
#jira UE-31632
Change 3045382 on 2016/07/11 by Ori.Cohen
Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries.
#JIRA UE-29937
Change 3045529 on 2016/07/11 by Zak.Middleton
#ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself.
Change 3045601 on 2016/07/11 by Michael.Noland
Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType
#jira UE-20962
Change 3046039 on 2016/07/12 by Jurre.deBaare
Instanced HLOD materials to reduce permutations + compilation time
Change 3046147 on 2016/07/12 by Ori.Cohen
PR #1615: Traceworldforposition should trace async scene too
#JIRA UE-21728
Change 3046180 on 2016/07/12 by Ori.Cohen
Introduce a shape complexity project setting
#JIRA UE-31159
Change 3046280 on 2016/07/12 by Ori.Cohen
Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component.
#JIRA UE-31525, UE-19252
Change 3046282 on 2016/07/12 by Benn.Gallagher
Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor.
- Made default slot 0, as a montage should always have at least one slot
- Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though
#jira UE-32626
Change 3046284 on 2016/07/12 by Benn.Gallagher
Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor.
- Made default slot 0, as a montage should always have at least one slot
- Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though
(2nd CL, missed file)
#jira UE-32626
Change 3046416 on 2016/07/12 by Jon.Nabozny
PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis)
#jira UE32123
Change 3046428 on 2016/07/12 by Michael.Noland
Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0))
#jira UE-33055
Change 3046429 on 2016/07/12 by Michael.Noland
Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized)
#jira UE-25994
Change 3046475 on 2016/07/12 by Ori.Cohen
Added strength multiplyer for physical animation
#JIRA UE-33075
Change 3046518 on 2016/07/12 by Ori.Cohen
Make sure to refresh contact points when turning simulation on for bodies.
#JIRA UE-31286
Change 3046658 on 2016/07/12 by Ori.Cohen
Fix the case where setting body blend weight doesn't turn off blend override.
Change 3046720 on 2016/07/12 by Ori.Cohen
Added option to allow skeletal mesh simulation to NOT affect component transform.
#JIRA UE-33089
Change 3046908 on 2016/07/12 by Ori.Cohen
Fix welded body not properly unwelding when in a chain of welded bodies
#JIRA UE-32531
Change 3047015 on 2016/07/12 by Lukasz.Furman
fixed nested repath requests
Change 3047102 on 2016/07/12 by Ori.Cohen
Added physics component to content example
Change 3047848 on 2016/07/13 by Ori.Cohen
Expose transform update mode to phat
#JIRA UE-33227
Change 3047853 on 2016/07/13 by Ori.Cohen
Update physical animation level and content. Was missing some blueprints
Change 3047897 on 2016/07/13 by Ori.Cohen
PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro)
#JIRA UE-27102
Change 3048026 on 2016/07/13 by Benn.Gallagher
Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins.
#jira UE-23823
Change 3048592 on 2016/07/13 by Marc.Audy
Change check when physics state exists but not registered to ensure and add additional logging information.
#jira UE-32935
Change 3048790 on 2016/07/13 by Ori.Cohen
Fix CIS for shipping physx builds.
#JIRA UE-33246
Change 3048801 on 2016/07/13 by Ori.Cohen
Update RootBodyTransform when ref skeleton has offset
Change 3048891 on 2016/07/13 by Marc.Audy
Fix copy paste bug with AudioComponent::SetPitchMultiplier
Change 3049549 on 2016/07/14 by Thomas.Sarkanen
Prevented stale anim asset references from persisting in wired pins
Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase.
Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules.
Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected.
Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes.
#jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset
Change 3049576 on 2016/07/14 by Thomas.Sarkanen
Fix CIS linker errors
Change 3049611 on 2016/07/14 by Benn.Gallagher
Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections)
Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor
#jira UE-31016
#jira UE-33061
Change 3049663 on 2016/07/14 by Benn.Gallagher
CIS fix after Persona render fixes
Change 3049794 on 2016/07/14 by Marc.Audy
Some cleanup and ensuring ActiveSound adds references to all of its used assets
Change 3049823 on 2016/07/14 by Tom.Looman
Added Player Connect and Disconnect Multicast Events to GameMode
PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard)
Change 3049896 on 2016/07/14 by Ori.Cohen
Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag.
#JIRA UE-31660
Change 3049921 on 2016/07/14 by Benn.Gallagher
PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton)
- Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor)
#jira UE-29573
Change 3049929 on 2016/07/14 by Zak.Middleton
#ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T.
Change 3049956 on 2016/07/14 by Zak.Middleton
#ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue.
Change 3049992 on 2016/07/14 by Jon.Nabozny
Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box.
#JIRA: UE-31601
Change 3050017 on 2016/07/14 by James.Golding
PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike)
Change 3050061 on 2016/07/14 by Zak.Middleton
#ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T.
Change 3050254 on 2016/07/14 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614
Change 3050416 on 2016/07/14 by mason.seay
Test map and asset for slicing proc meshes
Change 3050881 on 2016/07/14 by Zak.Middleton
#ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block.
github #2047
Change 3051401 on 2016/07/15 by Thomas.Sarkanen
Prevented animation from restarting each time a new section is selected/inspected in the montage editor
Preserved playback state when changing section.
Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused.
#jira UE-31014 - Moving Montage Event Unpauses Playback
#jira UE-25101 - Improve Montage Replay Usability issue
Change 3051717 on 2016/07/15 by Benn.Gallagher
Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation.
#jira UE-18558
Change 3051729 on 2016/07/15 by Benn.Gallagher
Changed enum combo boxes so that they use rich tooltips instead of text tooltips.
- They look the same when there isn't a documentation entry for them (Just the enum name)
- Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name
Change 3051825 on 2016/07/15 by Marc.Audy
Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor
#jira UE-29435
Change 3051850 on 2016/07/15 by Marc.Audy
Reduce priority of audio thread
Add a frame sync to avoid audio thread drifiting behind
Change 3051920 on 2016/07/15 by Tom.Looman
Added ActorComponent Activate/Deactivate events
#JIRA UE-31077
Change 3051923 on 2016/07/15 by Tom.Looman
PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi)
Change 3052038 on 2016/07/15 by Martin.Wilson
Possible fix for fortnite crash + ensure incase the situation occurs again
#jira UE-33258
Change 3052042 on 2016/07/15 by Jurre.deBaare
Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework)
Change 3052171 on 2016/07/15 by Ori.Cohen
Improve UI for constraint profiles. Polish UI for physical animation profile.
#JIRA UEFW-101, UE-33290
Change 3052243 on 2016/07/15 by Martin.Wilson
Pose watching: Ability to draw bones of pose at any point in the anim graph.
#jira UE-12181 (originally Epic Friday project)
Change 3053202 on 2016/07/18 by Thomas.Sarkanen
FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility
#jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication
Change 3053203 on 2016/07/18 by Thomas.Sarkanen
Fixed properties that are fed to skeletal mesh components via construction script not updating when edited
Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this).
Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date.
#jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph
Change 3053241 on 2016/07/18 by Martin.Wilson
Add parent bone space to GetSocketTransform
#jira UE-29814
Change 3053270 on 2016/07/18 by Jurre.deBaare
PR #2105: Disable creation of array modifiers (Contributed by projectgheist)
Change 3053273 on 2016/07/18 by Jurre.deBaare
Default ini for asset viewer and HDR images
#jira UE-32903
Change 3053527 on 2016/07/18 by Ori.Cohen
Fix CIS
#JIRA UE-33375
Change 3053620 on 2016/07/18 by Thomas.Sarkanen
Socket chooser now has a search box
Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name.
Search box has focus when the menu appears.
#jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh
Change 3053626 on 2016/07/18 by Martin.Wilson
Fix crash caused by skeletalmeshcomponent being destroyed during a notify
#jira UE-33258
Change 3053761 on 2016/07/18 by Martin.Wilson
Mac build compile fix
Change 3053858 on 2016/07/18 by Lina.Halper
Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/
Fix on crashing recursive asset
Change 3053864 on 2016/07/18 by Ori.Cohen
Make sure phat UI changes when picking different constraint profiles
Change 3053866 on 2016/07/18 by Ori.Cohen
Submit content example for constraint profiles
Change 3053915 on 2016/07/18 by Lina.Halper
The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened
This is the fix for that.
#jira: UE-32927
Change 3053969 on 2016/07/18 by James.Golding
PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology)
Change 3054004 on 2016/07/18 by Ori.Cohen
Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake.
#jira UE-33333
Change 3054410 on 2016/07/18 by Lina.Halper
Fixed issue with moving translation not working with mirrored parent due to inverse position.
Changed to Transform.
#jira: UE-31521
Change 3054659 on 2016/07/18 by Lina.Halper
Fix for retargeting of pose asset
- Moved animsequence::retarget to be out to AnimationRuntime
- PoseAsset is now using that function to retarget correctly
#code review: Martin.Wilson, Ori.Cohen
Change 3054777 on 2016/07/18 by Jurre.deBaare
Fixing integration blocker, had this fix locally already
#jira UE-33427
Change 3056619 on 2016/07/19 by Ori.Cohen
Temporarily turn off audio threading due to heap corruption.
#JIRA UE-33320
Change 3057770 on 2016/07/20 by Aaron.McLeran
Doing sync trace for occlusion if audio thread is enabled
#jira UE-33494
Change 3057778 on 2016/07/20 by Aaron.McLeran
#jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio)
Change 3057788 on 2016/07/20 by Aaron.McLeran
#jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio)
Enabling audio thread (with a capital T for True)
Change 3057850 on 2016/07/20 by Ori.Cohen
Temporarily turn off audio threading as the feature is still experimental
Change 3057876 on 2016/07/20 by Martin.Wilson
Fix Graph Linked External Object issue when saving recompressed animations
#jira UE-33567
Change 3058371 on 2016/07/20 by Ori.Cohen
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework)
[CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
return LOCTEXT("AnimationAssetInfoGetterTitle_None", "Animation Asset");
|
|
|
|
|
}
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
else if (AssociatedStateNode != NULL)
|
|
|
|
|
{
|
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134)
#lockdown Nick.Penwarden
#rb none
============================
MAJOR FEATURES & CHANGES
============================
Change 3550452 by Ben.Marsh
UAT: Improve readability of error message when an editor commandlet fails with an error code.
Change 3551179 by Ben.Marsh
Add methods for reading text files into an array of strings.
Change 3551260 by Ben.Marsh
Core: Change FFileHelper routines to use enum classes for flags.
Change 3555697 by Gil.Gribb
Fixed a rare crash when the asset registry scanner found old cooked files with package level compression.
#jira UE-47668
Change 3556464 by Ben.Marsh
UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files.
Change 3557630 by Ben.Marsh
Allow the network version to be set via Build.version if it's not overriden from Version.h.
Change 3561357 by Gil.Gribb
Fixed crashes related to loading old unversioned files in the editor.
#jira UE-47806
Change 3565711 by Graeme.Thornton
PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx)
Change 3565864 by Robert.Manuszewski
Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object.
Change 3569022 by Ben.Marsh
PR #3849: Update gitignore (Contributed by mhutch)
Change 3569113 by Ben.Marsh
Fix Japanese errors not displaying correctly in the cook output log.
#jira UE-47746
Change 3569486 by Ben.Marsh
UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set.
Change 3570483 by Graeme.Thornton
Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors
Change 3570513 by Robert.Manuszewski
Fix for a race condition with async loading thread enabled.
Change 3570664 by Ben.Marsh
UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core.
Change 3570708 by Robert.Manuszewski
Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running.
Change 3571592 by Ben.Marsh
UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available.
Change 3572215 by Graeme.Thornton
UBT
- Remove some unnecessary using directives
- Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself
Change 3572437 by Robert.Manuszewski
Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects.
#jira UE-44996
Change 3572480 by Robert.Manuszewski
MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long
Change 3573547 by Ben.Marsh
Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line.
Change 3574562 by Robert.Manuszewski
PR #3847: Add GC callbacks for script integrations (Contributed by mhutch)
Change 3575017 by Ben.Marsh
Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core.
Change 3575689 by Ben.Marsh
Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds.
Change 3575934 by Steve.Robb
Fix for nested preprocessor definitions.
Change 3575961 by Steve.Robb
Fix for nested zeros.
Change 3576297 by Robert.Manuszewski
Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread.
#jira FORT-38977
Change 3576366 by Ben.Marsh
Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated.
Change 3578290 by Graeme.Thornton
Changes to Ionic zip library to allow building on dot net core
Change 3578291 by Graeme.Thornton
Ionic zip library binaries built for .NET Core
Change 3578354 by Graeme.Thornton
Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string
Change 3578674 by Robert.Manuszewski
After loading packages flush linker cache on uncooked platforms to free precache memory
Change 3579068 by Steve.Robb
Fix for CLASS_Intrinsic getting stomped.
Fix to EClassFlags so that they are visible in the debugger.
Re-added mysteriously-removed comments.
Change 3579228 by Steve.Robb
BOM removed.
Change 3579297 by Ben.Marsh
Fix exception if a plugin lists the same module twice.
#jira UE-48232
Change 3579898 by Robert.Manuszewski
When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert.
Change 3579983 by Robert.Manuszewski
More fixes for freeing linker cache memory in the editor.
Change 3580012 by Graeme.Thornton
Remove redundant copy of FileReference.cs
Change 3580408 by Ben.Marsh
Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect.
Change 3582104 by Graeme.Thornton
Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path.
Change 3582131 by Graeme.Thornton
#define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway.
Change 3582645 by Ben.Marsh
PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola)
#jira UE-48192
Change 3583955 by Robert.Manuszewski
Support for EDL cooked packages in the editor
Change 3584035 by Graeme.Thornton
Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly.
Change 3584177 by Robert.Manuszewski
Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached)
Change 3584315 by Ben.Marsh
Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class.
Change 3584370 by Ben.Marsh
Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes.
Change 3584498 by Ben.Marsh
Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes.
Change 3585003 by Steve.Robb
Fix for TChunkedArray ranged-for iteration.
#jira UE-48297
Change 3585235 by Ben.Marsh
Remove LogEngine extern from Core; use the platform log channels instead.
Change 3585942 by Ben.Marsh
Move MessageBoxExt() implementation into application layer for platforms that require it.
Change 3587071 by Ben.Marsh
Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL.
Change 3587161 by Ben.Marsh
Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h.
Change 3587579 by Steve.Robb
Fix for Children list not being rebuilt after hot reload.
Change 3587584 by Graeme.Thornton
Logging improvements for pak signature check failures
- Added "PakCorrupt" console command which corrupts the master signature table
- Added some extra log information about which block failed
- Re-hash the master signature table and to make sure that it hasn't changed since startup
- Moved the ensure around so that some extra logging messages can make it out before the ensure is hit
- Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again
Change 3587586 by Graeme.Thornton
Changes to make UBT build and run on .NET Core
- Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups
- VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use
- After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects
Change 3587953 by Steve.Robb
Allow arbitrary UENUM initializers for enumerators.
Editor-only data UENUM support.
Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated.
#jira UE-46274
Change 3589827 by Graeme.Thornton
More fixes for VSCode project generation and for UBT running on .NET Core
- Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts
- UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel
- Added documentation for UEConsoleTraceListener
- All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files
- Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose"
- Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff
Change 3589868 by Graeme.Thornton
Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures.
UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases
Change 3589919 by Robert.Manuszewski
Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor)
Change 3589940 by Graeme.Thornton
Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths.
Change 3590078 by Graeme.Thornton
Fully disable automatic assembly info generation in .NET Core projects
Change 3590534 by Robert.Manuszewski
Marking UObject as intrinsic clas to fix a crash on UFE startup.
Change 3591498 by Gil.Gribb
UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading.
Change 3591605 by Gil.Gribb
UE4 - Follow up to fixing several edge cases in the low level async loading code.
Change 3592577 by Graeme.Thornton
.NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates
Change 3592684 by Steve.Robb
Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush.
Change 3592710 by Steve.Robb
Fix for invalid casts in ListProps command.
Some name changes in command output.
Change 3592715 by Ben.Marsh
Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default.
Change 3592767 by Gil.Gribb
UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules.
Change 3592770 by Gil.Gribb
UE4 - Fixed a race condition with async read completion in the prescence of cancels.
Change 3593090 by Steve.Robb
Better error message when there two clashing type names are found.
Change 3593697 by Steve.Robb
VisitTupleElements function, which calls a functor for each element in the tuple.
Change 3595206 by Ben.Marsh
Include additional diagnostics for missing imports when a module load fails.
Change 3596140 by Graeme.Thornton
Batch file for running MSBuild
Change 3596267 by Steve.Robb
Thread safety fix to FPaths::GetProjectFilePath().
Change 3596271 by Robert.Manuszewski
Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor
#jira UE-47535
Change 3596283 by Steve.Robb
Redundant casts removed from UHT.
Change 3596303 by Ben.Marsh
EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window.
Change 3596337 by Ben.Marsh
UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio.
Change 3596367 by Steve.Robb
Iterator checks in ranged-for on TMap, TSet and TSparseArray.
Change 3596410 by Gil.Gribb
UE4 - Improved some error messages on runtime failures in the EDL.
Change 3596532 by Ben.Marsh
UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013.
#jira UE-48119
Change 3596631 by Steve.Robb
Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder.
Change 3596807 by Ben.Marsh
Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense.
* UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables.
* Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration.
Change 3596957 by Steve.Robb
UBT can be used to write out an .objsrcmap file for use with the MapFileParser.
Renaming of ObjMap to ObjSrcMap in MapFileParser.
Change 3597213 by Ben.Marsh
Remove AutoReporter. We don't support this any more.
Change 3597558 by Ben.Marsh
UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax:
+ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar")
The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable.
Change 3597982 by Ben.Marsh
Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache).
#jira UE-47173
Change 3598045 by Ben.Marsh
UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI).
Change 3599214 by Ben.Marsh
Avoid string duplication when comparing extensions.
Change 3600038 by Steve.Robb
Fix for maps being modified during iteration in cache compaction.
Change 3600136 by Steve.Robb
GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool
Change 3600214 by Steve.Robb
More accurate error message when unsupported template parameters are provided in a TSet property.
Change 3600232 by Ben.Marsh
UBT: Force UHT to run again if the .build.cs file for a module has changed.
#jira UE-46119
Change 3600246 by Steve.Robb
GitHub #3045 : allow multiple interface definition in a file
Change 3600645 by Ben.Marsh
Convert QAGame to Include-What-You-Use.
Change 3600897 by Ben.Marsh
Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes.
Change 3601558 by Graeme.Thornton
Simple first pass VSCode editor integration plugin
Change 3601658 by Graeme.Thornton
Enable intellisense generation for VS Code project files and setup include paths properly
Change 3601762 by Ben.Marsh
UBT: Add support for adaptive non-unity builds when working from a Git repository.
The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged.
Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior:
<SourceFileWorkingSet>
<Provider>Default</Provider> <!-- May be None, Default, Git or Perforce -->
<RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. -->
<GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH -->
</SourceFileWorkingSet>
Change 3604032 by Graeme.Thornton
First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows.
Change 3604038 by Graeme.Thornton
Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor.
Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code.
Change 3604106 by Steve.Robb
GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro
Change 3604192 by Steve.Robb
GitHub #3911 : Improving ToUpper/ToLower efficiency
Change 3604273 by Graeme.Thornton
IWYU build fixes when malloc profiler is enabled
Change 3605457 by Ben.Marsh
Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it.
Change 3606720 by James.Hopkin
Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn.
Change 3606807 by Graeme.Thornton
Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741.
Change 3607026 by James.Hopkin
Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed
Change 3607142 by Graeme.Thornton
UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose.
Change 3607146 by Ben.Marsh
UGS: Fix exception due to formatting string when Perforce throws an error.
Change 3607147 by Steve.Robb
Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time.
Float and double conversion support added to int properties.
NAME_DoubleProperty added.
Fix for converting enum class enumerators > 255 to int properties.
Change 3607516 by Ben.Marsh
PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames)
Change 3610421 by Ben.Marsh
UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help.
Change 3610657 by Ben.Marsh
UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables.
Change 3611000 by Ben.Marsh
UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument.
Change 3612471 by Ben.Marsh
UBT: Move FastJSON into DotNETUtilities.
Change 3613479 by Ben.Marsh
UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator.
Change 3613910 by Ben.Marsh
UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later.
Change 3614075 by Ben.Marsh
UBT: Remove hacks for testing project file attributes by name.
Change 3614090 by Ben.Marsh
UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary.
Change 3614488 by Ben.Marsh
UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled.
Change 3614490 by Ben.Marsh
UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself.
Change 3614962 by Ben.Marsh
UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers.
Change 3615416 by Ben.Marsh
EC: Include an icon showing the overall status of a build in the grid view.
Change 3615713 by Ben.Marsh
UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder.
#jira UE-48987
Change 3616652 by Ben.Marsh
Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project.
#jira UE-49007
Change 3616680 by Ben.Marsh
Add the CodeAPI-HTML.tgz file into the installed engine build.
Change 3616767 by Ben.Marsh
Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible.
Change 3616864 by Ben.Marsh
Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended.
#jira UE-48711
Change 3619964 by Ben.Marsh
UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables.
Change 3548930 by Ben.Marsh
UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction.
Change 3558056 by Ben.Marsh
Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()).
Change 3563309 by Graeme.Thornton
Moved some common C# classes into the DotNETCommon assembly
Change 3570283 by Graeme.Thornton
Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects
Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore
Change 3572811 by Ben.Marsh
UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables).
Change 3573397 by Ben.Marsh
UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS.
Change 3575659 by Ben.Marsh
Remove CHM API documentation.
Change 3582103 by Graeme.Thornton
Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core
Removed reference to System.Windows.Form from UBT.
Change 3584113 by Ben.Marsh
Move key-mapping functionality into the InputCore module.
Change 3584278 by Ben.Marsh
Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc.
Change 3584453 by Ben.Marsh
Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms.
Change 3585301 by Ben.Marsh
Move PlatformPostInit() into an FPlatformApplicationMisc function.
Change 3587050 by Ben.Marsh
Move IsThisApplicationForeground() into FPlatformApplicationMisc.
Change 3587059 by Ben.Marsh
Move RequiresVirtualKeyboard() into FPlatformApplicationMisc.
Change 3587119 by Ben.Marsh
Move GetAbsoluteLogFilename() into FPlatformMisc.
Change 3587800 by Steve.Robb
Fixes to container visualizers for types whose pointer type isn't simply Type*.
Change 3588393 by Ben.Marsh
Move platform output devices into their own headers.
Change 3588868 by Ben.Marsh
Move creation of console, error and warning output devices int PlatformApplicationMisc.
Change 3589879 by Graeme.Thornton
All automation projects now have a reference to DotNETUtilities
Fixed a build error in the WEX automation library
Change 3590034 by Ben.Marsh
Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac).
Change 3593754 by Steve.Robb
Fix for tuple debugger visualization.
Change 3597208 by Ben.Marsh
Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees.
Change 3600163 by Ben.Marsh
UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned.
#jira UE-46725
Change 3604279 by Graeme.Thornton
Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects
Change 3606685 by James.Hopkin
Removed redundant 'Cast's (casting to either the same type or a base).
In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass.
Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp.
Change 3610950 by Ben.Marsh
UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic.
Change 3610991 by Ben.Marsh
UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line.
Change 3612342 by Ben.Marsh
UBT: Change JsonObject.Read() to take a FileReference parameter.
Change 3612362 by Ben.Marsh
UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects.
Change 3619128 by Ben.Marsh
Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures.
[CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
|
|
|
if (UAnimStateNode* State = AssociatedStateNode)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
const FString OwnerName = State->GetOuter()->GetName();
|
|
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
FFormatNamedArguments Args;
|
|
|
|
|
Args.Add(TEXT("OwnerName"), FText::FromString(OwnerName));
|
|
|
|
|
Args.Add(TEXT("StateName"), FText::FromString(State->GetStateName()));
|
|
|
|
|
return FText::Format(LOCTEXT("StateInfoGetterTitle", "{OwnerName}.{StateName} State"), Args);
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3038116 on 2016/07/05 by James.Golding
Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford)
Change 3038271 on 2016/07/05 by Lukasz.Furman
fixed bug with instanced behavior tree nodes writing over memory of other nodes
#jira UE-32789
Change 3038295 on 2016/07/05 by Lukasz.Furman
changed behavior tree node injection to modify shared template instead of switching nodes to instanced
fixes GC reference chain between AI using the same behavior tree
Change 3038504 on 2016/07/05 by Zak.Middleton
#ue4 - Fix typo in comment (debugging arrow).
github #2352
#jira 30255
Change 3039151 on 2016/07/06 by James.Golding
UE-30046 Add bAllowCPUAccess flag to UStaticMesh
Change 3039281 on 2016/07/06 by Ori.Cohen
Fix attached partially simulating ragdolls not moving with actor.
#JIRA UE-32830
Change 3039286 on 2016/07/06 by Benn.Gallagher
Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold.
Change 3039313 on 2016/07/06 by Benn.Gallagher
Enabled override of angular joint bias on AnimDynamics
Change 3039335 on 2016/07/06 by Ori.Cohen
Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy.
#JIRA UE-32833
Change 3039412 on 2016/07/06 by Ori.Cohen
PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79)
#JIRA UE-30725
Change 3039799 on 2016/07/06 by Tom.Looman
- Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin)
- Fixed bug in override gravity for the suggest projectile velocity functions.
Change 3039903 on 2016/07/06 by Ori.Cohen
Ensure that skeletal mesh components do NOT teleport unless explicitly asked to.
Change 3039932 on 2016/07/06 by Lina.Halper
Merging using //Orion/Dev-General_to_//UE4/Dev-Framework
serialize crash is always bad, so dupe checkin.
Change 3040059 on 2016/07/06 by Ori.Cohen
Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate)
#JIRA UE-32730
Change 3040203 on 2016/07/06 by Jon.Nabozny
Fix scaling multiple selected Actors by changing scale-base translation calculations to local space.
#jira UE-32357
Change 3040211 on 2016/07/06 by Ori.Cohen
Fix constraints being unselectable in phat when a render mesh is on top
#JIRA UE-32479
Change 3040273 on 2016/07/06 by Ori.Cohen
Fix vehicle drag adding instead of removing energy when in reverse.
#JIRA UE-28957
Change 3040293 on 2016/07/06 by Zak.Middleton
#ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments.
Change 3040325 on 2016/07/06 by Zak.Middleton
#ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization.
#udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html
Change 3040950 on 2016/07/07 by Thomas.Sarkanen
Removed GWorld from FTimerManager
Switched LastAssignedHandle to a static member.
#jira UE-31485 - Remove GWorld from FTimerManager
Change 3041054 on 2016/07/07 by Jon.Nabozny
Fix warning about negation operator on FRotator introduced in CL 3040203.
Change 3041214 on 2016/07/07 by Ori.Cohen
Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies
#JIRA UE-29538
Change 3041319 on 2016/07/07 by James.Golding
UE-29771
- Rename LocalAtoms to BoneSpaceTransforms
- Rename SpaceBases to ComponentSpaceTransforms
Change 3041432 on 2016/07/07 by James.Golding
UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC.
Also remove PhysicsSettings.h from PhysicalMaterial.h
Change 3041434 on 2016/07/07 by James.Golding
Improve comment on UStaticMesh::bAllowCPUAccess
Change 3041701 on 2016/07/07 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498
Change 3041760 on 2016/07/07 by Ori.Cohen
Fix bug where turning collision off and on for a welded root body would not re-weld child bodies.
#JIRA UE-32438
Change 3041771 on 2016/07/07 by Marc.Audy
Add GetParentActor convience accessor
Change 3041798 on 2016/07/07 by Marc.Audy
Don't double call BeginPlay on ChildActors when loading sublevels (4.12)
#jira UE-32772
Change 3041857 on 2016/07/07 by Jon.Nabozny
Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName.
#jira UE-32272
Change 3041914 on 2016/07/07 by Marc.Audy
Fix mismatch function prototype
Change 3042041 on 2016/07/07 by Jon.Nabozny
Fix CIS issue introduced by CL 3041857
Change 3042402 on 2016/07/08 by James.Golding
Fix CIS after no longer globally including PhysicsSettings.h
Change 3042517 on 2016/07/08 by Martin.Wilson
Fix root motion when actor and component transforms do not match
#jira UE-32944
Change 3043021 on 2016/07/08 by mason.seay
Assets for testing poses
Change 3043246 on 2016/07/08 by Marc.Audy
Eliminate USoundWave::CompressionName
Add USoundWave::HasCompressedFormat
#jira UE-32546
Change 3044376 on 2016/07/11 by James.Golding
- UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled)
- Add UVInfo mem usage to UBodySetup::GetResourceSize
- Remove BodySetup.h from EnginePrivate.h
- Remove outdated comment in PhysUtils.cpp
Change 3044464 on 2016/07/11 by Ori.Cohen
Fix CIS
#JIRA UE-33005
Change 3044519 on 2016/07/11 by Ori.Cohen
PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454)
#JIRA UE-30712
Change 3044774 on 2016/07/11 by Zak.Middleton
#ue4 - Fix typos in comments.
Change 3044854 on 2016/07/11 by Mieszko.Zielinski
Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4
#jira UE-32013
Change 3044855 on 2016/07/11 by Mieszko.Zielinski
Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4
#jira UE-32458
Change 3044887 on 2016/07/11 by Zak.Middleton
#ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine.
- Fixed comments on FindNearestPointsOnLineSegments.
- Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction".
Merge CL 3036162.
Change 3044910 on 2016/07/11 by Mieszko.Zielinski
Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4
Change 3045144 on 2016/07/11 by Lukasz.Furman
exposed pathfollowing's reach test modifier: goal radius as parameter of move request
Change 3045174 on 2016/07/11 by Marc.Audy
Remove incorrect SetMobility reference from comment
#jira UE-30492
Change 3045233 on 2016/07/11 by Marc.Audy
Correct function name in warning
Change 3045284 on 2016/07/11 by mason.seay
Test Assets for pose blending
Change 3045342 on 2016/07/11 by Michael.Noland
PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg)
#jira UE-29522
Change 3045343 on 2016/07/11 by Michael.Noland
PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver)
#jira UE-32403
Change 3045344 on 2016/07/11 by Michael.Noland
Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision)
Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap
#jira UE-31632
Change 3045382 on 2016/07/11 by Ori.Cohen
Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries.
#JIRA UE-29937
Change 3045529 on 2016/07/11 by Zak.Middleton
#ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself.
Change 3045601 on 2016/07/11 by Michael.Noland
Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType
#jira UE-20962
Change 3046039 on 2016/07/12 by Jurre.deBaare
Instanced HLOD materials to reduce permutations + compilation time
Change 3046147 on 2016/07/12 by Ori.Cohen
PR #1615: Traceworldforposition should trace async scene too
#JIRA UE-21728
Change 3046180 on 2016/07/12 by Ori.Cohen
Introduce a shape complexity project setting
#JIRA UE-31159
Change 3046280 on 2016/07/12 by Ori.Cohen
Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component.
#JIRA UE-31525, UE-19252
Change 3046282 on 2016/07/12 by Benn.Gallagher
Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor.
- Made default slot 0, as a montage should always have at least one slot
- Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though
#jira UE-32626
Change 3046284 on 2016/07/12 by Benn.Gallagher
Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor.
- Made default slot 0, as a montage should always have at least one slot
- Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though
(2nd CL, missed file)
#jira UE-32626
Change 3046416 on 2016/07/12 by Jon.Nabozny
PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis)
#jira UE32123
Change 3046428 on 2016/07/12 by Michael.Noland
Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0))
#jira UE-33055
Change 3046429 on 2016/07/12 by Michael.Noland
Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized)
#jira UE-25994
Change 3046475 on 2016/07/12 by Ori.Cohen
Added strength multiplyer for physical animation
#JIRA UE-33075
Change 3046518 on 2016/07/12 by Ori.Cohen
Make sure to refresh contact points when turning simulation on for bodies.
#JIRA UE-31286
Change 3046658 on 2016/07/12 by Ori.Cohen
Fix the case where setting body blend weight doesn't turn off blend override.
Change 3046720 on 2016/07/12 by Ori.Cohen
Added option to allow skeletal mesh simulation to NOT affect component transform.
#JIRA UE-33089
Change 3046908 on 2016/07/12 by Ori.Cohen
Fix welded body not properly unwelding when in a chain of welded bodies
#JIRA UE-32531
Change 3047015 on 2016/07/12 by Lukasz.Furman
fixed nested repath requests
Change 3047102 on 2016/07/12 by Ori.Cohen
Added physics component to content example
Change 3047848 on 2016/07/13 by Ori.Cohen
Expose transform update mode to phat
#JIRA UE-33227
Change 3047853 on 2016/07/13 by Ori.Cohen
Update physical animation level and content. Was missing some blueprints
Change 3047897 on 2016/07/13 by Ori.Cohen
PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro)
#JIRA UE-27102
Change 3048026 on 2016/07/13 by Benn.Gallagher
Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins.
#jira UE-23823
Change 3048592 on 2016/07/13 by Marc.Audy
Change check when physics state exists but not registered to ensure and add additional logging information.
#jira UE-32935
Change 3048790 on 2016/07/13 by Ori.Cohen
Fix CIS for shipping physx builds.
#JIRA UE-33246
Change 3048801 on 2016/07/13 by Ori.Cohen
Update RootBodyTransform when ref skeleton has offset
Change 3048891 on 2016/07/13 by Marc.Audy
Fix copy paste bug with AudioComponent::SetPitchMultiplier
Change 3049549 on 2016/07/14 by Thomas.Sarkanen
Prevented stale anim asset references from persisting in wired pins
Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase.
Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules.
Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected.
Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes.
#jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset
Change 3049576 on 2016/07/14 by Thomas.Sarkanen
Fix CIS linker errors
Change 3049611 on 2016/07/14 by Benn.Gallagher
Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections)
Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor
#jira UE-31016
#jira UE-33061
Change 3049663 on 2016/07/14 by Benn.Gallagher
CIS fix after Persona render fixes
Change 3049794 on 2016/07/14 by Marc.Audy
Some cleanup and ensuring ActiveSound adds references to all of its used assets
Change 3049823 on 2016/07/14 by Tom.Looman
Added Player Connect and Disconnect Multicast Events to GameMode
PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard)
Change 3049896 on 2016/07/14 by Ori.Cohen
Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag.
#JIRA UE-31660
Change 3049921 on 2016/07/14 by Benn.Gallagher
PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton)
- Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor)
#jira UE-29573
Change 3049929 on 2016/07/14 by Zak.Middleton
#ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T.
Change 3049956 on 2016/07/14 by Zak.Middleton
#ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue.
Change 3049992 on 2016/07/14 by Jon.Nabozny
Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box.
#JIRA: UE-31601
Change 3050017 on 2016/07/14 by James.Golding
PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike)
Change 3050061 on 2016/07/14 by Zak.Middleton
#ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T.
Change 3050254 on 2016/07/14 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614
Change 3050416 on 2016/07/14 by mason.seay
Test map and asset for slicing proc meshes
Change 3050881 on 2016/07/14 by Zak.Middleton
#ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block.
github #2047
Change 3051401 on 2016/07/15 by Thomas.Sarkanen
Prevented animation from restarting each time a new section is selected/inspected in the montage editor
Preserved playback state when changing section.
Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused.
#jira UE-31014 - Moving Montage Event Unpauses Playback
#jira UE-25101 - Improve Montage Replay Usability issue
Change 3051717 on 2016/07/15 by Benn.Gallagher
Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation.
#jira UE-18558
Change 3051729 on 2016/07/15 by Benn.Gallagher
Changed enum combo boxes so that they use rich tooltips instead of text tooltips.
- They look the same when there isn't a documentation entry for them (Just the enum name)
- Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name
Change 3051825 on 2016/07/15 by Marc.Audy
Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor
#jira UE-29435
Change 3051850 on 2016/07/15 by Marc.Audy
Reduce priority of audio thread
Add a frame sync to avoid audio thread drifiting behind
Change 3051920 on 2016/07/15 by Tom.Looman
Added ActorComponent Activate/Deactivate events
#JIRA UE-31077
Change 3051923 on 2016/07/15 by Tom.Looman
PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi)
Change 3052038 on 2016/07/15 by Martin.Wilson
Possible fix for fortnite crash + ensure incase the situation occurs again
#jira UE-33258
Change 3052042 on 2016/07/15 by Jurre.deBaare
Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework)
Change 3052171 on 2016/07/15 by Ori.Cohen
Improve UI for constraint profiles. Polish UI for physical animation profile.
#JIRA UEFW-101, UE-33290
Change 3052243 on 2016/07/15 by Martin.Wilson
Pose watching: Ability to draw bones of pose at any point in the anim graph.
#jira UE-12181 (originally Epic Friday project)
Change 3053202 on 2016/07/18 by Thomas.Sarkanen
FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility
#jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication
Change 3053203 on 2016/07/18 by Thomas.Sarkanen
Fixed properties that are fed to skeletal mesh components via construction script not updating when edited
Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this).
Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date.
#jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph
Change 3053241 on 2016/07/18 by Martin.Wilson
Add parent bone space to GetSocketTransform
#jira UE-29814
Change 3053270 on 2016/07/18 by Jurre.deBaare
PR #2105: Disable creation of array modifiers (Contributed by projectgheist)
Change 3053273 on 2016/07/18 by Jurre.deBaare
Default ini for asset viewer and HDR images
#jira UE-32903
Change 3053527 on 2016/07/18 by Ori.Cohen
Fix CIS
#JIRA UE-33375
Change 3053620 on 2016/07/18 by Thomas.Sarkanen
Socket chooser now has a search box
Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name.
Search box has focus when the menu appears.
#jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh
Change 3053626 on 2016/07/18 by Martin.Wilson
Fix crash caused by skeletalmeshcomponent being destroyed during a notify
#jira UE-33258
Change 3053761 on 2016/07/18 by Martin.Wilson
Mac build compile fix
Change 3053858 on 2016/07/18 by Lina.Halper
Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/
Fix on crashing recursive asset
Change 3053864 on 2016/07/18 by Ori.Cohen
Make sure phat UI changes when picking different constraint profiles
Change 3053866 on 2016/07/18 by Ori.Cohen
Submit content example for constraint profiles
Change 3053915 on 2016/07/18 by Lina.Halper
The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened
This is the fix for that.
#jira: UE-32927
Change 3053969 on 2016/07/18 by James.Golding
PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology)
Change 3054004 on 2016/07/18 by Ori.Cohen
Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake.
#jira UE-33333
Change 3054410 on 2016/07/18 by Lina.Halper
Fixed issue with moving translation not working with mirrored parent due to inverse position.
Changed to Transform.
#jira: UE-31521
Change 3054659 on 2016/07/18 by Lina.Halper
Fix for retargeting of pose asset
- Moved animsequence::retarget to be out to AnimationRuntime
- PoseAsset is now using that function to retarget correctly
#code review: Martin.Wilson, Ori.Cohen
Change 3054777 on 2016/07/18 by Jurre.deBaare
Fixing integration blocker, had this fix locally already
#jira UE-33427
Change 3056619 on 2016/07/19 by Ori.Cohen
Temporarily turn off audio threading due to heap corruption.
#JIRA UE-33320
Change 3057770 on 2016/07/20 by Aaron.McLeran
Doing sync trace for occlusion if audio thread is enabled
#jira UE-33494
Change 3057778 on 2016/07/20 by Aaron.McLeran
#jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio)
Change 3057788 on 2016/07/20 by Aaron.McLeran
#jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio)
Enabling audio thread (with a capital T for True)
Change 3057850 on 2016/07/20 by Ori.Cohen
Temporarily turn off audio threading as the feature is still experimental
Change 3057876 on 2016/07/20 by Martin.Wilson
Fix Graph Linked External Object issue when saving recompressed animations
#jira UE-33567
Change 3058371 on 2016/07/20 by Ori.Cohen
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework)
[CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
return LOCTEXT("StateInfoGetterTitle_None", "State");
|
|
|
|
|
}
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
else if (GetterType == ETransitionGetter::CurrentTransitionDuration)
|
|
|
|
|
{
|
2014-04-23 18:30:37 -04:00
|
|
|
return LOCTEXT("TransitionDuration", "Transition");
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
else if (GetterType == ETransitionGetter::CurrentState_ElapsedTime ||
|
|
|
|
|
GetterType == ETransitionGetter::CurrentState_GetBlendWeight)
|
|
|
|
|
{
|
2014-04-23 18:30:37 -04:00
|
|
|
return LOCTEXT("CurrentState", "Current State");
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Super::GetNodeTitle(TitleType);
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-17 13:33:35 -04:00
|
|
|
void UK2Node_TransitionRuleGetter::GetStateSpecificAnimGraphSchemaMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar, const UAnimBlueprint* AnimBlueprint, UAnimStateNode* StateNode) const
|
|
|
|
|
{
|
2015-02-19 12:13:52 -05:00
|
|
|
auto UiSpecOverride = [](const FBlueprintActionContext& /*Context*/, const IBlueprintNodeBinder::FBindingSet& Bindings, FBlueprintActionUiSpec* UiSpecOut, UAnimStateNode* AnimStateNode)
|
2014-10-17 13:33:35 -04:00
|
|
|
{
|
2015-02-19 12:13:52 -05:00
|
|
|
const FString OwnerName = AnimStateNode->GetOuter()->GetName();
|
2014-10-17 13:33:35 -04:00
|
|
|
UiSpecOut->MenuName = FText::Format(LOCTEXT("TransitionRuleGetterTitle", "Current {0} for state '{1}.{2}'"),
|
|
|
|
|
UK2Node_TransitionRuleGetter::GetFriendlyName(ETransitionGetter::ArbitraryState_GetBlendWeight),
|
|
|
|
|
FText::FromString(OwnerName),
|
2015-02-19 12:13:52 -05:00
|
|
|
FText::FromString(AnimStateNode->GetStateName()));
|
2014-10-17 13:33:35 -04:00
|
|
|
};
|
|
|
|
|
|
2015-02-19 12:13:52 -05:00
|
|
|
auto PostSpawnSetupLambda = [](UEdGraphNode* NewNode, bool /*bIsTemplateNode*/, UAnimStateNode* AnimStateNode)
|
2014-10-17 13:33:35 -04:00
|
|
|
{
|
|
|
|
|
UK2Node_TransitionRuleGetter* NewNodeTyped = CastChecked<UK2Node_TransitionRuleGetter>(NewNode);
|
2015-02-19 12:13:52 -05:00
|
|
|
NewNodeTyped->AssociatedStateNode = AnimStateNode;
|
2014-10-17 13:33:35 -04:00
|
|
|
NewNodeTyped->GetterType = ETransitionGetter::ArbitraryState_GetBlendWeight;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
UBlueprintNodeSpawner* Spawner = UBlueprintNodeSpawner::Create( UK2Node_TransitionRuleGetter::StaticClass(), nullptr, UBlueprintNodeSpawner::FCustomizeNodeDelegate::CreateStatic(PostSpawnSetupLambda, StateNode) );
|
|
|
|
|
Spawner->DynamicUiSignatureGetter = UBlueprintNodeSpawner::FUiSpecOverrideDelegate::CreateStatic(UiSpecOverride, StateNode);
|
|
|
|
|
ActionRegistrar.AddBlueprintAction( AnimBlueprint, Spawner );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UK2Node_TransitionRuleGetter::GetStateSpecificAnimTransitionSchemaMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar, const UAnimBlueprint* AnimBlueprint, UAnimStateNode* StateNode) const
|
|
|
|
|
{
|
|
|
|
|
// Offer options from the source state
|
|
|
|
|
|
|
|
|
|
// Sequence player positions
|
|
|
|
|
ETransitionGetter::Type SequenceSpecificGetters[] =
|
|
|
|
|
{
|
|
|
|
|
ETransitionGetter::AnimationAsset_GetCurrentTime,
|
|
|
|
|
ETransitionGetter::AnimationAsset_GetLength,
|
|
|
|
|
ETransitionGetter::AnimationAsset_GetCurrentTimeFraction,
|
|
|
|
|
ETransitionGetter::AnimationAsset_GetTimeFromEnd,
|
|
|
|
|
ETransitionGetter::AnimationAsset_GetTimeFromEndFraction
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Using the State Machine's graph, find all asset players nodes
|
|
|
|
|
TArray<UK2Node*> AssetPlayers;
|
|
|
|
|
StateNode->BoundGraph->GetNodesOfClassEx<UAnimGraphNode_Base, UK2Node>(/*out*/ AssetPlayers);
|
|
|
|
|
|
2019-09-28 08:19:35 -04:00
|
|
|
for (int32 TypeIndex = 0; TypeIndex < UE_ARRAY_COUNT(SequenceSpecificGetters); ++TypeIndex)
|
2014-10-17 13:33:35 -04:00
|
|
|
{
|
|
|
|
|
for (auto NodeIt = AssetPlayers.CreateConstIterator(); NodeIt; ++NodeIt)
|
|
|
|
|
{
|
|
|
|
|
UAnimGraphNode_Base* AnimNode = CastChecked<UAnimGraphNode_Base>(*NodeIt);
|
|
|
|
|
|
|
|
|
|
if (AnimNode->DoesSupportTimeForTransitionGetter())
|
|
|
|
|
{
|
|
|
|
|
UAnimationAsset * AnimAsset = AnimNode->GetAnimationAsset();
|
|
|
|
|
if (AnimAsset)
|
|
|
|
|
{
|
2015-02-19 12:13:52 -05:00
|
|
|
auto UiSpecOverride = [](const FBlueprintActionContext& /*Context*/, const IBlueprintNodeBinder::FBindingSet& Bindings, FBlueprintActionUiSpec* UiSpecOut, FString AssetName, TEnumAsByte<ETransitionGetter::Type> InGetterType)
|
2014-10-17 13:33:35 -04:00
|
|
|
{
|
|
|
|
|
UiSpecOut->Category = LOCTEXT("AssetPlayer", "Asset Player");
|
|
|
|
|
|
|
|
|
|
FFormatNamedArguments Args;
|
2015-02-19 12:13:52 -05:00
|
|
|
Args.Add(TEXT("NodeName"), UK2Node_TransitionRuleGetter::GetFriendlyName(InGetterType));
|
2014-10-17 13:33:35 -04:00
|
|
|
Args.Add(TEXT("AssetName"), FText::FromString(AssetName));
|
|
|
|
|
FText Title = FText::Format(LOCTEXT("TransitionFor", "{NodeName} for '{AssetName}'"), Args);
|
|
|
|
|
UiSpecOut->MenuName = Title;
|
|
|
|
|
};
|
|
|
|
|
|
2015-02-19 12:13:52 -05:00
|
|
|
auto PostSpawnSetupLambda = [](UEdGraphNode* NewNode, bool /*bIsTemplateNode*/, UAnimGraphNode_Base* InAssociatedAnimAssetPlayerNode, TEnumAsByte<ETransitionGetter::Type> InGetterType)
|
2014-10-17 13:33:35 -04:00
|
|
|
{
|
|
|
|
|
UK2Node_TransitionRuleGetter* NewNodeTyped = CastChecked<UK2Node_TransitionRuleGetter>(NewNode);
|
2015-02-19 12:13:52 -05:00
|
|
|
NewNodeTyped->AssociatedAnimAssetPlayerNode = InAssociatedAnimAssetPlayerNode;
|
|
|
|
|
NewNodeTyped->GetterType = InGetterType;
|
2014-10-17 13:33:35 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Prepare the node spawner
|
2015-02-23 16:18:13 -05:00
|
|
|
UAnimGraphNode_Base* AssociatedAnimNode = AnimNode;
|
2015-02-19 12:13:52 -05:00
|
|
|
const FString AssetName = AnimAsset->GetName();
|
2014-10-17 13:33:35 -04:00
|
|
|
|
2015-02-23 16:18:13 -05:00
|
|
|
TEnumAsByte<ETransitionGetter::Type> TransitionGetterType = SequenceSpecificGetters[TypeIndex];
|
2014-10-17 13:33:35 -04:00
|
|
|
|
2015-02-23 16:18:13 -05:00
|
|
|
UBlueprintNodeSpawner* Spawner = UBlueprintNodeSpawner::Create( UK2Node_TransitionRuleGetter::StaticClass(), nullptr, UBlueprintNodeSpawner::FCustomizeNodeDelegate::CreateStatic(PostSpawnSetupLambda, AssociatedAnimNode, TransitionGetterType) );
|
|
|
|
|
Spawner->DynamicUiSignatureGetter = UBlueprintNodeSpawner::FUiSpecOverrideDelegate::CreateStatic(UiSpecOverride, AssetName, TransitionGetterType);
|
2014-10-17 13:33:35 -04:00
|
|
|
ActionRegistrar.AddBlueprintAction( AnimBlueprint, Spawner );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UK2Node_TransitionRuleGetter::GetStateSpecificMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar, const UAnimBlueprint* AnimBlueprint) const
|
|
|
|
|
{
|
|
|
|
|
TArray<UAnimStateNode*> States;
|
|
|
|
|
FBlueprintEditorUtils::GetAllNodesOfClass(AnimBlueprint, /*out*/ States);
|
|
|
|
|
|
|
|
|
|
// Go through all states to generate possible menu actions
|
|
|
|
|
for (auto StateIt = States.CreateIterator(); StateIt; ++StateIt)
|
|
|
|
|
{
|
|
|
|
|
UAnimStateNode* StateNode = *StateIt;
|
|
|
|
|
|
|
|
|
|
GetStateSpecificAnimGraphSchemaMenuActions(ActionRegistrar, AnimBlueprint, StateNode);
|
|
|
|
|
GetStateSpecificAnimTransitionSchemaMenuActions(ActionRegistrar, AnimBlueprint, StateNode);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UK2Node_TransitionRuleGetter::GetNonStateSpecificMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const
|
|
|
|
|
{
|
|
|
|
|
// actions get registered under specific object-keys; the idea is that
|
|
|
|
|
// actions might have to be updated (or deleted) if their object-key is
|
|
|
|
|
// mutated (or removed)... here we use the node's class (so if the node
|
|
|
|
|
// type disappears, then the action should go with it)
|
|
|
|
|
UClass* ActionKey = GetClass();
|
|
|
|
|
// to keep from needlessly instantiating a UBlueprintNodeSpawner, first
|
|
|
|
|
// check to make sure that the registrar is looking for actions of this type
|
|
|
|
|
// (could be regenerating actions for a specific asset, and therefore the
|
|
|
|
|
// registrar would only accept actions corresponding to that asset)
|
|
|
|
|
if (ActionRegistrar.IsOpenForRegistration(ActionKey))
|
|
|
|
|
{
|
|
|
|
|
// Non-sequence specific ones
|
|
|
|
|
ETransitionGetter::Type NonSpecificGetters[] =
|
|
|
|
|
{
|
|
|
|
|
ETransitionGetter::CurrentTransitionDuration,
|
|
|
|
|
ETransitionGetter::CurrentState_ElapsedTime,
|
|
|
|
|
ETransitionGetter::CurrentState_GetBlendWeight
|
|
|
|
|
};
|
|
|
|
|
|
2019-09-28 08:19:35 -04:00
|
|
|
for (int32 TypeIndex = 0; TypeIndex < UE_ARRAY_COUNT(NonSpecificGetters); ++TypeIndex)
|
2014-10-17 13:33:35 -04:00
|
|
|
{
|
2015-02-23 16:18:13 -05:00
|
|
|
auto UiSpecOverride = [](const FBlueprintActionContext& /*Context*/, const IBlueprintNodeBinder::FBindingSet& Bindings, FBlueprintActionUiSpec* UiSpecOut, TEnumAsByte<ETransitionGetter::Type> InGetterType)
|
2014-10-17 13:33:35 -04:00
|
|
|
{
|
|
|
|
|
UiSpecOut->Category = LOCTEXT("Transition", "Transition");
|
2015-02-23 16:18:13 -05:00
|
|
|
UiSpecOut->MenuName = UK2Node_TransitionRuleGetter::GetFriendlyName(InGetterType);
|
2014-10-17 13:33:35 -04:00
|
|
|
};
|
|
|
|
|
|
2015-02-23 16:18:13 -05:00
|
|
|
auto PostSpawnSetupLambda = [](UEdGraphNode* NewNode, bool /*bIsTemplateNode*/, TEnumAsByte<ETransitionGetter::Type> InGetterType)
|
2014-10-17 13:33:35 -04:00
|
|
|
{
|
|
|
|
|
UK2Node_TransitionRuleGetter* NewNodeTyped = CastChecked<UK2Node_TransitionRuleGetter>(NewNode);
|
2015-02-23 16:18:13 -05:00
|
|
|
NewNodeTyped->GetterType = InGetterType;
|
2014-10-17 13:33:35 -04:00
|
|
|
};
|
|
|
|
|
|
2015-02-23 16:18:13 -05:00
|
|
|
TEnumAsByte<ETransitionGetter::Type> TransitionGetterType = NonSpecificGetters[TypeIndex];
|
|
|
|
|
UBlueprintNodeSpawner* Spawner = UBlueprintNodeSpawner::Create( UK2Node_TransitionRuleGetter::StaticClass(), nullptr, UBlueprintNodeSpawner::FCustomizeNodeDelegate::CreateStatic(PostSpawnSetupLambda, TransitionGetterType) );
|
|
|
|
|
Spawner->DynamicUiSignatureGetter = UBlueprintNodeSpawner::FUiSpecOverrideDelegate::CreateStatic(UiSpecOverride, TransitionGetterType);
|
2014-10-17 13:33:35 -04:00
|
|
|
ActionRegistrar.AddBlueprintAction( ActionKey, Spawner );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-29 20:47:47 -04:00
|
|
|
void UK2Node_TransitionRuleGetter::GetMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const
|
|
|
|
|
{
|
2015-06-11 08:47:18 -04:00
|
|
|
|
2014-09-29 20:47:47 -04:00
|
|
|
}
|
|
|
|
|
|
2014-09-03 18:14:09 -04:00
|
|
|
FText UK2Node_TransitionRuleGetter::GetTooltipText() const
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2014-09-03 18:14:09 -04:00
|
|
|
return GetNodeTitle(ENodeTitleType::FullTitle);
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2014-09-29 20:47:47 -04:00
|
|
|
bool UK2Node_TransitionRuleGetter::CanCreateUnderSpecifiedSchema(const UEdGraphSchema* Schema) const
|
|
|
|
|
{
|
2014-10-17 13:33:35 -04:00
|
|
|
return Cast<UAnimationGraphSchema>(Schema) != NULL || Cast<UAnimationTransitionSchema>(Schema) != NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UAnimStateTransitionNode* GetTransitionNodeFromGraph(const FAnimBlueprintDebugData& DebugData, const UEdGraph* Graph)
|
|
|
|
|
{
|
|
|
|
|
if (const TWeakObjectPtr<UAnimStateTransitionNode>* TransNodePtr = DebugData.TransitionGraphToNodeMap.Find(Graph))
|
|
|
|
|
{
|
|
|
|
|
return TransNodePtr->Get();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (const TWeakObjectPtr<UAnimStateTransitionNode>* TransNodePtr = DebugData.TransitionBlendGraphToNodeMap.Find(Graph))
|
|
|
|
|
{
|
|
|
|
|
return TransNodePtr->Get();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return NULL;
|
2014-09-29 20:47:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool UK2Node_TransitionRuleGetter::IsActionFilteredOut(class FBlueprintActionFilter const& Filter)
|
|
|
|
|
{
|
2014-10-17 16:39:18 -04:00
|
|
|
if(Filter.Context.Graphs.Num())
|
2014-09-29 20:47:47 -04:00
|
|
|
{
|
2014-10-17 13:33:35 -04:00
|
|
|
const UEdGraphSchema* Schema = Filter.Context.Graphs[0]->GetSchema();
|
|
|
|
|
if(Cast<UAnimationGraphSchema>(Schema))
|
2014-09-29 20:47:47 -04:00
|
|
|
{
|
2014-10-17 13:33:35 -04:00
|
|
|
if(GetterType == ETransitionGetter::ArbitraryState_GetBlendWeight)
|
2014-09-29 20:47:47 -04:00
|
|
|
{
|
2014-10-17 13:33:35 -04:00
|
|
|
// only show the transition nodes if the associated state node is in every graph:
|
|
|
|
|
if( AssociatedStateNode )
|
|
|
|
|
{
|
|
|
|
|
for( auto Blueprint : Filter.Context.Blueprints )
|
|
|
|
|
{
|
|
|
|
|
TArray<UAnimStateNode*> States;
|
|
|
|
|
FBlueprintEditorUtils::GetAllNodesOfClass(Blueprint, /*out*/ States);
|
|
|
|
|
|
|
|
|
|
if( !States.Contains( AssociatedStateNode ) )
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
else if(Cast<UAnimationTransitionSchema>(Schema))
|
|
|
|
|
{
|
|
|
|
|
// Non-sequence specific TransitionRuleGetter nodes have no associated nodes assigned, they are always allowed in AnimationTransitionSchema graphs
|
|
|
|
|
if( AssociatedStateNode == nullptr && AssociatedAnimAssetPlayerNode == nullptr)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
else if(AssociatedAnimAssetPlayerNode)
|
|
|
|
|
{
|
|
|
|
|
if(Filter.Context.Blueprints.Num())
|
|
|
|
|
{
|
|
|
|
|
UAnimBlueprint* AnimBlueprint = Cast<UAnimBlueprint>(Filter.Context.Blueprints[0]);
|
|
|
|
|
check(AnimBlueprint);
|
|
|
|
|
|
|
|
|
|
if (UAnimBlueprintGeneratedClass* AnimBlueprintClass = AnimBlueprint->GetAnimBlueprintSkeletonClass())
|
|
|
|
|
{
|
|
|
|
|
// Local function to find the transition node using the context graph and AnimBlueprintDebugData
|
|
|
|
|
auto GetTransitionNodeFromGraphLambda = [](const FAnimBlueprintDebugData& DebugData, const UEdGraph* Graph) -> UAnimStateTransitionNode*
|
|
|
|
|
{
|
|
|
|
|
if (const TWeakObjectPtr<UAnimStateTransitionNode>* TransNodePtr = DebugData.TransitionGraphToNodeMap.Find(Graph))
|
|
|
|
|
{
|
|
|
|
|
return TransNodePtr->Get();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (const TWeakObjectPtr<UAnimStateTransitionNode>* TransNodePtr = DebugData.TransitionBlendGraphToNodeMap.Find(Graph))
|
|
|
|
|
{
|
|
|
|
|
return TransNodePtr->Get();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return NULL;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Check if the TransitionNode can be found in the AninBlueprint's debug data
|
|
|
|
|
if (UAnimStateTransitionNode* TransNode = GetTransitionNodeFromGraph(AnimBlueprintClass->GetAnimBlueprintDebugData(), Filter.Context.Graphs[0]))
|
|
|
|
|
{
|
|
|
|
|
if (UAnimStateNode* SourceStateNode = Cast<UAnimStateNode>(TransNode->GetPreviousState()))
|
|
|
|
|
{
|
|
|
|
|
// Check if the AnimAssetPlayerNode's graph is the state machine's bound graph
|
|
|
|
|
if(AssociatedAnimAssetPlayerNode->GetGraph() == SourceStateNode->BoundGraph)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-09-29 20:47:47 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
UEdGraphPin* UK2Node_TransitionRuleGetter::GetOutputPin() const
|
|
|
|
|
{
|
|
|
|
|
return FindPinChecked(TEXT("Output"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|