2018-12-14 13:41:00 -05:00
|
|
|
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "SGraphNode_EnvironmentQuery.h"
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
|
|
|
#include "Types/SlateStructs.h"
|
|
|
|
|
#include "Widgets/SBoxPanel.h"
|
|
|
|
|
#include "Widgets/Notifications/SProgressBar.h"
|
|
|
|
|
#include "Widgets/Layout/SBox.h"
|
|
|
|
|
#include "Widgets/Input/SCheckBox.h"
|
2014-05-29 17:06:50 -04:00
|
|
|
#include "EnvironmentQuery/EnvQueryTest.h"
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
|
|
|
#include "EnvironmentQuery/EnvQueryOption.h"
|
|
|
|
|
#include "EnvironmentQueryGraph.h"
|
|
|
|
|
#include "EnvironmentQueryGraphNode.h"
|
|
|
|
|
#include "EnvironmentQueryGraphNode_Option.h"
|
|
|
|
|
#include "EnvironmentQueryGraphNode_Test.h"
|
|
|
|
|
#include "GraphEditorSettings.h"
|
|
|
|
|
#include "SCommentBubble.h"
|
|
|
|
|
#include "NodeFactory.h"
|
|
|
|
|
#include "SGraphPanel.h"
|
|
|
|
|
#include "EnvironmentQueryColors.h"
|
|
|
|
|
#include "Widgets/Text/SInlineEditableTextBlock.h"
|
2015-04-28 11:13:20 -04:00
|
|
|
#include "SLevelOfDetailBranchNode.h"
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#define LOCTEXT_NAMESPACE "EnvironmentQueryEditor"
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
class SEnvironmentQueryPin : public SGraphPinAI
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
SLATE_BEGIN_ARGS(SEnvironmentQueryPin){}
|
|
|
|
|
SLATE_END_ARGS()
|
|
|
|
|
|
|
|
|
|
void Construct(const FArguments& InArgs, UEdGraphPin* InPin);
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
virtual FSlateColor GetPinColor() const override;
|
2014-03-14 14:13:41 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void SEnvironmentQueryPin::Construct(const FArguments& InArgs, UEdGraphPin* InPin)
|
|
|
|
|
{
|
2015-02-23 10:30:16 -05:00
|
|
|
SGraphPinAI::Construct(SGraphPinAI::FArguments(), InPin);
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FSlateColor SEnvironmentQueryPin::GetPinColor() const
|
|
|
|
|
{
|
|
|
|
|
return IsHovered() ? EnvironmentQueryColors::Pin::Hover :
|
|
|
|
|
EnvironmentQueryColors::Pin::Default;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
|
// SGraphNode_EnvironmentQuery
|
|
|
|
|
|
|
|
|
|
void SGraphNode_EnvironmentQuery::Construct(const FArguments& InArgs, UEnvironmentQueryGraphNode* InNode)
|
|
|
|
|
{
|
2015-02-23 10:30:16 -05:00
|
|
|
SGraphNodeAI::Construct(SGraphNodeAI::FArguments(), InNode);
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
void SGraphNode_EnvironmentQuery::AddSubNode(TSharedPtr<SGraphNode> SubNodeWidget)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2015-02-23 10:30:16 -05:00
|
|
|
SGraphNodeAI::AddSubNode(SubNodeWidget);
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
TestBox->AddSlot().AutoHeight()
|
|
|
|
|
[
|
2015-02-23 10:30:16 -05:00
|
|
|
SubNodeWidget.ToSharedRef()
|
2014-03-14 14:13:41 -04:00
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FSlateColor SGraphNode_EnvironmentQuery::GetBorderBackgroundColor() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* TestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
2014-10-24 17:47:36 -04:00
|
|
|
const bool bSelectedSubNode = TestNode && TestNode->ParentNode && GetOwnerPanel().IsValid() && GetOwnerPanel()->SelectionManager.SelectedNodes.Contains(GraphNode);
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
return bSelectedSubNode ? EnvironmentQueryColors::NodeBorder::Selected :
|
|
|
|
|
EnvironmentQueryColors::NodeBorder::Default;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FSlateColor SGraphNode_EnvironmentQuery::GetBackgroundColor() const
|
|
|
|
|
{
|
|
|
|
|
const UEnvironmentQueryGraphNode* MyNode = Cast<UEnvironmentQueryGraphNode>(GraphNode);
|
|
|
|
|
const UClass* MyClass = MyNode && MyNode->NodeInstance ? MyNode->NodeInstance->GetClass() : NULL;
|
|
|
|
|
|
|
|
|
|
FLinearColor NodeColor = EnvironmentQueryColors::NodeBody::Default;
|
|
|
|
|
if (MyClass)
|
|
|
|
|
{
|
|
|
|
|
if (MyClass->IsChildOf( UEnvQueryTest::StaticClass() ))
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
NodeColor = (MyTestNode && MyTestNode->bTestEnabled) ? EnvironmentQueryColors::NodeBody::Test : EnvironmentQueryColors::NodeBody::TestInactive;
|
|
|
|
|
}
|
|
|
|
|
else if (MyClass->IsChildOf( UEnvQueryOption::StaticClass() ))
|
|
|
|
|
{
|
|
|
|
|
NodeColor = EnvironmentQueryColors::NodeBody::Generator;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3125172)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3053250 on 2016/07/18 by Steve.Robb
TNot metafunction added.
Change 3053252 on 2016/07/18 by Steve.Robb
New TIsEnumClass trait.
Change 3061345 on 2016/07/22 by Robert.Manuszewski
Changing FMallocStomp::GetAllocationSize() to return the requested allocation size instead of the physical allocation size to make FMallocStomp work properly with FMallocPoisonProxy
Change 3061377 on 2016/07/22 by Graeme.Thornton
Added bStripAnimationDataOnDedicatedServer option to UAnimationSettings which will remove all compressed data from cooked server data. Disabled by default
Change 3064592 on 2016/07/26 by Steven.Hutton
Uploading repository files
Change 3064595 on 2016/07/26 by Steven.Hutton
Assign crashes to buggs based not just on Callstack but also based on Error message.
Error messages have "data" masked out and are then compared to a table of error messages to find similar messages. Ensures are not currently filtered by error message.
Change 3066046 on 2016/07/27 by Graeme.Thornton
Better dedicated client/server class exclusion during cooking
- Add class lists to cooker settings so they can be modified in the editor
Change 3066077 on 2016/07/27 by Graeme.Thornton
Move Paragon NeedsLoadForServer calls over to the new config based system
Change 3066203 on 2016/07/27 by Chris.Wood
CrashReportProcess logging and Slack reporting improvements to monitor disk space.
[UE-31129] - Crash Report server need to alert on Slack when the PDB cache is full
Change 3066276 on 2016/07/27 by Graeme.Thornton
Move simple NeedsLoadForClient implementations over to new config based system
Change 3068019 on 2016/07/28 by Graeme.Thornton
Don't call ReleaseResources on UStaticMesh if we never render, and therefore never actually initialize the resources
- Corrects some bad stats
Change 3068218 on 2016/07/28 by Chris.Wood
CrashReportProcess 1.1.18 passes BuildVersion to MinidumpDiagnostics
[UE-31706] - Add new BuildVersion string to crash context and website
Also modified command line log file ini settings to stop MDD stalling trying to sort and delete its logs.
Change 3071665 on 2016/08/01 by Robert.Manuszewski
Moving RemoveNamesFromMasterList from UEnum destructor to BeginDestroy to avoid potential issues when its package has already been destroyed.
Change 3073388 on 2016/08/02 by Graeme.Thornton
Invalidate string asset reference tags after finishing up loading of an async package
Change 3073745 on 2016/08/02 by Robert.Manuszewski
Disabling logging to memory in shipping by default. From now on FOutputDeviceMemory will be an opt-in for games.
#jira FORT-27839
Change 3074866 on 2016/08/03 by Robert.Manuszewski
PR #2650: Fixed a bug where newline escape sequence wasnt written to the pipe (Contributed by ozturkhakki)
Change 3075128 on 2016/08/03 by Steve.Robb
Static analysis fixes: error C2065: 'ThisOuterWorld': undeclared identifier
Change 3075130 on 2016/08/03 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'LODLevel'
Change 3075131 on 2016/08/03 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Owner'
Change 3075235 on 2016/08/03 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'AnimToOperateOn'
Change 3075248 on 2016/08/03 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'ParentProfile'
Change 3075662 on 2016/08/03 by Steve.Robb
Static analysis/buffer size fix: warning C28020: The expression '_Param_(7)>=sizeof(ICMP_ECHO_REPLY)+_Param_(4)+8' is not true at this call
Change 3075668 on 2016/08/03 by Steve.Robb
Static analysis fix: warning C6326: Potential comparison of a constant with another constant
Change 3075679 on 2016/08/03 by Chris.Wood
Added -NoTrimCallstack command line arg to MDD calls from CRP 1.1.19
[OR-26335] - 29.1 crash reporter generating reports with no callstacks / info
New MDD has -NoTrimCallstack option to leave possibly irrelevant entires in the stack. Trimming is somewhat arbitrary and based on string matching. I'd rather see the whole thing.
Change 3077070 on 2016/08/04 by Steve.Robb
Dead array slack tracking code removed.
Change 3077113 on 2016/08/04 by Steve.Robb
TEnumAsByte is now deprecated for enum classes.
All current uses fixed (which tidies up that code anyway).
New FArchive::op<< for enum classes.
Generated code now never uses TEnumAsByte for enum classes.
Change 3077117 on 2016/08/04 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'DefaultSettings'
Change 3078709 on 2016/08/05 by Steve.Robb
FUNCTION_NO_NULL_RETURN_* macros added to statically annotate a function to say that it never returns a null pointer.
TObjectIterator annotated to never return null.
NewObject annotated to never return null.
Change 3078836 on 2016/08/05 by Graeme.Thornton
Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading
Change 3082217 on 2016/08/09 by Steve.Robb
Missing #include for FUniqueNetIdRepl added.
Change 3083679 on 2016/08/10 by Chris.Wood
CrashReportProcess performance improvements. CRP v1.1.22
[UE-34402] - Crash Reporter: Improve CRP performance by allowing multiple MDD instances
[UE-34403] - Crash Reporter: CRP should throw away crashes when backlog is too large to avoid runaway
Passing lock details to MDD on command line and managing multiple MDD tasks in CRP.
Configurable values for range of queue sizes that cause us to throw away crashes.
Change 3085362 on 2016/08/11 by Steve.Robb
Rule-of-three fixes for FAIMessageObserver, to prevent accidents.
From here: https://udn.unrealengine.com/questions/306507/tstaticarray-doesnt-call-destructor-on-elements-be.html
Change 3085396 on 2016/08/11 by Steve.Robb
Swap can now be configured via the TUseBitwiseSwap trait to not use Memswap, which can be less optimal for certain types.
Change 3088840 on 2016/08/15 by Steve.Robb
TRemoveReference moved to its own header.
Change 3088858 on 2016/08/15 by Steve.Robb
TDecay moved to its own header.
Change 3088963 on 2016/08/15 by Steve.Robb
Invoke function, for doing a generic call on a generic callable thing. Equivalent to std::invoke.
Change 3089144 on 2016/08/15 by Steve.Robb
Algo::Transform updated to use Invoke. Algorithm tests updated to test the new features.
Change 3089147 on 2016/08/15 by Steve.Robb
TLess and TGreater moved to their own headers and defaulted to void as a type-deducing version, as per std::.
Change 3090243 on 2016/08/16 by Steve.Robb
New Algo::Sort and Algo::SortBy algorithms.
Change 3090387 on 2016/08/16 by Steve.Robb
Improved bitwise swapping for Swap.
See: https://udn.unrealengine.com/questions/306922/swap-is-painfully-slow.html
Change 3090444 on 2016/08/16 by Steve.Robb
Ptr+Size overloads removed after discussion - MakeArrayView should be used instead.
Change 3090495 on 2016/08/16 by Steve.Robb
Assert when FString::Mid is passed a negative count.
#jira UE-18756
Change 3093455 on 2016/08/18 by Steve.Robb
Debuggability and efficiency improvements to UScriptStruct::DeferCppStructOps.
Change 3094476 on 2016/08/19 by Steve.Robb
BOM removed from InvariantCulture.h.
Change 3094697 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6237: (<zero> && <expression>) is always zero. <expression> is never evaluated and might have side effects.
Change 3094702 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Interactor'.
Change 3094715 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6385: Reading invalid data from 'Order': the readable size is '256' bytes, but '8160' bytes may be read.
Change 3094737 on 2016/08/19 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'OwnedComponent'.
warning C28182: Dereferencing NULL pointer. 'Child' contains the same NULL value as 'AttachToComponent' did.
Change 3094750 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Actor'.
Change 3094768 on 2016/08/19 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'LevelSequence'.
warning C6011: Dereferencing NULL pointer 'Actor'.
Change 3094774 on 2016/08/19 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'CallFunctionNode'.
Change 3094783 on 2016/08/19 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'TargetPin'.
Change 3094807 on 2016/08/19 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'SourceClass'.
Change 3094815 on 2016/08/19 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'VarNode'.
warning C6011: Dereferencing NULL pointer 'SourceClass'.
Change 3094840 on 2016/08/19 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'TunnelGraph'.
warning C28182: Dereferencing NULL pointer. 'GraphNode' contains the same NULL value as 'SourceNode' did.
Change 3094864 on 2016/08/19 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'SpawnClassPin'.
Change 3094880 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'PrevIfIndexMatchesStatement'.
Change 3094886 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'SpawnBlueprintPin'.
Change 3094903 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'K2Node'.
Change 3094916 on 2016/08/19 by Steve.Robb
Static analysis fix: Dereferencing NULL pointer 'CompilerContext'.
Change 3094931 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'VariablePin'.
Change 3094935 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'CurrentPin'.
Change 3094943 on 2016/08/19 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Pin'.
warning C28182: Dereferencing NULL pointer. 'Graph' contains the same NULL value as 'TargetGraph' did.
Change 3094960 on 2016/08/19 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'LastOutPin'.
Change 3095046 on 2016/08/19 by Steve.Robb
Single parameter version of CastChecked tagged to never return null.
Change 3095054 on 2016/08/19 by Steve.Robb
Committed wrong version in CL# 3095046.
Change 3095089 on 2016/08/19 by Steve.Robb
Static analysis fixes:
warning C6509: Invalid annotation: 'return' cannot be referenced in some contexts
warning C6101: Returning uninitialized memory '*lpdwExitCode'.
Change 3096035 on 2016/08/22 by Steve.Robb
Fix for static lighting in pixel inspector.
Change 3096039 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'World'.
Change 3096045 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Actor'.
Change 3096058 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'OtherPin'.
Change 3096059 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'MainMesh'.
Change 3096066 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'SourceType'.
Change 3096070 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'LastPushStatement'.
Change 3096074 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'OriginalDataTableInPin'.
Change 3096075 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'CurrentPin'.
Change 3096081 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'RunningPlatformData'.
Change 3096156 on 2016/08/22 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'BP'.
warning C6011: Dereferencing NULL pointer 'Object'.
Change 3096308 on 2016/08/22 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'TopMipData'.
warning C6011: Dereferencing NULL pointer 'MipCoverageData[0]'.
Change 3096315 on 2016/08/22 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'OldParent'.
warning C6011: Dereferencing NULL pointer 'TestExecutionInfo'.
Change 3096318 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'OwnerClass'.
Change 3096322 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'StaticMeshInstanceData'.
Change 3096337 on 2016/08/22 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Pin'.
warning C6011: Dereferencing NULL pointer 'SpawnVarPin'.
Change 3096345 on 2016/08/22 by Steve.Robb
Static analysis fixes: warning C6246: Local declaration of 'NumTris' hides declaration of the same name in outer scope.
Change 3096356 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'InWorld'.
Change 3096387 on 2016/08/22 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'ExpressionPreviewMaterial'.
warning C6011: Dereferencing NULL pointer 'MaterialNode->MaterialExpression'.
Change 3096400 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'FunctionInputs'.
Change 3096413 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C28182: Dereferencing NULL pointer. 'LODPackage' contains the same NULL value as 'AssetsOuter' did.
Change 3096416 on 2016/08/22 by Steve.Robb
Static analysis fixes: warning C6237: (<zero> && <expression>) is always zero. <expression> is never evaluated and might have side effects.
Change 3096423 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'RedirectorRefs.Redirector'.
Change 3096439 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'NewObject'.
Change 3096446 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'BaseClass'.
Change 3096454 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'OldSkeleton'.
Change 3096464 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'MyNode'.
Change 3096469 on 2016/08/22 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'VRInteractor'.
Change 3097559 on 2016/08/23 by Steve.Robb
Alternate fix to CL# 3096439.
Change 3097583 on 2016/08/23 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'SourceCategoryEnum'.
warning C6011: Dereferencing NULL pointer 'CurrentWorld'.
Change 3097584 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'LocalizationTarget'.
Change 3097585 on 2016/08/23 by Steve.Robb
Static analysis fixes:
warning C28182: Dereferencing NULL pointer. 'VariableSetNode' contains the same NULL value as 'AssignmentNode' did.
warning C6011: Dereferencing NULL pointer 'FirstNativeClass'.
Change 3097588 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'OutputObjClass'.
Change 3097589 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C28182: Dereferencing NULL pointer. 'Term' contains the same NULL value as 'RValueTerm' did.
Change 3097591 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Schema'.
Change 3097597 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'LayerInfo'.
Change 3097598 on 2016/08/23 by Steve.Robb
Const-correctness fix for ILandscapeEditorModule::GetHeightmapFormatByExtension and ILandscapeEditorModule::GetWeightmapFormatByExtension.
Change 3097600 on 2016/08/23 by Steve.Robb
Fix for incorrect null check.
Change 3097605 on 2016/08/23 by Steve.Robb
Spurious static analysis fix: warning C6011: Dereferencing NULL pointer 'TexDataPtr'.
Bug filed here: https://connect.microsoft.com/VisualStudio/feedback/details/3078125
Change 3097609 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C28182: Dereferencing NULL pointer. 'ObjClass' contains the same NULL value as 'BaseClass' did.
Change 3097613 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'InEdGraph'.
Change 3097620 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'ThisScalableFloat'.
Change 3097627 on 2016/08/23 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'AnimBlueprint'.
Change 3097629 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C28182: Dereferencing NULL pointer. 'Pin' contains the same NULL value as 'PoseNet' did.
Change 3097631 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'IPOverlayInfo.Brush'.
Change 3097634 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Survey'.
Change 3097639 on 2016/08/23 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'Settings'.
Change 3097650 on 2016/08/23 by Steve.Robb
Alternate fix for CL# 3097597.
Change 3097725 on 2016/08/23 by Steve.Robb
Spurious static analysis fix: warning C6011: Dereferencing NULL pointer 'BodySetup'.
Change 3097764 on 2016/08/23 by Steve.Robb
Spurious static analysis fix: warning C28182: Dereferencing NULL pointer. 'FoundMode' contains the same NULL value as 'ElementType * FoundMode=LoopModes.FindByPredicate(<lambda>)' did.
Change 3097770 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Triangle'.
Change 3097775 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'CurGroup'.
Change 3097796 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'SourceComponent'.
Change 3097797 on 2016/08/23 by Steve.Robb
Spurious static analysis fix: warning C6011: Dereferencing NULL pointer 'HitComponent'.
Change 3097843 on 2016/08/23 by Steve.Robb
Spurious static analysis fix: Dereferencing NULL pointer. 'MatchingNewPin' contains the same NULL value as 'UEdGraphPin ** MatchingNewPin=this->Pins.FindByPredicate(<lambda>)' did.
Change 3097864 on 2016/08/23 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'ObjectClass'.
warning C6011: Dereferencing NULL pointer 'Client'.
Change 3097871 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C28182: Dereferencing NULL pointer. 'SMLightingMesh->StaticMesh' contains the same NULL value as 'StaticMesh' did.
Change 3098015 on 2016/08/23 by Steve.Robb
Alternative fix for CL# 3094864.
Change 3098024 on 2016/08/23 by Steve.Robb
Alternative fix for CL# 3094943.
Change 3098052 on 2016/08/23 by Steve.Robb
Alternative fix for CL# 3094886.
Change 3098080 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C28182: Dereferencing NULL pointer. 'PrimitiveComponent' contains the same NULL value as 'ReplacementComponent' did.
Change 3098102 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'IndexTermPtr'.
Change 3098148 on 2016/08/23 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Node'.
warning C6011: Dereferencing NULL pointer 'OldNode'.
warning C6011: Dereferencing NULL pointer 'LinkedPin'.
warning C6011: Dereferencing NULL pointer 'RootNode'.
Change 3098156 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'BTGraphNode'.
Change 3098176 on 2016/08/23 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'NewSection'.
Change 3098182 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Sprite'.
Change 3098197 on 2016/08/23 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'Node'.
Coding standards fixes.
Change 3098202 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'ExistingEventNode'.
Change 3098208 on 2016/08/23 by Steve.Robb
Static analysis fixes:
warning C28182: Dereferencing NULL pointer. 'Graph' contains the same NULL value as 'GraphNew' did.
warning C28182: Dereferencing NULL pointer. 'GoodGraph' contains the same NULL value as 'GraphNew' did.
Change 3098229 on 2016/08/23 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Property'.
Change 3099188 on 2016/08/24 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'SharedBaseClass'.
Change 3099195 on 2016/08/24 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'NodeProperty'.
Change 3099205 on 2016/08/24 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'VarDesc'.
Change 3099228 on 2016/08/24 by Steve.Robb
Spurious static analysis fix: warning C28182: Dereferencing NULL pointer. 'Node' contains the same NULL value as 'ParentNode' did.
Change 3099539 on 2016/08/24 by Steve.Robb
Spurious static analysis fixes:
warning C6011: Dereferencing NULL pointer 'InBlueprint'.
warning C28182: Dereferencing NULL pointer. 'TestObj' contains the same NULL value as 'TestOuter' did.
https://connect.microsoft.com/VisualStudio/feedback/details/3082362
https://connect.microsoft.com/VisualStudio/feedback/details/3082622
Change 3099546 on 2016/08/24 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'OldNode'.
Change 3099561 on 2016/08/24 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'ReferencedObject'.
Change 3099571 on 2016/08/24 by Steve.Robb
Static analysis fix: Dereferencing NULL pointer. 'ObjClass' contains the same NULL value as 'CommonBaseClass' did.
Change 3099600 on 2016/08/24 by Steve.Robb
Static analysis fix:
warning C6385: Reading invalid data from 'this->Packages': the readable size is '24' bytes, but '32' bytes may be read.
warning C6385: Reading invalid data from 'Diff.ObjectSets': the readable size is '24' bytes, but '32' bytes may be read.
warning C6386: Buffer overrun while writing to 'Objects': the writable size is '24' bytes, but '32' bytes might be written.
Change 3099912 on 2016/08/24 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'SharedBaseClass'.
Change 3099923 on 2016/08/24 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'ThumbnailInfo'.
Change 3100977 on 2016/08/25 by Steve.Robb
Static analysis fixes:
warning C6001: Using uninitialized memory '*VectorRef'.
warning C6001: Using uninitialized memory '*PointRef'.
warning C6001: Using uninitialized memory '*PolyRef'.
Coding standard fixes.
Change 3100985 on 2016/08/25 by Steve.Robb
Static analyis fix: warning C6011: Dereferencing NULL pointer 'SpawnClassPin'.
Change 3100987 on 2016/08/25 by Steve.Robb
Static analysis fixes:
warning C28183: 'Resources.BitmapHandle' could be '0', and is a copy of the value found in 'CreateDIBSection()`829': this does not adhere to the specification for the function 'SelectObject'.
warning C6387: '_Param_(4)' could be '0': this does not adhere to the specification for the function 'CreateDIBSection'.
Change 3100992 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6287: Redundant code: the left and right sub-expressions are identical.
Change 3101000 on 2016/08/25 by Steve.Robb
Static analysis fixes:
warning C6001: Using uninitialized memory 'tmpMemReq'.
warning C6001: Using uninitialized memory 'TmpCreateInfo'.
Change 3101004 on 2016/08/25 by Steve.Robb
warning C28182: Dereferencing NULL pointer. 'FoliageActor' contains the same NULL value as 'Actor' did.
Change 3101009 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'StaticMeshComponent'.
Change 3101115 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Canvas'.
Change 3101120 on 2016/08/25 by Steve.Robb
Fixes to previous fixes.
Change 3101128 on 2016/08/25 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'Stream'.
Change 3101281 on 2016/08/25 by Steve.Robb
Static analysis fixes:
warning C6262: Function uses '99256' bytes of stack: exceeds /analyze:stacksize '81940'. Consider moving some data to heap.
warning C6001: Using uninitialized memory 'Pixel'.
Change 3101292 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'BulkDataPointer'.
Change 3101299 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'UnrealMaterial'.
Change 3101300 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'AssetObject'.
Change 3101304 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'MeshRootNode'.
Change 3101311 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Cluster'.
Change 3101323 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'StartNode'.
Change 3101329 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Object'.
Change 3101333 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'ArrayRef'.
Change 3101339 on 2016/08/25 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'ImportData'.
warning C6011: Dereferencing NULL pointer 'CurveToImport'.
Change 3101485 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'ObjectProperty'.
Change 3101583 on 2016/08/25 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'UserDefinedStruct'.
Change 3105721 on 2016/08/30 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'SpawnClassPin'.
Change 3105724 on 2016/08/30 by Steven.Hutton
Change users page to more responsive paginated version.
Change 3105725 on 2016/08/30 by Steven.Hutton
Added field for crash processor failed
Change 3105786 on 2016/08/30 by Steve.Robb
Reintroduced missing operator<< for enum classes.
Change 3105803 on 2016/08/30 by Steve.Robb
Removal of obsolete code and state. PrepareCppStructOps() has several unreachable blocks, one of which sets UScriptStruct::bCppStructOpsFromBaseClass which is otherwise never true, so it can be removed too.
Change 3106251 on 2016/08/30 by Steve.Robb
Switch static analysis node to build editor instead of just the engine.
Change 3107556 on 2016/08/31 by Steven.Hutton
Added build version data from CRP to DB as part of add crash #rb none
Change 3107557 on 2016/08/31 by Steven.Hutton
Passed build version data to CRW through crash description #rb none
Change 3107634 on 2016/08/31 by Graeme.Thornton
Only accept "log=<filename>" and "abslog=<filename>" command line values if the filename has a "log" or "txt" extension
#jira UE-20147
Change 3107797 on 2016/08/31 by Steve.Robb
Fix for UHT debugging manifest, after paths changed in CL# 3088416.
Change 3107964 on 2016/08/31 by Steve.Robb
TCString::Strfind renamed to TCString::Strifind, as it is case-insensitive.
New case-sensitive TCString::Strfind added, based on GitHub PR #2453.
Change 3108023 on 2016/08/31 by Steve.Robb
Removal of test code which no longer compiles now that we emit errors on skipped preprocessor blocks.
Change 3108160 on 2016/08/31 by Steven.Hutton
Update to add new filter to website front page #rb none
Change 3109556 on 2016/09/01 by Steven.Hutton
Fixing compile warning #rb none
Change 3110001 on 2016/09/01 by Steve.Robb
PR #2468: Fix for UnrealHeaderTool TArray<TScriptInterface<>> UFUNCTION parameters (Contributed by UnrealEverything)
Change 3111835 on 2016/09/02 by Steve.Robb
Enforce uint8 on UENUM() enum classes.
#jira UE-35224
Change 3111867 on 2016/09/02 by Steve.Robb
Static analysis fix: warning C6236: (<expression> || <non-zero constant>) is always a non-zero constant.
Change 3111880 on 2016/09/02 by Steve.Robb
Static analysis fixes:
warning C6386: Buffer overrun while writing to 'Views': the writable size is 'ShaderBindings.ResourceViews.public: int __cdecl TArray<class TSlateD3DTypedShaderParameter<struct ID3D11ShaderResourceView> *,class FDefaultAllocator>::Num(void)const ()*8' bytes, but '16' bytes might be written.
warning C6386: Buffer overrun while writing to 'ConstantBuffers': the writable size is 'ShaderBindings.ConstantBuffers.public: int __cdecl TArray<class TSlateD3DTypedShaderParameter<struct ID3D11Buffer> *,class FDefaultAllocator>::Num(void)const ()*8' bytes, but '16' bytes might be written.
Change 3111886 on 2016/09/02 by Steve.Robb
Static analysis fix: warning C6386: Buffer overrun while writing to 'DistortionMeshIndices': the writable size is 'NumIndices*2' bytes, but '4' bytes might be written.
Change 3112025 on 2016/09/02 by Steve.Robb
Static analysis fix:
warning C6011: Dereferencing NULL pointer 'pInputProcessParameters'.
warning C6011: Dereferencing NULL pointer 'pOutputProcessParameters'.
Change 3112051 on 2016/09/02 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Command'.
Change 3112066 on 2016/09/02 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'CurNetDriver'.
Change 3112093 on 2016/09/02 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'byteArray'.
Change 3112110 on 2016/09/02 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'PersistentParty'.
Change 3112123 on 2016/09/02 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'CurDriver'.
warning C6011: Dereferencing NULL pointer 'CurNetDriver'.
warning C6011: Dereferencing NULL pointer 'CurWorld'.
Change 3112157 on 2016/09/02 by Steve.Robb
Static analysis fixes: warning C6011: Dereferencing NULL pointer 'UnitTest'.
Change 3112283 on 2016/09/02 by Steve.Robb
Static analysis fixes:
warning C6244: Local declaration of 'None' hides previous declaration at line '173' of 'netcodeunittest.h'.
Change 3113455 on 2016/09/05 by Chris.Wood
CRP performance improvements (v1.1.25)
Change 3113468 on 2016/09/05 by Steve.Robb
Reverting unnecessary merge in CL# 3112464.
Change 3113508 on 2016/09/05 by Steve.Robb
Static analysis fix: warning C6031: Return value ignored: 'CoCreateGuid'.
Change 3113588 on 2016/09/05 by Steve.Robb
Static analysis fix: warning C6244: Local declaration of 'hInstance' hides previous declaration
Change 3113863 on 2016/09/06 by Steve.Robb
Fix for this error:
Could not find a part of the path 'D:\Build\++UE4+Dev-Core+Compile\Sync\Engine\Plugins\2D\Paper2D\Binaries\Win64\UE4Editor.modules'.
Change 3113864 on 2016/09/06 by Steve.Robb
Misc static analysis fixes for VS2015 Update 2.
Change 3113918 on 2016/09/06 by Ben.Marsh
Explicitly check for version manifest existing before trying to delete it, rather than swallowing the exception.
Change 3114293 on 2016/09/06 by Steve.Robb
Static analysis fixes for Visual Studio Update 2.
Change 3115732 on 2016/09/07 by Steve.Robb
Static analysis fix: warning C6262: Function uses '121180' bytes of stack: exceeds /analyze:stacksize '81940'. Consider moving some data to heap.
Change 3115754 on 2016/09/07 by Steve.Robb
GObjectArrayForDebugVisualizers init order fix.
Removal of obsolete FName visualizer helper code.
Change 3115774 on 2016/09/07 by Steve.Robb
Fix for ICE by moving static variables into their own file and removing const return types.
#jira UE-35597
Change 3116061 on 2016/09/07 by Steve.Robb
Redundant LOCTEXT_NAMESPACE removed - was missed in CL# 3115774.
Change 3117478 on 2016/09/08 by Steve.Robb
Static analysis fixes in third party code, using a new macro-based system.
Change 3119152 on 2016/09/09 by Steve.Robb
TArray::RemoveAt and RemoveAtSwap with a bool Count is now a compile error.
Change 3119200 on 2016/09/09 by Steve.Robb
Fix for destructors not being called in TSparseArray move assignment.
Change 3119568 on 2016/09/09 by Steve.Robb
Fix for TSparseArray visualizer.
Change 3119591 on 2016/09/09 by Steve.Robb
New MakeShared function which allocates the object and reference controller in a single block.
Change 3120281 on 2016/09/09 by Steve.Robb
Fix for ICE on static analysis build.
#jira UE-35596
Change 3120786 on 2016/09/12 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'SavedGame'.
Change 3120787 on 2016/09/12 by Steve.Robb
Removal of TEnumAsByte on enum classes.
Change 3120789 on 2016/09/12 by Steve.Robb
Static analysis fixes:
warning C6385: Reading invalid data from 'D3D11X_CERAM_OFFSET_BY_SET_STAGE': the readable size is '28' bytes, but '64' bytes may be read.
warning C6101: Returning uninitialized memory '*pDescriptorDst'. A successful path through the function does not set the named _Out_ parameter.
Change 3121234 on 2016/09/12 by Steve.Robb
Unused ToBuildInfoString function declaration removed.
Change 3122616 on 2016/09/13 by Steve.Robb
Static analysis fix: warning C6011: Dereferencing NULL pointer 'Compiler'.
Change 3123070 on 2016/09/13 by Steve.Robb
Static analysis fix: warning C28182: Dereferencing NULL pointer. 'top' contains the same NULL value as 'edge' did.
[CL 3126145 by Robert Manuszewski in Main branch]
2016-09-15 00:21:42 -04:00
|
|
|
if (!MyNode || MyNode->HasErrors())
|
2015-03-09 05:40:56 -04:00
|
|
|
{
|
|
|
|
|
NodeColor = EnvironmentQueryColors::NodeBody::Error;
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
return NodeColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SGraphNode_EnvironmentQuery::UpdateGraphNode()
|
|
|
|
|
{
|
|
|
|
|
if (TestBox.IsValid())
|
|
|
|
|
{
|
|
|
|
|
TestBox->ClearChildren();
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
SAssignNew(TestBox,SVerticalBox);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
InputPins.Empty();
|
|
|
|
|
OutputPins.Empty();
|
|
|
|
|
|
|
|
|
|
// Reset variables that are going to be exposed, in case we are refreshing an already setup node.
|
|
|
|
|
RightNodeBox.Reset();
|
|
|
|
|
LeftNodeBox.Reset();
|
2015-02-23 10:30:16 -05:00
|
|
|
SubNodes.Reset();
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2015-04-28 11:13:20 -04:00
|
|
|
const FMargin NodePadding = (Cast<UEnvironmentQueryGraphNode_Test>(GraphNode) != NULL)
|
|
|
|
|
? FMargin(2.0f)
|
|
|
|
|
: FMargin(8.0f);
|
2014-03-14 14:13:41 -04:00
|
|
|
float TestPadding = 0.0f;
|
|
|
|
|
|
|
|
|
|
UEnvironmentQueryGraphNode_Option* OptionNode = Cast<UEnvironmentQueryGraphNode_Option>(GraphNode);
|
|
|
|
|
if (OptionNode)
|
|
|
|
|
{
|
2015-02-23 10:30:16 -05:00
|
|
|
for (int32 Idx = 0; Idx < OptionNode->SubNodes.Num(); Idx++)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2015-02-23 10:30:16 -05:00
|
|
|
if (OptionNode->SubNodes[Idx])
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2015-02-23 10:30:16 -05:00
|
|
|
TSharedPtr<SGraphNode> NewNode = FNodeFactory::CreateNodeWidget(OptionNode->SubNodes[Idx]);
|
2014-03-14 14:13:41 -04:00
|
|
|
if (OwnerGraphPanelPtr.IsValid())
|
|
|
|
|
{
|
|
|
|
|
NewNode->SetOwner(OwnerGraphPanelPtr.Pin().ToSharedRef());
|
|
|
|
|
OwnerGraphPanelPtr.Pin()->AttachGraphEvents(NewNode);
|
|
|
|
|
}
|
2015-02-23 10:30:16 -05:00
|
|
|
AddSubNode(NewNode);
|
2014-03-14 14:13:41 -04:00
|
|
|
NewNode->UpdateGraphNode();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
if (SubNodes.Num() == 0)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
TestBox->AddSlot().AutoHeight()
|
|
|
|
|
[
|
|
|
|
|
SNew(STextBlock).Text(LOCTEXT("NoTests","Right click to add tests"))
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TestPadding = 10.0f;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const FSlateBrush* NodeTypeIcon = GetNameIcon();
|
|
|
|
|
|
|
|
|
|
FLinearColor TitleShadowColor(1.0f, 0.0f, 0.0f);
|
|
|
|
|
TSharedPtr<SErrorText> ErrorText;
|
|
|
|
|
TSharedPtr<STextBlock> DescriptionText;
|
|
|
|
|
TSharedPtr<SNodeTitle> NodeTitle = SNew(SNodeTitle, GraphNode);
|
|
|
|
|
|
2015-04-28 11:13:20 -04:00
|
|
|
TWeakPtr<SNodeTitle> WeakNodeTitle = NodeTitle;
|
|
|
|
|
auto GetNodeTitlePlaceholderWidth = [WeakNodeTitle]() -> FOptionalSize
|
|
|
|
|
{
|
|
|
|
|
TSharedPtr<SNodeTitle> NodeTitlePin = WeakNodeTitle.Pin();
|
|
|
|
|
const float DesiredWidth = (NodeTitlePin.IsValid()) ? NodeTitlePin->GetTitleSize().X : 0.0f;
|
|
|
|
|
return FMath::Max(75.0f, DesiredWidth);
|
|
|
|
|
};
|
|
|
|
|
auto GetNodeTitlePlaceholderHeight = [WeakNodeTitle]() -> FOptionalSize
|
|
|
|
|
{
|
|
|
|
|
TSharedPtr<SNodeTitle> NodeTitlePin = WeakNodeTitle.Pin();
|
|
|
|
|
const float DesiredHeight = (NodeTitlePin.IsValid()) ? NodeTitlePin->GetTitleSize().Y : 0.0f;
|
|
|
|
|
return FMath::Max(22.0f, DesiredHeight);
|
|
|
|
|
};
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
this->ContentScale.Bind( this, &SGraphNode::GetContentScale );
|
2014-11-03 10:40:57 -05:00
|
|
|
this->GetOrAddSlot( ENodeZone::Center )
|
2014-03-14 14:13:41 -04:00
|
|
|
.HAlign(HAlign_Fill)
|
|
|
|
|
.VAlign(VAlign_Center)
|
|
|
|
|
[
|
|
|
|
|
SNew(SBorder)
|
|
|
|
|
.BorderImage( FEditorStyle::GetBrush( "Graph.StateNode.Body" ) )
|
|
|
|
|
.Padding(0)
|
|
|
|
|
.BorderBackgroundColor( this, &SGraphNode_EnvironmentQuery::GetBorderBackgroundColor )
|
|
|
|
|
.OnMouseButtonDown(this, &SGraphNode_EnvironmentQuery::OnMouseDown)
|
|
|
|
|
[
|
|
|
|
|
SNew(SOverlay)
|
|
|
|
|
|
2015-04-28 11:13:20 -04:00
|
|
|
// Pins and node details
|
2014-03-14 14:13:41 -04:00
|
|
|
+SOverlay::Slot()
|
2015-04-28 11:13:20 -04:00
|
|
|
.HAlign(HAlign_Fill)
|
|
|
|
|
.VAlign(VAlign_Fill)
|
|
|
|
|
[
|
|
|
|
|
SNew(SVerticalBox)
|
|
|
|
|
|
|
|
|
|
// INPUT PIN AREA
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
2014-03-14 14:13:41 -04:00
|
|
|
[
|
2015-04-28 11:13:20 -04:00
|
|
|
SNew(SBox)
|
|
|
|
|
.MinDesiredHeight(NodePadding.Top)
|
|
|
|
|
[
|
|
|
|
|
SAssignNew(LeftNodeBox, SVerticalBox)
|
|
|
|
|
]
|
2014-03-14 14:13:41 -04:00
|
|
|
]
|
|
|
|
|
|
2015-04-28 11:13:20 -04:00
|
|
|
// STATE NAME AREA
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.Padding(FMargin(NodePadding.Left, 0.0f, NodePadding.Right, 0.0f))
|
2014-03-14 14:13:41 -04:00
|
|
|
[
|
|
|
|
|
SNew(SHorizontalBox)
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.VAlign(VAlign_Center)
|
|
|
|
|
.AutoWidth()
|
|
|
|
|
[
|
|
|
|
|
SNew(SCheckBox)
|
|
|
|
|
.Visibility(this, &SGraphNode_EnvironmentQuery::GetTestToggleVisibility)
|
|
|
|
|
.IsChecked(this, &SGraphNode_EnvironmentQuery::IsTestToggleChecked)
|
|
|
|
|
.OnCheckStateChanged(this, &SGraphNode_EnvironmentQuery::OnTestToggleChanged)
|
|
|
|
|
.Padding(FMargin(0, 0, 4.0f, 0))
|
|
|
|
|
]
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.FillWidth(1.0f)
|
|
|
|
|
[
|
|
|
|
|
SNew(SVerticalBox)
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
[
|
|
|
|
|
SNew(SBorder)
|
|
|
|
|
.BorderImage( FEditorStyle::GetBrush("Graph.StateNode.Body") )
|
|
|
|
|
.BorderBackgroundColor( this, &SGraphNode_EnvironmentQuery::GetBackgroundColor )
|
|
|
|
|
.HAlign(HAlign_Fill)
|
|
|
|
|
.VAlign(VAlign_Center)
|
|
|
|
|
.Visibility(EVisibility::SelfHitTestInvisible)
|
|
|
|
|
[
|
|
|
|
|
SNew(SVerticalBox)
|
2015-04-28 11:13:20 -04:00
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
.Padding(0,0,0,2)
|
|
|
|
|
[
|
|
|
|
|
SNew(SBox).HeightOverride(4)
|
2014-03-14 14:13:41 -04:00
|
|
|
[
|
2015-04-28 11:13:20 -04:00
|
|
|
// weight bar
|
|
|
|
|
SNew(SProgressBar)
|
|
|
|
|
.FillColorAndOpacity(this, &SGraphNode_EnvironmentQuery::GetWeightProgressBarColor)
|
|
|
|
|
.Visibility(this, &SGraphNode_EnvironmentQuery::GetWeightMarkerVisibility)
|
|
|
|
|
.Percent(this, &SGraphNode_EnvironmentQuery::GetWeightProgressBarPercent)
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
[
|
|
|
|
|
SNew(SHorizontalBox)
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.AutoWidth()
|
|
|
|
|
[
|
|
|
|
|
// POPUP ERROR MESSAGE
|
|
|
|
|
SAssignNew(ErrorText, SErrorText )
|
|
|
|
|
.BackgroundColor( this, &SGraphNode_EnvironmentQuery::GetErrorColor )
|
|
|
|
|
.ToolTipText( this, &SGraphNode_EnvironmentQuery::GetErrorMsgToolTip )
|
|
|
|
|
]
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.Padding(FMargin(4.0f, 0.0f, 4.0f, 0.0f))
|
|
|
|
|
[
|
|
|
|
|
SNew(SLevelOfDetailBranchNode)
|
|
|
|
|
.UseLowDetailSlot(this, &SGraphNode_EnvironmentQuery::UseLowDetailNodeTitles)
|
|
|
|
|
.LowDetail()
|
2014-03-14 14:13:41 -04:00
|
|
|
[
|
2015-04-28 11:13:20 -04:00
|
|
|
SNew(SBox)
|
|
|
|
|
.WidthOverride_Lambda(GetNodeTitlePlaceholderWidth)
|
|
|
|
|
.HeightOverride_Lambda(GetNodeTitlePlaceholderHeight)
|
|
|
|
|
]
|
|
|
|
|
.HighDetail()
|
|
|
|
|
[
|
|
|
|
|
SNew(SVerticalBox)
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
[
|
|
|
|
|
SAssignNew(InlineEditableText, SInlineEditableTextBlock)
|
|
|
|
|
.Style( FEditorStyle::Get(), "Graph.StateNode.NodeTitleInlineEditableText" )
|
|
|
|
|
.Text( NodeTitle.Get(), &SNodeTitle::GetHeadTitle )
|
|
|
|
|
.OnVerifyTextChanged(this, &SGraphNode_EnvironmentQuery::OnVerifyNameTextChanged)
|
|
|
|
|
.OnTextCommitted(this, &SGraphNode_EnvironmentQuery::OnNameTextCommited)
|
|
|
|
|
.IsReadOnly( this, &SGraphNode_EnvironmentQuery::IsNameReadOnly )
|
|
|
|
|
.IsSelected(this, &SGraphNode_EnvironmentQuery::IsSelectedExclusively)
|
|
|
|
|
]
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
[
|
|
|
|
|
NodeTitle.ToSharedRef()
|
|
|
|
|
]
|
2014-03-14 14:13:41 -04:00
|
|
|
]
|
|
|
|
|
]
|
2015-04-28 11:13:20 -04:00
|
|
|
]
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
[
|
|
|
|
|
// DESCRIPTION MESSAGE
|
|
|
|
|
SAssignNew(DescriptionText, STextBlock )
|
|
|
|
|
.Visibility(this, &SGraphNode_EnvironmentQuery::GetDescriptionVisibility)
|
|
|
|
|
.Text(this, &SGraphNode_EnvironmentQuery::GetDescription)
|
|
|
|
|
]
|
2014-03-14 14:13:41 -04:00
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
.Padding(0, TestPadding, 0, 0)
|
|
|
|
|
[
|
|
|
|
|
TestBox.ToSharedRef()
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
]
|
2015-04-28 11:13:20 -04:00
|
|
|
|
|
|
|
|
// OUTPUT PIN AREA
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
2014-03-14 14:13:41 -04:00
|
|
|
[
|
2015-04-28 11:13:20 -04:00
|
|
|
SNew(SBox)
|
|
|
|
|
.MinDesiredHeight(NodePadding.Bottom)
|
2014-03-14 14:13:41 -04:00
|
|
|
[
|
2015-04-28 11:13:20 -04:00
|
|
|
SAssignNew(RightNodeBox, SVerticalBox)
|
2014-03-14 14:13:41 -04:00
|
|
|
]
|
|
|
|
|
]
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3252535)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3228282 on 2016/12/08 by Aaron.McLeran
Adding ability to fix up existing sound classes
- Utility "soundclassfixup" console command renames sound classes which are packaged inside other sound classes accidentally as new uniquely named packages
- Also removes code which was allowing "NewSoundClass" behavior in sound class graphs to populate with existing sound classes. Instead, it *always* creates a new sound class and warns if the sound class already exists. Connecting existing sound classes is instead going to be done through dragging them into the graph from the content browser or from the sound class node itself.
Change 3228774 on 2016/12/09 by Ori.Cohen
Fix multi select being very slow in phat
#JIRA UE-39559
Change 3229036 on 2016/12/09 by Marc.Audy
Remove trivial overrides
Change 3229130 on 2016/12/09 by Aaron.McLeran
Fixing build error.
Moving new code from CL 3228282 into WITH_EDITOR block since it's an editor-only operation
Change 3229412 on 2016/12/09 by Aaron.McLeran
Fixing 7.1 surround sound systems on PC by forcing them to load as 5.1.
- We don't support 7.1 but 7.1 systems should at least behave as good as 5.1
Change 3229782 on 2016/12/09 by Marc.Audy
Fixed crash when seamless travelling in PIE from levels other than the current editor level with a streaming sublevel shared with the current editor level (4.15)
#jira UE-39407
Change 3229842 on 2016/12/09 by Marc.Audy
Missing files for CL# 3229782
Change 3229905 on 2016/12/09 by Marc.Audy
Check Owner has a valid world before tryign to access Scene (4.14.2)
#jira UE-39560
Change 3229961 on 2016/12/09 by Aaron.McLeran
UE-39650 Implementing CL 3229894 in Dev-Framework
Change 3229964 on 2016/12/09 by Aaron.McLeran
Removing redundant loop introduced from integration
Change 3230722 on 2016/12/12 by Lukasz.Furman
fixed vislog macros for recording thick segments
#ue4
Change 3230864 on 2016/12/12 by Lina.Halper
Fix crash with deleting pose
#jira:UE-39584
Change 3230893 on 2016/12/12 by Marc.Audy
Support more default values in UHT for FVector: ForwardVector, RightVector, and single float FVector constructor
Change 3231189 on 2016/12/12 by Ori.Cohen
Added bone name to the physics invalid operation warnings.
Change 3231420 on 2016/12/12 by James.Golding
Support per-component skel mesh weight override
#jira UEFW-240
Change 3231422 on 2016/12/12 by James.Golding
Test map for per-component skin weights
Change 3231491 on 2016/12/12 by James.Golding
Move , FPositionVertexBuffer and FStaticMeshVertexDataInterface into their own headers
Move FStaticMeshVertexBuffer implementation into its own cpp
Change 3231590 on 2016/12/12 by mason.seay
Changed to box collision
Change 3231900 on 2016/12/12 by Aaron.McLeran
Switching to creating new master submixes rather than loading them
Change 3231909 on 2016/12/12 by James.Golding
Fix Mac CIS in StaticMeshVertexBuffer.h
Change 3232157 on 2016/12/13 by Mieszko.Zielinski
Fixed a silly bug in FBlackboardKeySelector::InitSelection resulting in the key selector picking first "ok-ish" value, even if it wasn't matching type filter #UE4
Change 3232162 on 2016/12/13 by Mieszko.Zielinski
Fixed UNavigationSystem::bNavigationAutoUpdateEnabled getting ignored by recent addition to related condition in UNavigationSystem #UE4
Change 3232314 on 2016/12/13 by James.Golding
Another attempt at fixing Mac CIS
Change 3232322 on 2016/12/13 by Lukasz.Furman
fixed order of nav area application and low area filter
#ue4
Change 3232364 on 2016/12/13 by Thomas.Sarkanen
Spline IK node
Added new runtime & graph node to deform bones along a spline. Added edit mode to work with in the BP editor.
Spline is specified within the node using control points. External spline could come later.
Currently very expensive to evaluate as it regenerates the transformed spline and PWLA each frame.
#jira UEFW-249 - Add spline IK node
Change 3232589 on 2016/12/13 by Thomas.Sarkanen
Fixed non-editor builds
Change 3232654 on 2016/12/13 by Marc.Audy
Don't rerun construction scripts when an actor has seamless traveled from another level (4.15)
#jira UE-39699
Change 3232690 on 2016/12/13 by Martin.Wilson
Remove unused member
Change 3232691 on 2016/12/13 by Martin.Wilson
Virtual bone additions:
1) Rename support
2) Ability to chain virtual bones (Have a virtual bone that is a child of another virtual bone)
#jira UE-39710
Change 3232782 on 2016/12/13 by Danny.Bouimad
Adding Test Content
Change 3232843 on 2016/12/13 by danny.bouimad
More Updates
Change 3232981 on 2016/12/13 by Marc.Audy
Fix CIS issues
Change 3233075 on 2016/12/13 by mason.seay
SplineIK asset for bug report
Change 3233124 on 2016/12/13 by Ori.Cohen
Added mass automation tests.
Change 3233265 on 2016/12/13 by Ben.Marsh
Build: Add support for building Orion and Fortnite precompiled binaries from Dev-Framework.
Change 3233365 on 2016/12/13 by mason.seay
Resaving with non-empty engine version
Change 3233532 on 2016/12/13 by mason.seay
Level blueprint clean up
Change 3233571 on 2016/12/13 by Ben.Marsh
Set up paths for precompiled binaries.
Change 3233601 on 2016/12/13 by Ben.Marsh
Build: Use the code CL rather than latest CL for precompiled binaries.
Change 3234402 on 2016/12/14 by Ori.Cohen
Physics: Fixed line traces not working properly in editor worlds when physics substepping was enabled (UE-36408)
- Substepping relies on interpolating transforms over frames, but only game worlds will be ticked, so we now disallow this feature in non-game worlds.
#jira UE-36408
Change 3234415 on 2016/12/14 by Ori.Cohen
Fix CIS
Change 3234574 on 2016/12/14 by Thomas.Sarkanen
Fix crash when IK chain is inverted
#jira UE-39720 - Crash compiling animation blueprint with Spline IK node
Change 3234882 on 2016/12/14 by Ori.Cohen
Fixed teleport not working for physical animation component
Change 3234971 on 2016/12/14 by Aaron.McLeran
Fix for omni-directional sounds in audio mixer
Change 3235251 on 2016/12/14 by mason.seay
Assets for proposed functional testing
Change 3235492 on 2016/12/14 by Ori.Cohen
Undo previous bad normal fix and remove wheel width compensation. This leads to bad normals when thick tires roll over the edge leading to instability.
#JIRA UE-38710
Change 3236398 on 2016/12/15 by Marc.Audy
(4.15) Add new object flag RF_NeedInitialization to indicate that ~FObjectInitalizer and PostInitProperties have not been executed for the object
Do not allow Modify calls on Objects that have not been initialized
#jira UE-39731
Change 3236413 on 2016/12/15 by Lukasz.Furman
added EQS profiler
#ue4
Change 3236418 on 2016/12/15 by Lukasz.Furman
changed log verbosity in navmesh geometry export function
#jira UE-39809
#3039
Change 3236508 on 2016/12/15 by Ori.Cohen
Allow vehicles to override inertia tensor after any mass properties have changed
#JIRA UE-39566
Change 3236573 on 2016/12/15 by Ori.Cohen
Fix manipulation tool not working properly with welded components
Change 3236577 on 2016/12/15 by Ori.Cohen
Improve physics asset body creation so that it merges small bones and turns off collision between initially overlapping bodies.
Change 3236580 on 2016/12/15 by Ori.Cohen
Improve mass computation for physics shapes (ignore trimesh which introduces error)
Change 3236581 on 2016/12/15 by Ori.Cohen
Fix incorrect inertia tensor computation for cubes (was being doubled by mistake).
Change 3236809 on 2016/12/15 by Lukasz.Furman
compilation fix: missing headers in EnvQueryManager
Change 3237187 on 2016/12/15 by Lukasz.Furman
compilation fix: missing defines in EnvQueryInstance
Change 3237423 on 2016/12/15 by Aaron.McLeran
Audio mixer: Allow center channel panning as a project setting.
- To better support previous audio engine behavior, allow audio mixer to pan audio to center channel via audio settings.
Change 3237639 on 2016/12/15 by Aaron.McLeran
Audio mixer stat tracking
Change 3237646 on 2016/12/15 by dan.reynolds
MIDI Test Assets:
General MIDITestBP
MPKmini2 Child BP
MPKmini2 Wrap Map
Change 3238148 on 2016/12/16 by Lukasz.Furman
fixed crash in EQS profiler
copy of CL# 3238145
Change 3238708 on 2016/12/16 by Marc.Audy
(4.15) Don't unload and then reload streaming levels that are marked to be hidden.
#jira UE-39883
Change 3238799 on 2016/12/16 by Lina.Halper
Potential fix + more info on crash on copying curve for WEX
Change 3239559 on 2016/12/19 by Ori.Cohen
Guard against infinitely thin geometry which fixes some nans
Change 3239728 on 2016/12/19 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3239536
Change 3239735 on 2016/12/19 by Jon.Nabozny
Set 'p.MoveIgnoreFirstBlockingOverlap' to be enabled by default (3158732). This causes collision behavior to remain unchanged unless people opt in to the new behavior.
Adjust Bot_RandomLocations default health to 100 from 0. This prevents death by hits from non-projectiles.
4.15
#jira UE-39387
Change 3239765 on 2016/12/19 by Jon.Nabozny
Fix FPredictProjectilePathParams to use a valid default value for TraceChannel.
This requires the use of a new bool bTraceWithChannel which is enabled by default.
4.15
#JIRA UE-39726
Change 3239810 on 2016/12/19 by Marc.Audy
Avoid duplicate GetWorldSettings call
Change 3239826 on 2016/12/19 by Lukasz.Furman
fixed crashes in gameplay debugger's draw delegate handling
copy of 3234768, 3239819
#ue4
Change 3239894 on 2016/12/19 by Richard.Hinckley
Improving UInterface template files for "New C++ Class" feature. We now use GENERATED_BODY macros and don't need an empty constructor in the .cpp file.
Change 3239957 on 2016/12/19 by Aaron.McLeran
UE-39924 Fix for crash when duplicating sound cue assets in content browser
Checking for null before casting
Change 3239983 on 2016/12/19 by Mieszko.Zielinski
Fixed injecting dynamic BTs not as expected when there's more than one injection point #UE4
Change 3240177 on 2016/12/19 by Mieszko.Zielinski
Fix for AI agents hand-placed on levels not getting their PathFollowingComponent.MyNavData set properly #UE4
Change 3240488 on 2016/12/19 by Aaron.McLeran
UE-39924 Fix for crash when duplicating sound cue assets in content browser
More fixes!
Change 3240512 on 2016/12/19 by dan.reynolds
AEOverview Update:
- Created support for single level loads (sub-maps now auto generate lights and a staging platform when loaded individually vs. via AEOverviewMain)
This will allow developers to load single levels functionally without adding lights or other assets to make them work.
Change 3240518 on 2016/12/19 by dan.reynolds
AEOverview Update:
- Added test for Multichannel 2D Reverb
Change 3240875 on 2016/12/20 by mason.seay
Gameplay Tag Functional Tests
Change 3240876 on 2016/12/20 by dan.reynolds
AEOverview Fix
- Fixed miss targeted menu items (updated prefixes)
Change 3240923 on 2016/12/20 by Lukasz.Furman
fixed memory corruption in template A* solver
copy of CL# 3240898
#ue4
Change 3241661 on 2016/12/21 by Thomas.Sarkanen
Fix mesh-customized sockets not showing up by default in 'Active' socket filter mode
#jira UE-39938 - Cannot edit mesh sockets
Change 3241964 on 2016/12/21 by Wes.Hunt
Remove QoSReporter from CrashReportClient
#tests editor debug gpf and verify crash is sent.
Change 3241996 on 2016/12/21 by Wes.Hunt
Add @Owner tags to all analytics events in all our games #jira AN-805
* Added default owners to most events. Tracked down authors of some events.
* Added skeleton docs for many missing locations (just added @Name and @Owner so analytics folks can see the name and who to talk to in the doc webpage).
* verified this checkin contains changes to comments ONLY.
#tests compiled Orion and QAGame.
Change 3242825 on 2016/12/22 by Lukasz.Furman
fixed order of behavior tree execution indices for PIE debugging
#jira UE-39922
Change 3242860 on 2016/12/22 by mason.seay
Functional tests for timer
Change 3243188 on 2016/12/22 by dan.reynolds
AEOverview Update
- Created viewport bookmarks on each sub-map for individual testing consistency
- Updated EQ and Reverb effect parameters to work with new Audio Mixer Effects
Change 3243192 on 2016/12/22 by dan.reynolds
AEOverview Lighting Fix
Change 3243507 on 2016/12/23 by dan.reynolds
AEOverview Moved to Maps\Framework\Audio\
+ redirector clean up, resaves, etc.
Change 3243553 on 2016/12/24 by Aaron.McLeran
Bringing fixes to dev-framework from odin
3240517
3240476
3240473
3240412
3240315
3240220
3240194
Change 3243567 on 2016/12/24 by Aaron.McLeran
Fixing build.
Adding #include for FConfigCacheIni
Change 3244466 on 2017/01/01 by Mieszko.Zielinski
Removed FGameplayDebuggerDebugDrawDelegateHelper::InitDelegateHelper implementation that was failing a check without any explanation or comment #UE4
#jira UE-40069
Change 3244471 on 2017/01/01 by Aaron.McLeran
Bringing fixes to dev-framework from odin
3244469
3244467
3243743
Change 3244639 on 2017/01/03 by Jurre.deBaare
CIS error fix
Change 3244748 on 2017/01/03 by Jurre.deBaare
Crash while using the Delete Button in the HLOD Outliner while a Generated Proxy Mesh is opened in the Static Mesh Editor
#fix Unify path for both delete cluster options in the outliner UI
#jira UE-40066
Change 3245338 on 2017/01/03 by Aaron.McLeran
Getting rid of shadowed variable.
Change 3245816 on 2017/01/03 by Aaron.McLeran
Synth component and DSP objects
- New synth component wraps an audio component and procedural sound wave to make generating synthesis much much easier
- Bunch of changes and improvements to DSP objects for real-time synthesis.
- New polyphonic virtual analog synthesizer
Change 3246146 on 2017/01/04 by Ben.Marsh
Move precompiled binaries into the Private-Binaries stream.
Change 3246283 on 2017/01/04 by Marc.Audy
Fix CIS warnings
Change 3246457 on 2017/01/04 by Aaron.McLeran
Fixing static analysis warnings
Change 3246519 on 2017/01/04 by Benn.Gallagher
Fix for serialization mismatch on skeletal mesh source model.
Change 3247193 on 2017/01/04 by Dan.Reynolds
Adding new DSP utility
Change 3247769 on 2017/01/05 by Marc.Audy
Remove inaccurate comment
Change 3248068 on 2017/01/05 by dan.reynolds
AEOverview Fix
- Shortening long path name (Multichannel sub-directories) and fixing up redirectors
Change 3248251 on 2017/01/05 by Jon.Nabozny
Fix uninitialized PropertyColor in BillboardComponent.
Change 3249305 on 2017/01/06 by James.Golding
Fix FColorVertexBuffer copy constructor if source buffer is not initialised
#jira UE-40242
Change 3249639 on 2017/01/06 by Jon.Nabozny
Fix K2Node_CallFunction tool tip generation crash.
#JIRA UE-40307
Change 3249716 on 2017/01/06 by Aaron.McLeran
Minor changes to DSP objects
Deciding on a method to pass parameters from BP to synth components.
Change 3249909 on 2017/01/06 by James.Golding
Change USkinnedMeshComponent::GetSkinWeightBuffer to not require a MeshObject to return valid weight buffer
Make VertInfluencedByActiveBoneTyped not crash if weight buffer is null
#jira UE-40289
Change 3249931 on 2017/01/06 by Aaron.McLeran
Bring CL 3244528 from Odin to Dev-Framework
Change 3250012 on 2017/01/06 by Aaron.McLeran
Changing how synth params work
- Removing base-class parameter getters/setters, removing OnParameterChange virtual function
- Added SynthCommand function to help setting synth params on audio render thread from game thread
- Refactored Synth1Component to use new system
Change 3250084 on 2017/01/06 by Aaron.McLeran
Adding preset struct and adding noise to oscillator
Change 3250257 on 2017/01/07 by Aaron.McLeran
Checking in stub for new synthesis plugin to put synthesis instances.
Change 3250264 on 2017/01/07 by Aaron.McLeran
Moving synthesis code to new synthesis plugin
Change 3250313 on 2017/01/07 by Aaron.McLeran
Fixing CIS static analysis warning on include cycle
Change 3250353 on 2017/01/08 by Aaron.McLeran
Various audio mixer/dsp refinements
-Simplying envelope code to just be a straightforward case statement
-Added sample value lerping code for Amp object to avoid zippering when running at control-rate sample rates
-Changed source manager wrapping code to always set NextFrameIndex to -1 in the edge case of the next being out of range, but current not being out of range. It should always be -1.
-Added a console var to toggle enabling sample checks for tracking down sample bugs
-Added data table row subclass to EpicSynth1Component preset struct
Change 3250382 on 2017/01/08 by Aaron.McLeran
Bringing ODIN-3977 fix to dev-framework
Change 3250435 on 2017/01/08 by Aaron.McLeran
Adding ability to set note durations for synth component
Removing OnNoteOn/OnNoteOff events since derived synth components may or may not deal with notes.
Change 3250443 on 2017/01/08 by Aaron.McLeran
Fixing CIS, removing console variable code.
Change 3250445 on 2017/01/08 by Aaron.McLeran
Attempted fix for crash on existing PIE
Change 3250446 on 2017/01/08 by dan.reynolds
Updated MidiSynthTestBP for new Note On Note Off functions
Change 3250447 on 2017/01/08 by dan.reynolds
MidiListener and MidiSynthTestBP Updated to use Duration argument (MidiListener set default value to -1.0f )
Change 3250455 on 2017/01/08 by Aaron.McLeran
Adding critical section so stopping a source voice and processing source voice can't happen at same time.
Change 3250465 on 2017/01/08 by Aaron.McLeran
Fixing NaNs in sine approximations
Change 3250466 on 2017/01/08 by Aaron.McLeran
Adding new music utility.
- Changing scale indicies to be 1-based (music oriented)
- Adding new function to get chord note from a mode
Change 3250467 on 2017/01/08 by Aaron.McLeran
Undoing change to FastSin parabolic sine approximation
- was not dividing by zero!
Change 3250468 on 2017/01/08 by Aaron.McLeran
Adding ability to get a direct virtual function callback for procedural sound waves
-Using the UE4 delegate function was not safe in the audio rendering thread and would sometimes not actually get called. Switched to a more direct and simple override, avoids some buffer copies and is more simple.
-Updated synth component code to use the new method.
Change 3250470 on 2017/01/08 by Aaron.McLeran
Fixing note on duration
Change 3250479 on 2017/01/08 by Aaron.McLeran
Fixing pan in the amp dsp object
Change 3252179 on 2017/01/10 by Mieszko.Zielinski
Fallout fix after removal of BlackboardKeyUtils::CalculateComparisonResult declaration from the AIModule #UE4
Change 3252498 on 2017/01/10 by Marc.Audy
Fix non-unity compile errors
[CL 3252563 by Marc Audy in Main branch]
2017-01-10 14:09:16 -05:00
|
|
|
|
|
|
|
|
// Profiler overlay: option
|
|
|
|
|
+ SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
[
|
|
|
|
|
SNew(SBorder)
|
|
|
|
|
.BorderBackgroundColor(EnvironmentQueryColors::Action::Profiler)
|
|
|
|
|
.Visibility(this, &SGraphNode_EnvironmentQuery::GetProfilerOptionVisibility)
|
|
|
|
|
[
|
|
|
|
|
SNew(STextBlock)
|
|
|
|
|
.Text(this, &SGraphNode_EnvironmentQuery::GetProfilerDescOption)
|
|
|
|
|
]
|
|
|
|
|
]
|
2015-04-28 11:13:20 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
// Drag marker overlay
|
|
|
|
|
+SOverlay::Slot()
|
|
|
|
|
.HAlign(HAlign_Fill)
|
|
|
|
|
.VAlign(VAlign_Top)
|
|
|
|
|
[
|
|
|
|
|
SNew(SBorder)
|
|
|
|
|
.BorderBackgroundColor(EnvironmentQueryColors::Action::DragMarker)
|
|
|
|
|
.ColorAndOpacity(EnvironmentQueryColors::Action::DragMarker)
|
|
|
|
|
.BorderImage(FEditorStyle::GetBrush("Graph.StateNode.Body"))
|
|
|
|
|
.Visibility(this, &SGraphNode_EnvironmentQuery::GetDragOverMarkerVisibility)
|
|
|
|
|
[
|
|
|
|
|
SNew(SBox)
|
|
|
|
|
.HeightOverride(4)
|
|
|
|
|
]
|
|
|
|
|
]
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3252535)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3228282 on 2016/12/08 by Aaron.McLeran
Adding ability to fix up existing sound classes
- Utility "soundclassfixup" console command renames sound classes which are packaged inside other sound classes accidentally as new uniquely named packages
- Also removes code which was allowing "NewSoundClass" behavior in sound class graphs to populate with existing sound classes. Instead, it *always* creates a new sound class and warns if the sound class already exists. Connecting existing sound classes is instead going to be done through dragging them into the graph from the content browser or from the sound class node itself.
Change 3228774 on 2016/12/09 by Ori.Cohen
Fix multi select being very slow in phat
#JIRA UE-39559
Change 3229036 on 2016/12/09 by Marc.Audy
Remove trivial overrides
Change 3229130 on 2016/12/09 by Aaron.McLeran
Fixing build error.
Moving new code from CL 3228282 into WITH_EDITOR block since it's an editor-only operation
Change 3229412 on 2016/12/09 by Aaron.McLeran
Fixing 7.1 surround sound systems on PC by forcing them to load as 5.1.
- We don't support 7.1 but 7.1 systems should at least behave as good as 5.1
Change 3229782 on 2016/12/09 by Marc.Audy
Fixed crash when seamless travelling in PIE from levels other than the current editor level with a streaming sublevel shared with the current editor level (4.15)
#jira UE-39407
Change 3229842 on 2016/12/09 by Marc.Audy
Missing files for CL# 3229782
Change 3229905 on 2016/12/09 by Marc.Audy
Check Owner has a valid world before tryign to access Scene (4.14.2)
#jira UE-39560
Change 3229961 on 2016/12/09 by Aaron.McLeran
UE-39650 Implementing CL 3229894 in Dev-Framework
Change 3229964 on 2016/12/09 by Aaron.McLeran
Removing redundant loop introduced from integration
Change 3230722 on 2016/12/12 by Lukasz.Furman
fixed vislog macros for recording thick segments
#ue4
Change 3230864 on 2016/12/12 by Lina.Halper
Fix crash with deleting pose
#jira:UE-39584
Change 3230893 on 2016/12/12 by Marc.Audy
Support more default values in UHT for FVector: ForwardVector, RightVector, and single float FVector constructor
Change 3231189 on 2016/12/12 by Ori.Cohen
Added bone name to the physics invalid operation warnings.
Change 3231420 on 2016/12/12 by James.Golding
Support per-component skel mesh weight override
#jira UEFW-240
Change 3231422 on 2016/12/12 by James.Golding
Test map for per-component skin weights
Change 3231491 on 2016/12/12 by James.Golding
Move , FPositionVertexBuffer and FStaticMeshVertexDataInterface into their own headers
Move FStaticMeshVertexBuffer implementation into its own cpp
Change 3231590 on 2016/12/12 by mason.seay
Changed to box collision
Change 3231900 on 2016/12/12 by Aaron.McLeran
Switching to creating new master submixes rather than loading them
Change 3231909 on 2016/12/12 by James.Golding
Fix Mac CIS in StaticMeshVertexBuffer.h
Change 3232157 on 2016/12/13 by Mieszko.Zielinski
Fixed a silly bug in FBlackboardKeySelector::InitSelection resulting in the key selector picking first "ok-ish" value, even if it wasn't matching type filter #UE4
Change 3232162 on 2016/12/13 by Mieszko.Zielinski
Fixed UNavigationSystem::bNavigationAutoUpdateEnabled getting ignored by recent addition to related condition in UNavigationSystem #UE4
Change 3232314 on 2016/12/13 by James.Golding
Another attempt at fixing Mac CIS
Change 3232322 on 2016/12/13 by Lukasz.Furman
fixed order of nav area application and low area filter
#ue4
Change 3232364 on 2016/12/13 by Thomas.Sarkanen
Spline IK node
Added new runtime & graph node to deform bones along a spline. Added edit mode to work with in the BP editor.
Spline is specified within the node using control points. External spline could come later.
Currently very expensive to evaluate as it regenerates the transformed spline and PWLA each frame.
#jira UEFW-249 - Add spline IK node
Change 3232589 on 2016/12/13 by Thomas.Sarkanen
Fixed non-editor builds
Change 3232654 on 2016/12/13 by Marc.Audy
Don't rerun construction scripts when an actor has seamless traveled from another level (4.15)
#jira UE-39699
Change 3232690 on 2016/12/13 by Martin.Wilson
Remove unused member
Change 3232691 on 2016/12/13 by Martin.Wilson
Virtual bone additions:
1) Rename support
2) Ability to chain virtual bones (Have a virtual bone that is a child of another virtual bone)
#jira UE-39710
Change 3232782 on 2016/12/13 by Danny.Bouimad
Adding Test Content
Change 3232843 on 2016/12/13 by danny.bouimad
More Updates
Change 3232981 on 2016/12/13 by Marc.Audy
Fix CIS issues
Change 3233075 on 2016/12/13 by mason.seay
SplineIK asset for bug report
Change 3233124 on 2016/12/13 by Ori.Cohen
Added mass automation tests.
Change 3233265 on 2016/12/13 by Ben.Marsh
Build: Add support for building Orion and Fortnite precompiled binaries from Dev-Framework.
Change 3233365 on 2016/12/13 by mason.seay
Resaving with non-empty engine version
Change 3233532 on 2016/12/13 by mason.seay
Level blueprint clean up
Change 3233571 on 2016/12/13 by Ben.Marsh
Set up paths for precompiled binaries.
Change 3233601 on 2016/12/13 by Ben.Marsh
Build: Use the code CL rather than latest CL for precompiled binaries.
Change 3234402 on 2016/12/14 by Ori.Cohen
Physics: Fixed line traces not working properly in editor worlds when physics substepping was enabled (UE-36408)
- Substepping relies on interpolating transforms over frames, but only game worlds will be ticked, so we now disallow this feature in non-game worlds.
#jira UE-36408
Change 3234415 on 2016/12/14 by Ori.Cohen
Fix CIS
Change 3234574 on 2016/12/14 by Thomas.Sarkanen
Fix crash when IK chain is inverted
#jira UE-39720 - Crash compiling animation blueprint with Spline IK node
Change 3234882 on 2016/12/14 by Ori.Cohen
Fixed teleport not working for physical animation component
Change 3234971 on 2016/12/14 by Aaron.McLeran
Fix for omni-directional sounds in audio mixer
Change 3235251 on 2016/12/14 by mason.seay
Assets for proposed functional testing
Change 3235492 on 2016/12/14 by Ori.Cohen
Undo previous bad normal fix and remove wheel width compensation. This leads to bad normals when thick tires roll over the edge leading to instability.
#JIRA UE-38710
Change 3236398 on 2016/12/15 by Marc.Audy
(4.15) Add new object flag RF_NeedInitialization to indicate that ~FObjectInitalizer and PostInitProperties have not been executed for the object
Do not allow Modify calls on Objects that have not been initialized
#jira UE-39731
Change 3236413 on 2016/12/15 by Lukasz.Furman
added EQS profiler
#ue4
Change 3236418 on 2016/12/15 by Lukasz.Furman
changed log verbosity in navmesh geometry export function
#jira UE-39809
#3039
Change 3236508 on 2016/12/15 by Ori.Cohen
Allow vehicles to override inertia tensor after any mass properties have changed
#JIRA UE-39566
Change 3236573 on 2016/12/15 by Ori.Cohen
Fix manipulation tool not working properly with welded components
Change 3236577 on 2016/12/15 by Ori.Cohen
Improve physics asset body creation so that it merges small bones and turns off collision between initially overlapping bodies.
Change 3236580 on 2016/12/15 by Ori.Cohen
Improve mass computation for physics shapes (ignore trimesh which introduces error)
Change 3236581 on 2016/12/15 by Ori.Cohen
Fix incorrect inertia tensor computation for cubes (was being doubled by mistake).
Change 3236809 on 2016/12/15 by Lukasz.Furman
compilation fix: missing headers in EnvQueryManager
Change 3237187 on 2016/12/15 by Lukasz.Furman
compilation fix: missing defines in EnvQueryInstance
Change 3237423 on 2016/12/15 by Aaron.McLeran
Audio mixer: Allow center channel panning as a project setting.
- To better support previous audio engine behavior, allow audio mixer to pan audio to center channel via audio settings.
Change 3237639 on 2016/12/15 by Aaron.McLeran
Audio mixer stat tracking
Change 3237646 on 2016/12/15 by dan.reynolds
MIDI Test Assets:
General MIDITestBP
MPKmini2 Child BP
MPKmini2 Wrap Map
Change 3238148 on 2016/12/16 by Lukasz.Furman
fixed crash in EQS profiler
copy of CL# 3238145
Change 3238708 on 2016/12/16 by Marc.Audy
(4.15) Don't unload and then reload streaming levels that are marked to be hidden.
#jira UE-39883
Change 3238799 on 2016/12/16 by Lina.Halper
Potential fix + more info on crash on copying curve for WEX
Change 3239559 on 2016/12/19 by Ori.Cohen
Guard against infinitely thin geometry which fixes some nans
Change 3239728 on 2016/12/19 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3239536
Change 3239735 on 2016/12/19 by Jon.Nabozny
Set 'p.MoveIgnoreFirstBlockingOverlap' to be enabled by default (3158732). This causes collision behavior to remain unchanged unless people opt in to the new behavior.
Adjust Bot_RandomLocations default health to 100 from 0. This prevents death by hits from non-projectiles.
4.15
#jira UE-39387
Change 3239765 on 2016/12/19 by Jon.Nabozny
Fix FPredictProjectilePathParams to use a valid default value for TraceChannel.
This requires the use of a new bool bTraceWithChannel which is enabled by default.
4.15
#JIRA UE-39726
Change 3239810 on 2016/12/19 by Marc.Audy
Avoid duplicate GetWorldSettings call
Change 3239826 on 2016/12/19 by Lukasz.Furman
fixed crashes in gameplay debugger's draw delegate handling
copy of 3234768, 3239819
#ue4
Change 3239894 on 2016/12/19 by Richard.Hinckley
Improving UInterface template files for "New C++ Class" feature. We now use GENERATED_BODY macros and don't need an empty constructor in the .cpp file.
Change 3239957 on 2016/12/19 by Aaron.McLeran
UE-39924 Fix for crash when duplicating sound cue assets in content browser
Checking for null before casting
Change 3239983 on 2016/12/19 by Mieszko.Zielinski
Fixed injecting dynamic BTs not as expected when there's more than one injection point #UE4
Change 3240177 on 2016/12/19 by Mieszko.Zielinski
Fix for AI agents hand-placed on levels not getting their PathFollowingComponent.MyNavData set properly #UE4
Change 3240488 on 2016/12/19 by Aaron.McLeran
UE-39924 Fix for crash when duplicating sound cue assets in content browser
More fixes!
Change 3240512 on 2016/12/19 by dan.reynolds
AEOverview Update:
- Created support for single level loads (sub-maps now auto generate lights and a staging platform when loaded individually vs. via AEOverviewMain)
This will allow developers to load single levels functionally without adding lights or other assets to make them work.
Change 3240518 on 2016/12/19 by dan.reynolds
AEOverview Update:
- Added test for Multichannel 2D Reverb
Change 3240875 on 2016/12/20 by mason.seay
Gameplay Tag Functional Tests
Change 3240876 on 2016/12/20 by dan.reynolds
AEOverview Fix
- Fixed miss targeted menu items (updated prefixes)
Change 3240923 on 2016/12/20 by Lukasz.Furman
fixed memory corruption in template A* solver
copy of CL# 3240898
#ue4
Change 3241661 on 2016/12/21 by Thomas.Sarkanen
Fix mesh-customized sockets not showing up by default in 'Active' socket filter mode
#jira UE-39938 - Cannot edit mesh sockets
Change 3241964 on 2016/12/21 by Wes.Hunt
Remove QoSReporter from CrashReportClient
#tests editor debug gpf and verify crash is sent.
Change 3241996 on 2016/12/21 by Wes.Hunt
Add @Owner tags to all analytics events in all our games #jira AN-805
* Added default owners to most events. Tracked down authors of some events.
* Added skeleton docs for many missing locations (just added @Name and @Owner so analytics folks can see the name and who to talk to in the doc webpage).
* verified this checkin contains changes to comments ONLY.
#tests compiled Orion and QAGame.
Change 3242825 on 2016/12/22 by Lukasz.Furman
fixed order of behavior tree execution indices for PIE debugging
#jira UE-39922
Change 3242860 on 2016/12/22 by mason.seay
Functional tests for timer
Change 3243188 on 2016/12/22 by dan.reynolds
AEOverview Update
- Created viewport bookmarks on each sub-map for individual testing consistency
- Updated EQ and Reverb effect parameters to work with new Audio Mixer Effects
Change 3243192 on 2016/12/22 by dan.reynolds
AEOverview Lighting Fix
Change 3243507 on 2016/12/23 by dan.reynolds
AEOverview Moved to Maps\Framework\Audio\
+ redirector clean up, resaves, etc.
Change 3243553 on 2016/12/24 by Aaron.McLeran
Bringing fixes to dev-framework from odin
3240517
3240476
3240473
3240412
3240315
3240220
3240194
Change 3243567 on 2016/12/24 by Aaron.McLeran
Fixing build.
Adding #include for FConfigCacheIni
Change 3244466 on 2017/01/01 by Mieszko.Zielinski
Removed FGameplayDebuggerDebugDrawDelegateHelper::InitDelegateHelper implementation that was failing a check without any explanation or comment #UE4
#jira UE-40069
Change 3244471 on 2017/01/01 by Aaron.McLeran
Bringing fixes to dev-framework from odin
3244469
3244467
3243743
Change 3244639 on 2017/01/03 by Jurre.deBaare
CIS error fix
Change 3244748 on 2017/01/03 by Jurre.deBaare
Crash while using the Delete Button in the HLOD Outliner while a Generated Proxy Mesh is opened in the Static Mesh Editor
#fix Unify path for both delete cluster options in the outliner UI
#jira UE-40066
Change 3245338 on 2017/01/03 by Aaron.McLeran
Getting rid of shadowed variable.
Change 3245816 on 2017/01/03 by Aaron.McLeran
Synth component and DSP objects
- New synth component wraps an audio component and procedural sound wave to make generating synthesis much much easier
- Bunch of changes and improvements to DSP objects for real-time synthesis.
- New polyphonic virtual analog synthesizer
Change 3246146 on 2017/01/04 by Ben.Marsh
Move precompiled binaries into the Private-Binaries stream.
Change 3246283 on 2017/01/04 by Marc.Audy
Fix CIS warnings
Change 3246457 on 2017/01/04 by Aaron.McLeran
Fixing static analysis warnings
Change 3246519 on 2017/01/04 by Benn.Gallagher
Fix for serialization mismatch on skeletal mesh source model.
Change 3247193 on 2017/01/04 by Dan.Reynolds
Adding new DSP utility
Change 3247769 on 2017/01/05 by Marc.Audy
Remove inaccurate comment
Change 3248068 on 2017/01/05 by dan.reynolds
AEOverview Fix
- Shortening long path name (Multichannel sub-directories) and fixing up redirectors
Change 3248251 on 2017/01/05 by Jon.Nabozny
Fix uninitialized PropertyColor in BillboardComponent.
Change 3249305 on 2017/01/06 by James.Golding
Fix FColorVertexBuffer copy constructor if source buffer is not initialised
#jira UE-40242
Change 3249639 on 2017/01/06 by Jon.Nabozny
Fix K2Node_CallFunction tool tip generation crash.
#JIRA UE-40307
Change 3249716 on 2017/01/06 by Aaron.McLeran
Minor changes to DSP objects
Deciding on a method to pass parameters from BP to synth components.
Change 3249909 on 2017/01/06 by James.Golding
Change USkinnedMeshComponent::GetSkinWeightBuffer to not require a MeshObject to return valid weight buffer
Make VertInfluencedByActiveBoneTyped not crash if weight buffer is null
#jira UE-40289
Change 3249931 on 2017/01/06 by Aaron.McLeran
Bring CL 3244528 from Odin to Dev-Framework
Change 3250012 on 2017/01/06 by Aaron.McLeran
Changing how synth params work
- Removing base-class parameter getters/setters, removing OnParameterChange virtual function
- Added SynthCommand function to help setting synth params on audio render thread from game thread
- Refactored Synth1Component to use new system
Change 3250084 on 2017/01/06 by Aaron.McLeran
Adding preset struct and adding noise to oscillator
Change 3250257 on 2017/01/07 by Aaron.McLeran
Checking in stub for new synthesis plugin to put synthesis instances.
Change 3250264 on 2017/01/07 by Aaron.McLeran
Moving synthesis code to new synthesis plugin
Change 3250313 on 2017/01/07 by Aaron.McLeran
Fixing CIS static analysis warning on include cycle
Change 3250353 on 2017/01/08 by Aaron.McLeran
Various audio mixer/dsp refinements
-Simplying envelope code to just be a straightforward case statement
-Added sample value lerping code for Amp object to avoid zippering when running at control-rate sample rates
-Changed source manager wrapping code to always set NextFrameIndex to -1 in the edge case of the next being out of range, but current not being out of range. It should always be -1.
-Added a console var to toggle enabling sample checks for tracking down sample bugs
-Added data table row subclass to EpicSynth1Component preset struct
Change 3250382 on 2017/01/08 by Aaron.McLeran
Bringing ODIN-3977 fix to dev-framework
Change 3250435 on 2017/01/08 by Aaron.McLeran
Adding ability to set note durations for synth component
Removing OnNoteOn/OnNoteOff events since derived synth components may or may not deal with notes.
Change 3250443 on 2017/01/08 by Aaron.McLeran
Fixing CIS, removing console variable code.
Change 3250445 on 2017/01/08 by Aaron.McLeran
Attempted fix for crash on existing PIE
Change 3250446 on 2017/01/08 by dan.reynolds
Updated MidiSynthTestBP for new Note On Note Off functions
Change 3250447 on 2017/01/08 by dan.reynolds
MidiListener and MidiSynthTestBP Updated to use Duration argument (MidiListener set default value to -1.0f )
Change 3250455 on 2017/01/08 by Aaron.McLeran
Adding critical section so stopping a source voice and processing source voice can't happen at same time.
Change 3250465 on 2017/01/08 by Aaron.McLeran
Fixing NaNs in sine approximations
Change 3250466 on 2017/01/08 by Aaron.McLeran
Adding new music utility.
- Changing scale indicies to be 1-based (music oriented)
- Adding new function to get chord note from a mode
Change 3250467 on 2017/01/08 by Aaron.McLeran
Undoing change to FastSin parabolic sine approximation
- was not dividing by zero!
Change 3250468 on 2017/01/08 by Aaron.McLeran
Adding ability to get a direct virtual function callback for procedural sound waves
-Using the UE4 delegate function was not safe in the audio rendering thread and would sometimes not actually get called. Switched to a more direct and simple override, avoids some buffer copies and is more simple.
-Updated synth component code to use the new method.
Change 3250470 on 2017/01/08 by Aaron.McLeran
Fixing note on duration
Change 3250479 on 2017/01/08 by Aaron.McLeran
Fixing pan in the amp dsp object
Change 3252179 on 2017/01/10 by Mieszko.Zielinski
Fallout fix after removal of BlackboardKeyUtils::CalculateComparisonResult declaration from the AIModule #UE4
Change 3252498 on 2017/01/10 by Marc.Audy
Fix non-unity compile errors
[CL 3252563 by Marc Audy in Main branch]
2017-01-10 14:09:16 -05:00
|
|
|
|
|
|
|
|
// Profiler overlay: test
|
|
|
|
|
+SOverlay::Slot()
|
|
|
|
|
.HAlign(HAlign_Right)
|
|
|
|
|
.VAlign(VAlign_Fill)
|
|
|
|
|
.Padding(10, 5)
|
|
|
|
|
[
|
|
|
|
|
SNew(SBorder)
|
|
|
|
|
.BorderBackgroundColor(EnvironmentQueryColors::Action::Profiler)
|
|
|
|
|
.BorderImage(FEditorStyle::GetBrush("Graph.StateNode.Body"))
|
|
|
|
|
.Visibility(this, &SGraphNode_EnvironmentQuery::GetProfilerTestVisibility)
|
|
|
|
|
[
|
|
|
|
|
SNew(SHorizontalBox)
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.AutoWidth()
|
|
|
|
|
[
|
|
|
|
|
SNew(SBorder)
|
|
|
|
|
.BorderImage(FEditorStyle::GetBrush("Graph.StateNode.Body"))
|
|
|
|
|
.BorderBackgroundColor(this, &SGraphNode_EnvironmentQuery::GetProfilerTestSlateColor)
|
|
|
|
|
[
|
|
|
|
|
SNew(SBox)
|
|
|
|
|
.WidthOverride(10.0f)
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.Padding(2, 0, 0, 0)
|
|
|
|
|
[
|
|
|
|
|
SNew(SVerticalBox)
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.VAlign(VAlign_Center)
|
|
|
|
|
[
|
|
|
|
|
SNew(STextBlock)
|
|
|
|
|
.Text(this, &SGraphNode_EnvironmentQuery::GetProfilerDescAverage)
|
|
|
|
|
]
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.VAlign(VAlign_Center)
|
|
|
|
|
[
|
|
|
|
|
SNew(STextBlock)
|
|
|
|
|
.Text(this, &SGraphNode_EnvironmentQuery::GetProfilerDescWorst)
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
]
|
2014-03-14 14:13:41 -04:00
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
|
2015-02-23 15:58:14 -05:00
|
|
|
// Create comment bubble
|
|
|
|
|
TSharedPtr<SCommentBubble> CommentBubble;
|
2015-04-08 14:48:01 -04:00
|
|
|
const FSlateColor CommentColor = GetDefault<UGraphEditorSettings>()->DefaultCommentNodeTitleColor;
|
2015-02-23 15:58:14 -05:00
|
|
|
|
|
|
|
|
SAssignNew(CommentBubble, SCommentBubble)
|
|
|
|
|
.GraphNode(GraphNode)
|
|
|
|
|
.Text(this, &SGraphNode::GetNodeComment)
|
2015-04-28 04:58:34 -04:00
|
|
|
.OnTextCommitted( this, &SGraphNode::OnCommentTextCommitted )
|
2015-04-08 14:48:01 -04:00
|
|
|
.ColorAndOpacity(CommentColor)
|
2015-02-23 15:58:14 -05:00
|
|
|
.AllowPinning(true)
|
|
|
|
|
.EnableTitleBarBubble(true)
|
|
|
|
|
.EnableBubbleCtrls(true)
|
|
|
|
|
.GraphLOD(this, &SGraphNode::GetCurrentLOD)
|
|
|
|
|
.IsGraphNodeHovered(this, &SGraphNode::IsHovered);
|
|
|
|
|
|
|
|
|
|
GetOrAddSlot(ENodeZone::TopCenter)
|
|
|
|
|
.SlotOffset(TAttribute<FVector2D>(CommentBubble.Get(), &SCommentBubble::GetOffset))
|
|
|
|
|
.SlotSize(TAttribute<FVector2D>(CommentBubble.Get(), &SCommentBubble::GetSize))
|
|
|
|
|
.AllowScaling(TAttribute<bool>(CommentBubble.Get(), &SCommentBubble::IsScalingAllowed))
|
|
|
|
|
.VAlign(VAlign_Top)
|
|
|
|
|
[
|
|
|
|
|
CommentBubble.ToSharedRef()
|
|
|
|
|
];
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
ErrorReporting = ErrorText;
|
|
|
|
|
ErrorReporting->SetError(ErrorMsg);
|
|
|
|
|
CreatePinWidgets();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SGraphNode_EnvironmentQuery::CreatePinWidgets()
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode* StateNode = CastChecked<UEnvironmentQueryGraphNode>(GraphNode);
|
|
|
|
|
|
|
|
|
|
UEdGraphPin* CurPin = StateNode->GetOutputPin();
|
|
|
|
|
if (CurPin && !CurPin->bHidden)
|
|
|
|
|
{
|
|
|
|
|
TSharedPtr<SGraphPin> NewPin = SNew(SEnvironmentQueryPin, CurPin);
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
AddPin(NewPin.ToSharedRef());
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CurPin = StateNode->GetInputPin();
|
|
|
|
|
if (CurPin && !CurPin->bHidden)
|
|
|
|
|
{
|
|
|
|
|
TSharedPtr<SGraphPin> NewPin = SNew(SEnvironmentQueryPin, CurPin);
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
AddPin(NewPin.ToSharedRef());
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EVisibility SGraphNode_EnvironmentQuery::GetWeightMarkerVisibility() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
return MyTestNode ? EVisibility::Visible : EVisibility::Collapsed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TOptional<float> SGraphNode_EnvironmentQuery::GetWeightProgressBarPercent() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
return MyTestNode ? FMath::Max(0.0f, MyTestNode->TestWeightPct) : TOptional<float>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FSlateColor SGraphNode_EnvironmentQuery::GetWeightProgressBarColor() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
return (MyTestNode && MyTestNode->bHasNamedWeight) ? EnvironmentQueryColors::Action::WeightNamed : EnvironmentQueryColors::Action::Weight;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EVisibility SGraphNode_EnvironmentQuery::GetTestToggleVisibility() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
return MyTestNode ? EVisibility::Visible : EVisibility::Collapsed;
|
|
|
|
|
}
|
|
|
|
|
|
2014-12-10 14:24:09 -05:00
|
|
|
ECheckBoxState SGraphNode_EnvironmentQuery::IsTestToggleChecked() const
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
2014-12-10 14:24:09 -05:00
|
|
|
return MyTestNode && MyTestNode->bTestEnabled ? ECheckBoxState::Checked : ECheckBoxState::Unchecked;
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2014-12-10 14:24:09 -05:00
|
|
|
void SGraphNode_EnvironmentQuery::OnTestToggleChanged(ECheckBoxState NewState)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
if (MyTestNode)
|
|
|
|
|
{
|
2014-12-10 14:24:09 -05:00
|
|
|
MyTestNode->bTestEnabled = (NewState == ECheckBoxState::Checked);
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
UEnvironmentQueryGraphNode_Option* MyParentNode = Cast<UEnvironmentQueryGraphNode_Option>(MyTestNode->ParentNode);
|
|
|
|
|
if (MyParentNode)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2015-02-23 10:30:16 -05:00
|
|
|
MyParentNode->CalculateWeights();
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UEnvironmentQueryGraph* MyGraph = Cast<UEnvironmentQueryGraph>(MyTestNode->GetGraph());
|
|
|
|
|
if (MyGraph)
|
|
|
|
|
{
|
|
|
|
|
MyGraph->UpdateAsset();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3252535)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3228282 on 2016/12/08 by Aaron.McLeran
Adding ability to fix up existing sound classes
- Utility "soundclassfixup" console command renames sound classes which are packaged inside other sound classes accidentally as new uniquely named packages
- Also removes code which was allowing "NewSoundClass" behavior in sound class graphs to populate with existing sound classes. Instead, it *always* creates a new sound class and warns if the sound class already exists. Connecting existing sound classes is instead going to be done through dragging them into the graph from the content browser or from the sound class node itself.
Change 3228774 on 2016/12/09 by Ori.Cohen
Fix multi select being very slow in phat
#JIRA UE-39559
Change 3229036 on 2016/12/09 by Marc.Audy
Remove trivial overrides
Change 3229130 on 2016/12/09 by Aaron.McLeran
Fixing build error.
Moving new code from CL 3228282 into WITH_EDITOR block since it's an editor-only operation
Change 3229412 on 2016/12/09 by Aaron.McLeran
Fixing 7.1 surround sound systems on PC by forcing them to load as 5.1.
- We don't support 7.1 but 7.1 systems should at least behave as good as 5.1
Change 3229782 on 2016/12/09 by Marc.Audy
Fixed crash when seamless travelling in PIE from levels other than the current editor level with a streaming sublevel shared with the current editor level (4.15)
#jira UE-39407
Change 3229842 on 2016/12/09 by Marc.Audy
Missing files for CL# 3229782
Change 3229905 on 2016/12/09 by Marc.Audy
Check Owner has a valid world before tryign to access Scene (4.14.2)
#jira UE-39560
Change 3229961 on 2016/12/09 by Aaron.McLeran
UE-39650 Implementing CL 3229894 in Dev-Framework
Change 3229964 on 2016/12/09 by Aaron.McLeran
Removing redundant loop introduced from integration
Change 3230722 on 2016/12/12 by Lukasz.Furman
fixed vislog macros for recording thick segments
#ue4
Change 3230864 on 2016/12/12 by Lina.Halper
Fix crash with deleting pose
#jira:UE-39584
Change 3230893 on 2016/12/12 by Marc.Audy
Support more default values in UHT for FVector: ForwardVector, RightVector, and single float FVector constructor
Change 3231189 on 2016/12/12 by Ori.Cohen
Added bone name to the physics invalid operation warnings.
Change 3231420 on 2016/12/12 by James.Golding
Support per-component skel mesh weight override
#jira UEFW-240
Change 3231422 on 2016/12/12 by James.Golding
Test map for per-component skin weights
Change 3231491 on 2016/12/12 by James.Golding
Move , FPositionVertexBuffer and FStaticMeshVertexDataInterface into their own headers
Move FStaticMeshVertexBuffer implementation into its own cpp
Change 3231590 on 2016/12/12 by mason.seay
Changed to box collision
Change 3231900 on 2016/12/12 by Aaron.McLeran
Switching to creating new master submixes rather than loading them
Change 3231909 on 2016/12/12 by James.Golding
Fix Mac CIS in StaticMeshVertexBuffer.h
Change 3232157 on 2016/12/13 by Mieszko.Zielinski
Fixed a silly bug in FBlackboardKeySelector::InitSelection resulting in the key selector picking first "ok-ish" value, even if it wasn't matching type filter #UE4
Change 3232162 on 2016/12/13 by Mieszko.Zielinski
Fixed UNavigationSystem::bNavigationAutoUpdateEnabled getting ignored by recent addition to related condition in UNavigationSystem #UE4
Change 3232314 on 2016/12/13 by James.Golding
Another attempt at fixing Mac CIS
Change 3232322 on 2016/12/13 by Lukasz.Furman
fixed order of nav area application and low area filter
#ue4
Change 3232364 on 2016/12/13 by Thomas.Sarkanen
Spline IK node
Added new runtime & graph node to deform bones along a spline. Added edit mode to work with in the BP editor.
Spline is specified within the node using control points. External spline could come later.
Currently very expensive to evaluate as it regenerates the transformed spline and PWLA each frame.
#jira UEFW-249 - Add spline IK node
Change 3232589 on 2016/12/13 by Thomas.Sarkanen
Fixed non-editor builds
Change 3232654 on 2016/12/13 by Marc.Audy
Don't rerun construction scripts when an actor has seamless traveled from another level (4.15)
#jira UE-39699
Change 3232690 on 2016/12/13 by Martin.Wilson
Remove unused member
Change 3232691 on 2016/12/13 by Martin.Wilson
Virtual bone additions:
1) Rename support
2) Ability to chain virtual bones (Have a virtual bone that is a child of another virtual bone)
#jira UE-39710
Change 3232782 on 2016/12/13 by Danny.Bouimad
Adding Test Content
Change 3232843 on 2016/12/13 by danny.bouimad
More Updates
Change 3232981 on 2016/12/13 by Marc.Audy
Fix CIS issues
Change 3233075 on 2016/12/13 by mason.seay
SplineIK asset for bug report
Change 3233124 on 2016/12/13 by Ori.Cohen
Added mass automation tests.
Change 3233265 on 2016/12/13 by Ben.Marsh
Build: Add support for building Orion and Fortnite precompiled binaries from Dev-Framework.
Change 3233365 on 2016/12/13 by mason.seay
Resaving with non-empty engine version
Change 3233532 on 2016/12/13 by mason.seay
Level blueprint clean up
Change 3233571 on 2016/12/13 by Ben.Marsh
Set up paths for precompiled binaries.
Change 3233601 on 2016/12/13 by Ben.Marsh
Build: Use the code CL rather than latest CL for precompiled binaries.
Change 3234402 on 2016/12/14 by Ori.Cohen
Physics: Fixed line traces not working properly in editor worlds when physics substepping was enabled (UE-36408)
- Substepping relies on interpolating transforms over frames, but only game worlds will be ticked, so we now disallow this feature in non-game worlds.
#jira UE-36408
Change 3234415 on 2016/12/14 by Ori.Cohen
Fix CIS
Change 3234574 on 2016/12/14 by Thomas.Sarkanen
Fix crash when IK chain is inverted
#jira UE-39720 - Crash compiling animation blueprint with Spline IK node
Change 3234882 on 2016/12/14 by Ori.Cohen
Fixed teleport not working for physical animation component
Change 3234971 on 2016/12/14 by Aaron.McLeran
Fix for omni-directional sounds in audio mixer
Change 3235251 on 2016/12/14 by mason.seay
Assets for proposed functional testing
Change 3235492 on 2016/12/14 by Ori.Cohen
Undo previous bad normal fix and remove wheel width compensation. This leads to bad normals when thick tires roll over the edge leading to instability.
#JIRA UE-38710
Change 3236398 on 2016/12/15 by Marc.Audy
(4.15) Add new object flag RF_NeedInitialization to indicate that ~FObjectInitalizer and PostInitProperties have not been executed for the object
Do not allow Modify calls on Objects that have not been initialized
#jira UE-39731
Change 3236413 on 2016/12/15 by Lukasz.Furman
added EQS profiler
#ue4
Change 3236418 on 2016/12/15 by Lukasz.Furman
changed log verbosity in navmesh geometry export function
#jira UE-39809
#3039
Change 3236508 on 2016/12/15 by Ori.Cohen
Allow vehicles to override inertia tensor after any mass properties have changed
#JIRA UE-39566
Change 3236573 on 2016/12/15 by Ori.Cohen
Fix manipulation tool not working properly with welded components
Change 3236577 on 2016/12/15 by Ori.Cohen
Improve physics asset body creation so that it merges small bones and turns off collision between initially overlapping bodies.
Change 3236580 on 2016/12/15 by Ori.Cohen
Improve mass computation for physics shapes (ignore trimesh which introduces error)
Change 3236581 on 2016/12/15 by Ori.Cohen
Fix incorrect inertia tensor computation for cubes (was being doubled by mistake).
Change 3236809 on 2016/12/15 by Lukasz.Furman
compilation fix: missing headers in EnvQueryManager
Change 3237187 on 2016/12/15 by Lukasz.Furman
compilation fix: missing defines in EnvQueryInstance
Change 3237423 on 2016/12/15 by Aaron.McLeran
Audio mixer: Allow center channel panning as a project setting.
- To better support previous audio engine behavior, allow audio mixer to pan audio to center channel via audio settings.
Change 3237639 on 2016/12/15 by Aaron.McLeran
Audio mixer stat tracking
Change 3237646 on 2016/12/15 by dan.reynolds
MIDI Test Assets:
General MIDITestBP
MPKmini2 Child BP
MPKmini2 Wrap Map
Change 3238148 on 2016/12/16 by Lukasz.Furman
fixed crash in EQS profiler
copy of CL# 3238145
Change 3238708 on 2016/12/16 by Marc.Audy
(4.15) Don't unload and then reload streaming levels that are marked to be hidden.
#jira UE-39883
Change 3238799 on 2016/12/16 by Lina.Halper
Potential fix + more info on crash on copying curve for WEX
Change 3239559 on 2016/12/19 by Ori.Cohen
Guard against infinitely thin geometry which fixes some nans
Change 3239728 on 2016/12/19 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3239536
Change 3239735 on 2016/12/19 by Jon.Nabozny
Set 'p.MoveIgnoreFirstBlockingOverlap' to be enabled by default (3158732). This causes collision behavior to remain unchanged unless people opt in to the new behavior.
Adjust Bot_RandomLocations default health to 100 from 0. This prevents death by hits from non-projectiles.
4.15
#jira UE-39387
Change 3239765 on 2016/12/19 by Jon.Nabozny
Fix FPredictProjectilePathParams to use a valid default value for TraceChannel.
This requires the use of a new bool bTraceWithChannel which is enabled by default.
4.15
#JIRA UE-39726
Change 3239810 on 2016/12/19 by Marc.Audy
Avoid duplicate GetWorldSettings call
Change 3239826 on 2016/12/19 by Lukasz.Furman
fixed crashes in gameplay debugger's draw delegate handling
copy of 3234768, 3239819
#ue4
Change 3239894 on 2016/12/19 by Richard.Hinckley
Improving UInterface template files for "New C++ Class" feature. We now use GENERATED_BODY macros and don't need an empty constructor in the .cpp file.
Change 3239957 on 2016/12/19 by Aaron.McLeran
UE-39924 Fix for crash when duplicating sound cue assets in content browser
Checking for null before casting
Change 3239983 on 2016/12/19 by Mieszko.Zielinski
Fixed injecting dynamic BTs not as expected when there's more than one injection point #UE4
Change 3240177 on 2016/12/19 by Mieszko.Zielinski
Fix for AI agents hand-placed on levels not getting their PathFollowingComponent.MyNavData set properly #UE4
Change 3240488 on 2016/12/19 by Aaron.McLeran
UE-39924 Fix for crash when duplicating sound cue assets in content browser
More fixes!
Change 3240512 on 2016/12/19 by dan.reynolds
AEOverview Update:
- Created support for single level loads (sub-maps now auto generate lights and a staging platform when loaded individually vs. via AEOverviewMain)
This will allow developers to load single levels functionally without adding lights or other assets to make them work.
Change 3240518 on 2016/12/19 by dan.reynolds
AEOverview Update:
- Added test for Multichannel 2D Reverb
Change 3240875 on 2016/12/20 by mason.seay
Gameplay Tag Functional Tests
Change 3240876 on 2016/12/20 by dan.reynolds
AEOverview Fix
- Fixed miss targeted menu items (updated prefixes)
Change 3240923 on 2016/12/20 by Lukasz.Furman
fixed memory corruption in template A* solver
copy of CL# 3240898
#ue4
Change 3241661 on 2016/12/21 by Thomas.Sarkanen
Fix mesh-customized sockets not showing up by default in 'Active' socket filter mode
#jira UE-39938 - Cannot edit mesh sockets
Change 3241964 on 2016/12/21 by Wes.Hunt
Remove QoSReporter from CrashReportClient
#tests editor debug gpf and verify crash is sent.
Change 3241996 on 2016/12/21 by Wes.Hunt
Add @Owner tags to all analytics events in all our games #jira AN-805
* Added default owners to most events. Tracked down authors of some events.
* Added skeleton docs for many missing locations (just added @Name and @Owner so analytics folks can see the name and who to talk to in the doc webpage).
* verified this checkin contains changes to comments ONLY.
#tests compiled Orion and QAGame.
Change 3242825 on 2016/12/22 by Lukasz.Furman
fixed order of behavior tree execution indices for PIE debugging
#jira UE-39922
Change 3242860 on 2016/12/22 by mason.seay
Functional tests for timer
Change 3243188 on 2016/12/22 by dan.reynolds
AEOverview Update
- Created viewport bookmarks on each sub-map for individual testing consistency
- Updated EQ and Reverb effect parameters to work with new Audio Mixer Effects
Change 3243192 on 2016/12/22 by dan.reynolds
AEOverview Lighting Fix
Change 3243507 on 2016/12/23 by dan.reynolds
AEOverview Moved to Maps\Framework\Audio\
+ redirector clean up, resaves, etc.
Change 3243553 on 2016/12/24 by Aaron.McLeran
Bringing fixes to dev-framework from odin
3240517
3240476
3240473
3240412
3240315
3240220
3240194
Change 3243567 on 2016/12/24 by Aaron.McLeran
Fixing build.
Adding #include for FConfigCacheIni
Change 3244466 on 2017/01/01 by Mieszko.Zielinski
Removed FGameplayDebuggerDebugDrawDelegateHelper::InitDelegateHelper implementation that was failing a check without any explanation or comment #UE4
#jira UE-40069
Change 3244471 on 2017/01/01 by Aaron.McLeran
Bringing fixes to dev-framework from odin
3244469
3244467
3243743
Change 3244639 on 2017/01/03 by Jurre.deBaare
CIS error fix
Change 3244748 on 2017/01/03 by Jurre.deBaare
Crash while using the Delete Button in the HLOD Outliner while a Generated Proxy Mesh is opened in the Static Mesh Editor
#fix Unify path for both delete cluster options in the outliner UI
#jira UE-40066
Change 3245338 on 2017/01/03 by Aaron.McLeran
Getting rid of shadowed variable.
Change 3245816 on 2017/01/03 by Aaron.McLeran
Synth component and DSP objects
- New synth component wraps an audio component and procedural sound wave to make generating synthesis much much easier
- Bunch of changes and improvements to DSP objects for real-time synthesis.
- New polyphonic virtual analog synthesizer
Change 3246146 on 2017/01/04 by Ben.Marsh
Move precompiled binaries into the Private-Binaries stream.
Change 3246283 on 2017/01/04 by Marc.Audy
Fix CIS warnings
Change 3246457 on 2017/01/04 by Aaron.McLeran
Fixing static analysis warnings
Change 3246519 on 2017/01/04 by Benn.Gallagher
Fix for serialization mismatch on skeletal mesh source model.
Change 3247193 on 2017/01/04 by Dan.Reynolds
Adding new DSP utility
Change 3247769 on 2017/01/05 by Marc.Audy
Remove inaccurate comment
Change 3248068 on 2017/01/05 by dan.reynolds
AEOverview Fix
- Shortening long path name (Multichannel sub-directories) and fixing up redirectors
Change 3248251 on 2017/01/05 by Jon.Nabozny
Fix uninitialized PropertyColor in BillboardComponent.
Change 3249305 on 2017/01/06 by James.Golding
Fix FColorVertexBuffer copy constructor if source buffer is not initialised
#jira UE-40242
Change 3249639 on 2017/01/06 by Jon.Nabozny
Fix K2Node_CallFunction tool tip generation crash.
#JIRA UE-40307
Change 3249716 on 2017/01/06 by Aaron.McLeran
Minor changes to DSP objects
Deciding on a method to pass parameters from BP to synth components.
Change 3249909 on 2017/01/06 by James.Golding
Change USkinnedMeshComponent::GetSkinWeightBuffer to not require a MeshObject to return valid weight buffer
Make VertInfluencedByActiveBoneTyped not crash if weight buffer is null
#jira UE-40289
Change 3249931 on 2017/01/06 by Aaron.McLeran
Bring CL 3244528 from Odin to Dev-Framework
Change 3250012 on 2017/01/06 by Aaron.McLeran
Changing how synth params work
- Removing base-class parameter getters/setters, removing OnParameterChange virtual function
- Added SynthCommand function to help setting synth params on audio render thread from game thread
- Refactored Synth1Component to use new system
Change 3250084 on 2017/01/06 by Aaron.McLeran
Adding preset struct and adding noise to oscillator
Change 3250257 on 2017/01/07 by Aaron.McLeran
Checking in stub for new synthesis plugin to put synthesis instances.
Change 3250264 on 2017/01/07 by Aaron.McLeran
Moving synthesis code to new synthesis plugin
Change 3250313 on 2017/01/07 by Aaron.McLeran
Fixing CIS static analysis warning on include cycle
Change 3250353 on 2017/01/08 by Aaron.McLeran
Various audio mixer/dsp refinements
-Simplying envelope code to just be a straightforward case statement
-Added sample value lerping code for Amp object to avoid zippering when running at control-rate sample rates
-Changed source manager wrapping code to always set NextFrameIndex to -1 in the edge case of the next being out of range, but current not being out of range. It should always be -1.
-Added a console var to toggle enabling sample checks for tracking down sample bugs
-Added data table row subclass to EpicSynth1Component preset struct
Change 3250382 on 2017/01/08 by Aaron.McLeran
Bringing ODIN-3977 fix to dev-framework
Change 3250435 on 2017/01/08 by Aaron.McLeran
Adding ability to set note durations for synth component
Removing OnNoteOn/OnNoteOff events since derived synth components may or may not deal with notes.
Change 3250443 on 2017/01/08 by Aaron.McLeran
Fixing CIS, removing console variable code.
Change 3250445 on 2017/01/08 by Aaron.McLeran
Attempted fix for crash on existing PIE
Change 3250446 on 2017/01/08 by dan.reynolds
Updated MidiSynthTestBP for new Note On Note Off functions
Change 3250447 on 2017/01/08 by dan.reynolds
MidiListener and MidiSynthTestBP Updated to use Duration argument (MidiListener set default value to -1.0f )
Change 3250455 on 2017/01/08 by Aaron.McLeran
Adding critical section so stopping a source voice and processing source voice can't happen at same time.
Change 3250465 on 2017/01/08 by Aaron.McLeran
Fixing NaNs in sine approximations
Change 3250466 on 2017/01/08 by Aaron.McLeran
Adding new music utility.
- Changing scale indicies to be 1-based (music oriented)
- Adding new function to get chord note from a mode
Change 3250467 on 2017/01/08 by Aaron.McLeran
Undoing change to FastSin parabolic sine approximation
- was not dividing by zero!
Change 3250468 on 2017/01/08 by Aaron.McLeran
Adding ability to get a direct virtual function callback for procedural sound waves
-Using the UE4 delegate function was not safe in the audio rendering thread and would sometimes not actually get called. Switched to a more direct and simple override, avoids some buffer copies and is more simple.
-Updated synth component code to use the new method.
Change 3250470 on 2017/01/08 by Aaron.McLeran
Fixing note on duration
Change 3250479 on 2017/01/08 by Aaron.McLeran
Fixing pan in the amp dsp object
Change 3252179 on 2017/01/10 by Mieszko.Zielinski
Fallout fix after removal of BlackboardKeyUtils::CalculateComparisonResult declaration from the AIModule #UE4
Change 3252498 on 2017/01/10 by Marc.Audy
Fix non-unity compile errors
[CL 3252563 by Marc Audy in Main branch]
2017-01-10 14:09:16 -05:00
|
|
|
FSlateColor SGraphNode_EnvironmentQuery::GetProfilerTestSlateColor() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
if (MyTestNode)
|
|
|
|
|
{
|
|
|
|
|
return MyTestNode->Stats.AvgTime >= 5 ? FLinearColor::Red :
|
|
|
|
|
MyTestNode->Stats.AvgTime >= 2 ? FLinearColor::Yellow :
|
|
|
|
|
FLinearColor::Green;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return FLinearColor::White;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EVisibility SGraphNode_EnvironmentQuery::GetProfilerTestVisibility() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
return MyTestNode && MyTestNode->bStatShowOverlay ? EVisibility::Visible : EVisibility::Collapsed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EVisibility SGraphNode_EnvironmentQuery::GetProfilerOptionVisibility() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Option* MyOptionNode = Cast<UEnvironmentQueryGraphNode_Option>(GraphNode);
|
|
|
|
|
return MyOptionNode && MyOptionNode->bStatShowOverlay ? EVisibility::Visible : EVisibility::Collapsed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FText SGraphNode_EnvironmentQuery::GetProfilerDescAverage() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
if (MyTestNode && MyTestNode->bStatShowOverlay)
|
|
|
|
|
{
|
|
|
|
|
FNumberFormattingOptions FmtOptions;
|
|
|
|
|
FmtOptions.SetMaximumFractionalDigits(2);
|
|
|
|
|
|
|
|
|
|
return FText::Format(LOCTEXT("ProfilerOverlayAvg", "Average run: {0} ms"), FText::AsNumber(MyTestNode->Stats.AvgTime, &FmtOptions));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return FText::GetEmpty();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FText SGraphNode_EnvironmentQuery::GetProfilerDescWorst() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Test* MyTestNode = Cast<UEnvironmentQueryGraphNode_Test>(GraphNode);
|
|
|
|
|
if (MyTestNode && MyTestNode->bStatShowOverlay)
|
|
|
|
|
{
|
|
|
|
|
FNumberFormattingOptions FmtOptions;
|
|
|
|
|
FmtOptions.SetMaximumFractionalDigits(2);
|
|
|
|
|
|
|
|
|
|
return FText::Format(LOCTEXT("ProfilerOverlayMax", "Worst run: {0} ms, {1} items"), FText::AsNumber(MyTestNode->Stats.MaxTime, &FmtOptions), FText::AsNumber(MyTestNode->Stats.MaxNumProcessedItems));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return FText::GetEmpty();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FText SGraphNode_EnvironmentQuery::GetProfilerDescOption() const
|
|
|
|
|
{
|
|
|
|
|
UEnvironmentQueryGraphNode_Option* MyOptionNode = Cast<UEnvironmentQueryGraphNode_Option>(GraphNode);
|
|
|
|
|
if (MyOptionNode && MyOptionNode->bStatShowOverlay)
|
|
|
|
|
{
|
|
|
|
|
FTextBuilder DescBuilder;
|
|
|
|
|
|
|
|
|
|
FNumberFormattingOptions FmtOptions;
|
|
|
|
|
FmtOptions.SetMaximumFractionalDigits(2);
|
|
|
|
|
|
|
|
|
|
for (int32 Idx = 0; Idx < MyOptionNode->StatsPerGenerator.Num(); Idx++)
|
|
|
|
|
{
|
|
|
|
|
DescBuilder.AppendLineFormat(LOCTEXT("ProfilerOverlayGen", "Generator[{0}]"), Idx);
|
|
|
|
|
DescBuilder.Indent();
|
|
|
|
|
|
|
|
|
|
DescBuilder.AppendLineFormat(LOCTEXT("ProfilerOverlayAvg", "Average run: {0} ms"), FText::AsNumber(MyOptionNode->StatsPerGenerator[Idx].AvgTime, &FmtOptions));
|
|
|
|
|
DescBuilder.AppendLineFormat(LOCTEXT("ProfilerOverlayMax", "Worst run: {0} ms, {1} items"), FText::AsNumber(MyOptionNode->StatsPerGenerator[Idx].MaxTime, &FmtOptions), FText::AsNumber(MyOptionNode->StatsPerGenerator[Idx].MaxNumProcessedItems));
|
|
|
|
|
|
|
|
|
|
DescBuilder.Unindent();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DescBuilder.AppendLine();
|
|
|
|
|
DescBuilder.AppendLineFormat(LOCTEXT("ProfilerOverlayPickRate", "Pick rate: {0}"), FText::AsPercent(MyOptionNode->StatAvgPickRate));
|
|
|
|
|
return DescBuilder.ToText();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return FText::GetEmpty();
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
#undef LOCTEXT_NAMESPACE
|