2019-12-26 15:33:43 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2015-02-23 10:30:16 -05:00
|
|
|
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
|
|
|
#include "AIGraph.h"
|
|
|
|
|
#include "UObject/UObjectHash.h"
|
|
|
|
|
#include "EdGraph/EdGraphSchema.h"
|
|
|
|
|
#include "AIGraphTypes.h"
|
|
|
|
|
#include "AIGraphNode.h"
|
2015-02-23 10:30:16 -05:00
|
|
|
#include "AIGraphModule.h"
|
|
|
|
|
|
|
|
|
|
UAIGraph::UAIGraph(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer)
|
|
|
|
|
{
|
|
|
|
|
bLockUpdates = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::UpdateAsset(int32 UpdateFlags)
|
|
|
|
|
{
|
|
|
|
|
// empty in base class
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-09 05:40:56 -04:00
|
|
|
void UAIGraph::OnCreated()
|
|
|
|
|
{
|
|
|
|
|
MarkVersion();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::OnLoaded()
|
|
|
|
|
{
|
|
|
|
|
UpdateDeprecatedClasses();
|
|
|
|
|
UpdateUnknownNodeClasses();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::Initialize()
|
|
|
|
|
{
|
|
|
|
|
UpdateVersion();
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
void UAIGraph::UpdateVersion()
|
|
|
|
|
{
|
|
|
|
|
if (GraphVersion == 1)
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MarkVersion();
|
|
|
|
|
Modify();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::MarkVersion()
|
|
|
|
|
{
|
|
|
|
|
GraphVersion = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool UAIGraph::UpdateUnknownNodeClasses()
|
|
|
|
|
{
|
|
|
|
|
bool bUpdated = false;
|
|
|
|
|
for (int32 NodeIdx = 0; NodeIdx < Nodes.Num(); NodeIdx++)
|
|
|
|
|
{
|
|
|
|
|
UAIGraphNode* MyNode = Cast<UAIGraphNode>(Nodes[NodeIdx]);
|
2016-06-16 11:54:44 -04:00
|
|
|
if (MyNode)
|
2015-02-23 10:30:16 -05:00
|
|
|
{
|
2016-06-16 11:54:44 -04:00
|
|
|
const bool bUpdatedNode = MyNode->RefreshNodeClass();
|
|
|
|
|
bUpdated = bUpdated || bUpdatedNode;
|
|
|
|
|
|
|
|
|
|
for (int32 SubNodeIdx = 0; SubNodeIdx < MyNode->SubNodes.Num(); SubNodeIdx++)
|
2015-02-23 10:30:16 -05:00
|
|
|
{
|
2016-06-16 11:54:44 -04:00
|
|
|
if (MyNode->SubNodes[SubNodeIdx])
|
|
|
|
|
{
|
|
|
|
|
const bool bUpdatedSubNode = MyNode->SubNodes[SubNodeIdx]->RefreshNodeClass();
|
|
|
|
|
bUpdated = bUpdated || bUpdatedSubNode;
|
|
|
|
|
}
|
2015-02-23 10:30:16 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return bUpdated;
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3108373)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3090652 on 2016/08/16 by James.Golding
UE-33627 When slicing procmesh collision shapes, ensure at least 4 verts in resulting geometry
UE-33301 Fix normals on cap sections when slicing proc mesh
Change 3093719 on 2016/08/18 by Marc.Audy
Remove unused bIsAudible
Change 3094646 on 2016/08/19 by Marc.Audy
DumpActiveSounds console command to help debugging audio
Change 3094667 on 2016/08/19 by Marc.Audy
Remove inadvertently checked in lines
Change 3094877 on 2016/08/19 by James.Golding
Improve warning when creating constraint between different scenes to report components being connected
Change 3094881 on 2016/08/19 by James.Golding
PR #2609: Fix TimeSecondsToString format so it matches comment
#jira UE-33404
Change 3094883 on 2016/08/19 by James.Golding
PR #2651: Add GetBoneMass and GetSkeletalCenterOfMass functions for skeletal meshes.
#jira UE-33978
Change 3094888 on 2016/08/19 by James.Golding
PR #2629 : Fix typo in ESuggestProjVelocityTraceOption::OnlyTraceWhileAsceding to OnlyTraceWhileAscending
#jira UE-33789
PR #2580: Fix typo in comment for DeprojectScreenToWorld
#jira UE-32898
Change 3094891 on 2016/08/19 by Marc.Audy
Allow focusing of Actors with 0 size bounds.
#jira UE-34892
Change 3094892 on 2016/08/19 by Marc.Audy
Put null bounds of an empty text render component at the correct location.
#jira UE-34892
Change 3094893 on 2016/08/19 by Aaron.McLeran
UE-34951 - Zero-volume vorbis decoded sounds are too expensive
-Adding an audio settings parameter to disable zero-volume playback globally
-Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume
Change 3094895 on 2016/08/19 by James.Golding
Added several new features for collision component
- 'Attach End' option
- Collision support (inc friction)
- Stiffness option
- External forces
- GetCableParticleLocations function
Removed need for CableUpDir setting
Added perf stats for cable sim
#jira UE-33398
Change 3094980 on 2016/08/19 by Marc.Audy
Fix compile error
Change 3095035 on 2016/08/19 by Lukasz.Furman
increased layer limit for navmesh generation
#jira UE-33560
Change 3095036 on 2016/08/19 by Lukasz.Furman
fixed navmesh generation getting stuck in infite loop during contour trace step
#jira UE-32847
Change 3095148 on 2016/08/19 by Marc.Audy
Adjust UT to correct spelling from CL# 3094888
Change 3095228 on 2016/08/19 by Marc.Audy
PR #2389 - Expanded exposure of cheat manager (Contributed by EverNewJoy)
#jira UE-30548
Change 3095305 on 2016/08/19 by Marc.Audy
PR #2692: Set mouse position : PlayerController (Contributed by Vawx)
#jira UE-34602
Change 3096570 on 2016/08/22 by Ori.Cohen
Move bodies label in PhAT viewport to be easier to read.
Change 3096742 on 2016/08/22 by Ori.Cohen
Fix constraints being improperly edited (To Hinge, To Prismatic, etc...) when an active constraint profile is selected.
Fix undo redo not working with constraint profile instances.
#JIRA UE-34305, UE-34495
Change 3096883 on 2016/08/22 by Lukasz.Furman
fixed landscape's geometry export for navigation: sliced version and mirroring for holes
Change 3096941 on 2016/08/22 by Ori.Cohen
Fix phat incorrectly simulating using the wrong physics asset. (was missing virtual)
#JIRA UE-34559
Change 3098107 on 2016/08/23 by Ori.Cohen
Move skeletal mesh component physics updating into EndPhysics so that other components can use it safely in PostPhysics
#JIRA UE-29459
Change 3098365 on 2016/08/23 by Lina.Halper
Make sure to search guid before searching by name.
- Was waiting for change from main to come through before making this change.
#jira: related UE-33772, UE-33454
Change 3098468 on 2016/08/23 by Ori.Cohen
Fix CIS. Was going to make registration functions for cloth private, but I guess some games are relying on this directly.
#JIRA UE-35118
Change 3098668 on 2016/08/23 by Ori.Cohen
Expose the ability to separate reverse and brake given from PR#1418
#JIRA UE-1418
Change 3099270 on 2016/08/24 by Ori.Cohen
Remove WheeledVehicle and related headers from Engine.h
Change 3099358 on 2016/08/24 by Ori.Cohen
Fix non-unity build for removing wheeledvehicle out of engine.h
Change 3099434 on 2016/08/24 by Ori.Cohen
Fix vehicle suspension force offset to work from the spring location (in the z-axis) instead of the vehicle COM.
Change 3099534 on 2016/08/24 by Ori.Cohen
Update vehicle template to use the new suspension mode.
#JIRA UE-35157
Change 3100097 on 2016/08/24 by Lina.Halper
Morphtarget viewer support
PR #2327: Morph target viewer (Contributed by tmiv)
#code review: Martin.Wilson
#jira: UE-29998
Change 3101285 on 2016/08/25 by Jon.Nabozny
Adds a simple test case for the FSkeletalMeshMerge tool to QA game.
#JIRA UE-29279
Change 3101356 on 2016/08/25 by Jon.Nabozny
Fix invalid bound calculation in CalculateLodCount.
#jira UE-35105
Change 3101981 on 2016/08/25 by Mieszko.Zielinski
Fixed BTDecorator_CompareBBEntries not working as expected if first value pulled from BB is '<' then the other #UE4
It's an alternative fix to the one suggested as PR#2736
#jira UE-35196
Change 3103399 on 2016/08/26 by Ori.Cohen
Added SimpleWheeledVehicleMovementComponent which allows for n wheels with no motor simulation.
Exposed WheeledVehicleMovementComponent4W so that it can be added to any blueprint.
Change 3103414 on 2016/08/26 by Mieszko.Zielinski
fixed UBTDecorator_CompareBBEntries::CalculateRawConditionValue condition calue calculation #UE4
Change 3104345 on 2016/08/29 by Ori.Cohen
Fix typo (reverseAsBrake instead of reverseAsBreak)
Change 3104412 on 2016/08/29 by Ori.Cohen
Fix crash when using Don't Create Shape for vehicle wheel
#JIRA UE-35249
Change 3104423 on 2016/08/29 by Ori.Cohen
Expose SimpleWheeledVehicleMovementComponent torque and brake
Change 3104798 on 2016/08/29 by Mieszko.Zielinski
Even better phrasing of the condition in UBTDecorator_CompareBBEntries::CalculateRawConditionValue #UE4
Change 3105781 on 2016/08/30 by Lukasz.Furman
added log warnings when opening AIGraphs (behavior tree, EQS query) with missing node instance classes
#jira UE-34981
#2721
Change 3106161 on 2016/08/30 by Richard.Hinckley
Fixing a comment that's being pulled into documentation inappropriately.
Change 3106394 on 2016/08/30 by Marc.Audy
Don't crash trying to browse to the CAC actor template
Change 3106638 on 2016/08/30 by Jon.Nabozny
Fixed UK2Node_GetInputAxisValue using default bOverrideParent value on the created binding, causing previous bindings to be squashed.
#jira UE-34812
Change 3106788 on 2016/08/30 by Jon.Nabozny
Fix CIS warning resulting from 3106638
Change 3106946 on 2016/08/30 by Aaron.McLeran
#jira UE-35141 Audio no longer plays once window loses focus
Fix is to not include application volume changes (tabbing or application volume) when evaluating sound waves for inclusion in wave instance list, etc. Only use the "actual" volume when setting the volume on playing sound sources.
#tests tab out of game when running, audio returns to normal like it should (including 1-shot sounds)
Change 3106980 on 2016/08/30 by Lina.Halper
#Fix transform of poseablemeshcomponent not applying child transform and when set transform by bone name in editor
#code review: Benn.Gallahger
rushing this for Ryan
Change 3108285 on 2016/08/31 by Lukasz.Furman
removed deprecated nodes from troll and werewolf behavior trees (both unused)
#jira UE-35371
[CL 3108419 by Marc Audy in Main branch]
2016-08-31 14:24:30 -04:00
|
|
|
void UpdateAIGraphNodeErrorMessage(UAIGraphNode& Node)
|
|
|
|
|
{
|
|
|
|
|
// Broke out setting error message in to own function so it can be reused when iterating nodes collection.
|
|
|
|
|
if (Node.NodeInstance)
|
|
|
|
|
{
|
|
|
|
|
Node.ErrorMessage = FGraphNodeClassHelper::GetDeprecationMessage(Node.NodeInstance->GetClass());
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
// Null instance. Do we have any meaningful class data?
|
|
|
|
|
FString StoredClassName = Node.ClassData.GetClassName();
|
|
|
|
|
StoredClassName.RemoveFromEnd(TEXT("_C"));
|
|
|
|
|
|
|
|
|
|
if (!StoredClassName.IsEmpty())
|
|
|
|
|
{
|
|
|
|
|
// There is class data here but the instance was not be created.
|
|
|
|
|
static const FString IsMissingClassMessage(" class missing. Referenced by ");
|
|
|
|
|
Node.ErrorMessage = StoredClassName + IsMissingClassMessage + Node.GetFullName();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (Node.HasErrors())
|
|
|
|
|
{
|
|
|
|
|
UE_LOG(LogAIGraph, Error, TEXT("%s"), *Node.ErrorMessage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-09 05:40:56 -04:00
|
|
|
void UAIGraph::UpdateDeprecatedClasses()
|
|
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3108373)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3090652 on 2016/08/16 by James.Golding
UE-33627 When slicing procmesh collision shapes, ensure at least 4 verts in resulting geometry
UE-33301 Fix normals on cap sections when slicing proc mesh
Change 3093719 on 2016/08/18 by Marc.Audy
Remove unused bIsAudible
Change 3094646 on 2016/08/19 by Marc.Audy
DumpActiveSounds console command to help debugging audio
Change 3094667 on 2016/08/19 by Marc.Audy
Remove inadvertently checked in lines
Change 3094877 on 2016/08/19 by James.Golding
Improve warning when creating constraint between different scenes to report components being connected
Change 3094881 on 2016/08/19 by James.Golding
PR #2609: Fix TimeSecondsToString format so it matches comment
#jira UE-33404
Change 3094883 on 2016/08/19 by James.Golding
PR #2651: Add GetBoneMass and GetSkeletalCenterOfMass functions for skeletal meshes.
#jira UE-33978
Change 3094888 on 2016/08/19 by James.Golding
PR #2629 : Fix typo in ESuggestProjVelocityTraceOption::OnlyTraceWhileAsceding to OnlyTraceWhileAscending
#jira UE-33789
PR #2580: Fix typo in comment for DeprojectScreenToWorld
#jira UE-32898
Change 3094891 on 2016/08/19 by Marc.Audy
Allow focusing of Actors with 0 size bounds.
#jira UE-34892
Change 3094892 on 2016/08/19 by Marc.Audy
Put null bounds of an empty text render component at the correct location.
#jira UE-34892
Change 3094893 on 2016/08/19 by Aaron.McLeran
UE-34951 - Zero-volume vorbis decoded sounds are too expensive
-Adding an audio settings parameter to disable zero-volume playback globally
-Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume
Change 3094895 on 2016/08/19 by James.Golding
Added several new features for collision component
- 'Attach End' option
- Collision support (inc friction)
- Stiffness option
- External forces
- GetCableParticleLocations function
Removed need for CableUpDir setting
Added perf stats for cable sim
#jira UE-33398
Change 3094980 on 2016/08/19 by Marc.Audy
Fix compile error
Change 3095035 on 2016/08/19 by Lukasz.Furman
increased layer limit for navmesh generation
#jira UE-33560
Change 3095036 on 2016/08/19 by Lukasz.Furman
fixed navmesh generation getting stuck in infite loop during contour trace step
#jira UE-32847
Change 3095148 on 2016/08/19 by Marc.Audy
Adjust UT to correct spelling from CL# 3094888
Change 3095228 on 2016/08/19 by Marc.Audy
PR #2389 - Expanded exposure of cheat manager (Contributed by EverNewJoy)
#jira UE-30548
Change 3095305 on 2016/08/19 by Marc.Audy
PR #2692: Set mouse position : PlayerController (Contributed by Vawx)
#jira UE-34602
Change 3096570 on 2016/08/22 by Ori.Cohen
Move bodies label in PhAT viewport to be easier to read.
Change 3096742 on 2016/08/22 by Ori.Cohen
Fix constraints being improperly edited (To Hinge, To Prismatic, etc...) when an active constraint profile is selected.
Fix undo redo not working with constraint profile instances.
#JIRA UE-34305, UE-34495
Change 3096883 on 2016/08/22 by Lukasz.Furman
fixed landscape's geometry export for navigation: sliced version and mirroring for holes
Change 3096941 on 2016/08/22 by Ori.Cohen
Fix phat incorrectly simulating using the wrong physics asset. (was missing virtual)
#JIRA UE-34559
Change 3098107 on 2016/08/23 by Ori.Cohen
Move skeletal mesh component physics updating into EndPhysics so that other components can use it safely in PostPhysics
#JIRA UE-29459
Change 3098365 on 2016/08/23 by Lina.Halper
Make sure to search guid before searching by name.
- Was waiting for change from main to come through before making this change.
#jira: related UE-33772, UE-33454
Change 3098468 on 2016/08/23 by Ori.Cohen
Fix CIS. Was going to make registration functions for cloth private, but I guess some games are relying on this directly.
#JIRA UE-35118
Change 3098668 on 2016/08/23 by Ori.Cohen
Expose the ability to separate reverse and brake given from PR#1418
#JIRA UE-1418
Change 3099270 on 2016/08/24 by Ori.Cohen
Remove WheeledVehicle and related headers from Engine.h
Change 3099358 on 2016/08/24 by Ori.Cohen
Fix non-unity build for removing wheeledvehicle out of engine.h
Change 3099434 on 2016/08/24 by Ori.Cohen
Fix vehicle suspension force offset to work from the spring location (in the z-axis) instead of the vehicle COM.
Change 3099534 on 2016/08/24 by Ori.Cohen
Update vehicle template to use the new suspension mode.
#JIRA UE-35157
Change 3100097 on 2016/08/24 by Lina.Halper
Morphtarget viewer support
PR #2327: Morph target viewer (Contributed by tmiv)
#code review: Martin.Wilson
#jira: UE-29998
Change 3101285 on 2016/08/25 by Jon.Nabozny
Adds a simple test case for the FSkeletalMeshMerge tool to QA game.
#JIRA UE-29279
Change 3101356 on 2016/08/25 by Jon.Nabozny
Fix invalid bound calculation in CalculateLodCount.
#jira UE-35105
Change 3101981 on 2016/08/25 by Mieszko.Zielinski
Fixed BTDecorator_CompareBBEntries not working as expected if first value pulled from BB is '<' then the other #UE4
It's an alternative fix to the one suggested as PR#2736
#jira UE-35196
Change 3103399 on 2016/08/26 by Ori.Cohen
Added SimpleWheeledVehicleMovementComponent which allows for n wheels with no motor simulation.
Exposed WheeledVehicleMovementComponent4W so that it can be added to any blueprint.
Change 3103414 on 2016/08/26 by Mieszko.Zielinski
fixed UBTDecorator_CompareBBEntries::CalculateRawConditionValue condition calue calculation #UE4
Change 3104345 on 2016/08/29 by Ori.Cohen
Fix typo (reverseAsBrake instead of reverseAsBreak)
Change 3104412 on 2016/08/29 by Ori.Cohen
Fix crash when using Don't Create Shape for vehicle wheel
#JIRA UE-35249
Change 3104423 on 2016/08/29 by Ori.Cohen
Expose SimpleWheeledVehicleMovementComponent torque and brake
Change 3104798 on 2016/08/29 by Mieszko.Zielinski
Even better phrasing of the condition in UBTDecorator_CompareBBEntries::CalculateRawConditionValue #UE4
Change 3105781 on 2016/08/30 by Lukasz.Furman
added log warnings when opening AIGraphs (behavior tree, EQS query) with missing node instance classes
#jira UE-34981
#2721
Change 3106161 on 2016/08/30 by Richard.Hinckley
Fixing a comment that's being pulled into documentation inappropriately.
Change 3106394 on 2016/08/30 by Marc.Audy
Don't crash trying to browse to the CAC actor template
Change 3106638 on 2016/08/30 by Jon.Nabozny
Fixed UK2Node_GetInputAxisValue using default bOverrideParent value on the created binding, causing previous bindings to be squashed.
#jira UE-34812
Change 3106788 on 2016/08/30 by Jon.Nabozny
Fix CIS warning resulting from 3106638
Change 3106946 on 2016/08/30 by Aaron.McLeran
#jira UE-35141 Audio no longer plays once window loses focus
Fix is to not include application volume changes (tabbing or application volume) when evaluating sound waves for inclusion in wave instance list, etc. Only use the "actual" volume when setting the volume on playing sound sources.
#tests tab out of game when running, audio returns to normal like it should (including 1-shot sounds)
Change 3106980 on 2016/08/30 by Lina.Halper
#Fix transform of poseablemeshcomponent not applying child transform and when set transform by bone name in editor
#code review: Benn.Gallahger
rushing this for Ryan
Change 3108285 on 2016/08/31 by Lukasz.Furman
removed deprecated nodes from troll and werewolf behavior trees (both unused)
#jira UE-35371
[CL 3108419 by Marc Audy in Main branch]
2016-08-31 14:24:30 -04:00
|
|
|
// This function sets error messages and logs errors about nodes.
|
|
|
|
|
|
|
|
|
|
for (int32 Idx = 0, IdxNum = Nodes.Num(); Idx < IdxNum; ++Idx)
|
2015-03-09 05:40:56 -04:00
|
|
|
{
|
|
|
|
|
UAIGraphNode* Node = Cast<UAIGraphNode>(Nodes[Idx]);
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3108373)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3090652 on 2016/08/16 by James.Golding
UE-33627 When slicing procmesh collision shapes, ensure at least 4 verts in resulting geometry
UE-33301 Fix normals on cap sections when slicing proc mesh
Change 3093719 on 2016/08/18 by Marc.Audy
Remove unused bIsAudible
Change 3094646 on 2016/08/19 by Marc.Audy
DumpActiveSounds console command to help debugging audio
Change 3094667 on 2016/08/19 by Marc.Audy
Remove inadvertently checked in lines
Change 3094877 on 2016/08/19 by James.Golding
Improve warning when creating constraint between different scenes to report components being connected
Change 3094881 on 2016/08/19 by James.Golding
PR #2609: Fix TimeSecondsToString format so it matches comment
#jira UE-33404
Change 3094883 on 2016/08/19 by James.Golding
PR #2651: Add GetBoneMass and GetSkeletalCenterOfMass functions for skeletal meshes.
#jira UE-33978
Change 3094888 on 2016/08/19 by James.Golding
PR #2629 : Fix typo in ESuggestProjVelocityTraceOption::OnlyTraceWhileAsceding to OnlyTraceWhileAscending
#jira UE-33789
PR #2580: Fix typo in comment for DeprojectScreenToWorld
#jira UE-32898
Change 3094891 on 2016/08/19 by Marc.Audy
Allow focusing of Actors with 0 size bounds.
#jira UE-34892
Change 3094892 on 2016/08/19 by Marc.Audy
Put null bounds of an empty text render component at the correct location.
#jira UE-34892
Change 3094893 on 2016/08/19 by Aaron.McLeran
UE-34951 - Zero-volume vorbis decoded sounds are too expensive
-Adding an audio settings parameter to disable zero-volume playback globally
-Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume
Change 3094895 on 2016/08/19 by James.Golding
Added several new features for collision component
- 'Attach End' option
- Collision support (inc friction)
- Stiffness option
- External forces
- GetCableParticleLocations function
Removed need for CableUpDir setting
Added perf stats for cable sim
#jira UE-33398
Change 3094980 on 2016/08/19 by Marc.Audy
Fix compile error
Change 3095035 on 2016/08/19 by Lukasz.Furman
increased layer limit for navmesh generation
#jira UE-33560
Change 3095036 on 2016/08/19 by Lukasz.Furman
fixed navmesh generation getting stuck in infite loop during contour trace step
#jira UE-32847
Change 3095148 on 2016/08/19 by Marc.Audy
Adjust UT to correct spelling from CL# 3094888
Change 3095228 on 2016/08/19 by Marc.Audy
PR #2389 - Expanded exposure of cheat manager (Contributed by EverNewJoy)
#jira UE-30548
Change 3095305 on 2016/08/19 by Marc.Audy
PR #2692: Set mouse position : PlayerController (Contributed by Vawx)
#jira UE-34602
Change 3096570 on 2016/08/22 by Ori.Cohen
Move bodies label in PhAT viewport to be easier to read.
Change 3096742 on 2016/08/22 by Ori.Cohen
Fix constraints being improperly edited (To Hinge, To Prismatic, etc...) when an active constraint profile is selected.
Fix undo redo not working with constraint profile instances.
#JIRA UE-34305, UE-34495
Change 3096883 on 2016/08/22 by Lukasz.Furman
fixed landscape's geometry export for navigation: sliced version and mirroring for holes
Change 3096941 on 2016/08/22 by Ori.Cohen
Fix phat incorrectly simulating using the wrong physics asset. (was missing virtual)
#JIRA UE-34559
Change 3098107 on 2016/08/23 by Ori.Cohen
Move skeletal mesh component physics updating into EndPhysics so that other components can use it safely in PostPhysics
#JIRA UE-29459
Change 3098365 on 2016/08/23 by Lina.Halper
Make sure to search guid before searching by name.
- Was waiting for change from main to come through before making this change.
#jira: related UE-33772, UE-33454
Change 3098468 on 2016/08/23 by Ori.Cohen
Fix CIS. Was going to make registration functions for cloth private, but I guess some games are relying on this directly.
#JIRA UE-35118
Change 3098668 on 2016/08/23 by Ori.Cohen
Expose the ability to separate reverse and brake given from PR#1418
#JIRA UE-1418
Change 3099270 on 2016/08/24 by Ori.Cohen
Remove WheeledVehicle and related headers from Engine.h
Change 3099358 on 2016/08/24 by Ori.Cohen
Fix non-unity build for removing wheeledvehicle out of engine.h
Change 3099434 on 2016/08/24 by Ori.Cohen
Fix vehicle suspension force offset to work from the spring location (in the z-axis) instead of the vehicle COM.
Change 3099534 on 2016/08/24 by Ori.Cohen
Update vehicle template to use the new suspension mode.
#JIRA UE-35157
Change 3100097 on 2016/08/24 by Lina.Halper
Morphtarget viewer support
PR #2327: Morph target viewer (Contributed by tmiv)
#code review: Martin.Wilson
#jira: UE-29998
Change 3101285 on 2016/08/25 by Jon.Nabozny
Adds a simple test case for the FSkeletalMeshMerge tool to QA game.
#JIRA UE-29279
Change 3101356 on 2016/08/25 by Jon.Nabozny
Fix invalid bound calculation in CalculateLodCount.
#jira UE-35105
Change 3101981 on 2016/08/25 by Mieszko.Zielinski
Fixed BTDecorator_CompareBBEntries not working as expected if first value pulled from BB is '<' then the other #UE4
It's an alternative fix to the one suggested as PR#2736
#jira UE-35196
Change 3103399 on 2016/08/26 by Ori.Cohen
Added SimpleWheeledVehicleMovementComponent which allows for n wheels with no motor simulation.
Exposed WheeledVehicleMovementComponent4W so that it can be added to any blueprint.
Change 3103414 on 2016/08/26 by Mieszko.Zielinski
fixed UBTDecorator_CompareBBEntries::CalculateRawConditionValue condition calue calculation #UE4
Change 3104345 on 2016/08/29 by Ori.Cohen
Fix typo (reverseAsBrake instead of reverseAsBreak)
Change 3104412 on 2016/08/29 by Ori.Cohen
Fix crash when using Don't Create Shape for vehicle wheel
#JIRA UE-35249
Change 3104423 on 2016/08/29 by Ori.Cohen
Expose SimpleWheeledVehicleMovementComponent torque and brake
Change 3104798 on 2016/08/29 by Mieszko.Zielinski
Even better phrasing of the condition in UBTDecorator_CompareBBEntries::CalculateRawConditionValue #UE4
Change 3105781 on 2016/08/30 by Lukasz.Furman
added log warnings when opening AIGraphs (behavior tree, EQS query) with missing node instance classes
#jira UE-34981
#2721
Change 3106161 on 2016/08/30 by Richard.Hinckley
Fixing a comment that's being pulled into documentation inappropriately.
Change 3106394 on 2016/08/30 by Marc.Audy
Don't crash trying to browse to the CAC actor template
Change 3106638 on 2016/08/30 by Jon.Nabozny
Fixed UK2Node_GetInputAxisValue using default bOverrideParent value on the created binding, causing previous bindings to be squashed.
#jira UE-34812
Change 3106788 on 2016/08/30 by Jon.Nabozny
Fix CIS warning resulting from 3106638
Change 3106946 on 2016/08/30 by Aaron.McLeran
#jira UE-35141 Audio no longer plays once window loses focus
Fix is to not include application volume changes (tabbing or application volume) when evaluating sound waves for inclusion in wave instance list, etc. Only use the "actual" volume when setting the volume on playing sound sources.
#tests tab out of game when running, audio returns to normal like it should (including 1-shot sounds)
Change 3106980 on 2016/08/30 by Lina.Halper
#Fix transform of poseablemeshcomponent not applying child transform and when set transform by bone name in editor
#code review: Benn.Gallahger
rushing this for Ryan
Change 3108285 on 2016/08/31 by Lukasz.Furman
removed deprecated nodes from troll and werewolf behavior trees (both unused)
#jira UE-35371
[CL 3108419 by Marc Audy in Main branch]
2016-08-31 14:24:30 -04:00
|
|
|
if (Node != nullptr)
|
2015-03-09 05:40:56 -04:00
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3108373)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3090652 on 2016/08/16 by James.Golding
UE-33627 When slicing procmesh collision shapes, ensure at least 4 verts in resulting geometry
UE-33301 Fix normals on cap sections when slicing proc mesh
Change 3093719 on 2016/08/18 by Marc.Audy
Remove unused bIsAudible
Change 3094646 on 2016/08/19 by Marc.Audy
DumpActiveSounds console command to help debugging audio
Change 3094667 on 2016/08/19 by Marc.Audy
Remove inadvertently checked in lines
Change 3094877 on 2016/08/19 by James.Golding
Improve warning when creating constraint between different scenes to report components being connected
Change 3094881 on 2016/08/19 by James.Golding
PR #2609: Fix TimeSecondsToString format so it matches comment
#jira UE-33404
Change 3094883 on 2016/08/19 by James.Golding
PR #2651: Add GetBoneMass and GetSkeletalCenterOfMass functions for skeletal meshes.
#jira UE-33978
Change 3094888 on 2016/08/19 by James.Golding
PR #2629 : Fix typo in ESuggestProjVelocityTraceOption::OnlyTraceWhileAsceding to OnlyTraceWhileAscending
#jira UE-33789
PR #2580: Fix typo in comment for DeprojectScreenToWorld
#jira UE-32898
Change 3094891 on 2016/08/19 by Marc.Audy
Allow focusing of Actors with 0 size bounds.
#jira UE-34892
Change 3094892 on 2016/08/19 by Marc.Audy
Put null bounds of an empty text render component at the correct location.
#jira UE-34892
Change 3094893 on 2016/08/19 by Aaron.McLeran
UE-34951 - Zero-volume vorbis decoded sounds are too expensive
-Adding an audio settings parameter to disable zero-volume playback globally
-Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume
Change 3094895 on 2016/08/19 by James.Golding
Added several new features for collision component
- 'Attach End' option
- Collision support (inc friction)
- Stiffness option
- External forces
- GetCableParticleLocations function
Removed need for CableUpDir setting
Added perf stats for cable sim
#jira UE-33398
Change 3094980 on 2016/08/19 by Marc.Audy
Fix compile error
Change 3095035 on 2016/08/19 by Lukasz.Furman
increased layer limit for navmesh generation
#jira UE-33560
Change 3095036 on 2016/08/19 by Lukasz.Furman
fixed navmesh generation getting stuck in infite loop during contour trace step
#jira UE-32847
Change 3095148 on 2016/08/19 by Marc.Audy
Adjust UT to correct spelling from CL# 3094888
Change 3095228 on 2016/08/19 by Marc.Audy
PR #2389 - Expanded exposure of cheat manager (Contributed by EverNewJoy)
#jira UE-30548
Change 3095305 on 2016/08/19 by Marc.Audy
PR #2692: Set mouse position : PlayerController (Contributed by Vawx)
#jira UE-34602
Change 3096570 on 2016/08/22 by Ori.Cohen
Move bodies label in PhAT viewport to be easier to read.
Change 3096742 on 2016/08/22 by Ori.Cohen
Fix constraints being improperly edited (To Hinge, To Prismatic, etc...) when an active constraint profile is selected.
Fix undo redo not working with constraint profile instances.
#JIRA UE-34305, UE-34495
Change 3096883 on 2016/08/22 by Lukasz.Furman
fixed landscape's geometry export for navigation: sliced version and mirroring for holes
Change 3096941 on 2016/08/22 by Ori.Cohen
Fix phat incorrectly simulating using the wrong physics asset. (was missing virtual)
#JIRA UE-34559
Change 3098107 on 2016/08/23 by Ori.Cohen
Move skeletal mesh component physics updating into EndPhysics so that other components can use it safely in PostPhysics
#JIRA UE-29459
Change 3098365 on 2016/08/23 by Lina.Halper
Make sure to search guid before searching by name.
- Was waiting for change from main to come through before making this change.
#jira: related UE-33772, UE-33454
Change 3098468 on 2016/08/23 by Ori.Cohen
Fix CIS. Was going to make registration functions for cloth private, but I guess some games are relying on this directly.
#JIRA UE-35118
Change 3098668 on 2016/08/23 by Ori.Cohen
Expose the ability to separate reverse and brake given from PR#1418
#JIRA UE-1418
Change 3099270 on 2016/08/24 by Ori.Cohen
Remove WheeledVehicle and related headers from Engine.h
Change 3099358 on 2016/08/24 by Ori.Cohen
Fix non-unity build for removing wheeledvehicle out of engine.h
Change 3099434 on 2016/08/24 by Ori.Cohen
Fix vehicle suspension force offset to work from the spring location (in the z-axis) instead of the vehicle COM.
Change 3099534 on 2016/08/24 by Ori.Cohen
Update vehicle template to use the new suspension mode.
#JIRA UE-35157
Change 3100097 on 2016/08/24 by Lina.Halper
Morphtarget viewer support
PR #2327: Morph target viewer (Contributed by tmiv)
#code review: Martin.Wilson
#jira: UE-29998
Change 3101285 on 2016/08/25 by Jon.Nabozny
Adds a simple test case for the FSkeletalMeshMerge tool to QA game.
#JIRA UE-29279
Change 3101356 on 2016/08/25 by Jon.Nabozny
Fix invalid bound calculation in CalculateLodCount.
#jira UE-35105
Change 3101981 on 2016/08/25 by Mieszko.Zielinski
Fixed BTDecorator_CompareBBEntries not working as expected if first value pulled from BB is '<' then the other #UE4
It's an alternative fix to the one suggested as PR#2736
#jira UE-35196
Change 3103399 on 2016/08/26 by Ori.Cohen
Added SimpleWheeledVehicleMovementComponent which allows for n wheels with no motor simulation.
Exposed WheeledVehicleMovementComponent4W so that it can be added to any blueprint.
Change 3103414 on 2016/08/26 by Mieszko.Zielinski
fixed UBTDecorator_CompareBBEntries::CalculateRawConditionValue condition calue calculation #UE4
Change 3104345 on 2016/08/29 by Ori.Cohen
Fix typo (reverseAsBrake instead of reverseAsBreak)
Change 3104412 on 2016/08/29 by Ori.Cohen
Fix crash when using Don't Create Shape for vehicle wheel
#JIRA UE-35249
Change 3104423 on 2016/08/29 by Ori.Cohen
Expose SimpleWheeledVehicleMovementComponent torque and brake
Change 3104798 on 2016/08/29 by Mieszko.Zielinski
Even better phrasing of the condition in UBTDecorator_CompareBBEntries::CalculateRawConditionValue #UE4
Change 3105781 on 2016/08/30 by Lukasz.Furman
added log warnings when opening AIGraphs (behavior tree, EQS query) with missing node instance classes
#jira UE-34981
#2721
Change 3106161 on 2016/08/30 by Richard.Hinckley
Fixing a comment that's being pulled into documentation inappropriately.
Change 3106394 on 2016/08/30 by Marc.Audy
Don't crash trying to browse to the CAC actor template
Change 3106638 on 2016/08/30 by Jon.Nabozny
Fixed UK2Node_GetInputAxisValue using default bOverrideParent value on the created binding, causing previous bindings to be squashed.
#jira UE-34812
Change 3106788 on 2016/08/30 by Jon.Nabozny
Fix CIS warning resulting from 3106638
Change 3106946 on 2016/08/30 by Aaron.McLeran
#jira UE-35141 Audio no longer plays once window loses focus
Fix is to not include application volume changes (tabbing or application volume) when evaluating sound waves for inclusion in wave instance list, etc. Only use the "actual" volume when setting the volume on playing sound sources.
#tests tab out of game when running, audio returns to normal like it should (including 1-shot sounds)
Change 3106980 on 2016/08/30 by Lina.Halper
#Fix transform of poseablemeshcomponent not applying child transform and when set transform by bone name in editor
#code review: Benn.Gallahger
rushing this for Ryan
Change 3108285 on 2016/08/31 by Lukasz.Furman
removed deprecated nodes from troll and werewolf behavior trees (both unused)
#jira UE-35371
[CL 3108419 by Marc Audy in Main branch]
2016-08-31 14:24:30 -04:00
|
|
|
UpdateAIGraphNodeErrorMessage(*Node);
|
|
|
|
|
|
|
|
|
|
for (int32 SubIdx = 0, SubIdxNum = Node->SubNodes.Num(); SubIdx < SubIdxNum; ++SubIdx)
|
2015-03-09 05:40:56 -04:00
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3108373)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3090652 on 2016/08/16 by James.Golding
UE-33627 When slicing procmesh collision shapes, ensure at least 4 verts in resulting geometry
UE-33301 Fix normals on cap sections when slicing proc mesh
Change 3093719 on 2016/08/18 by Marc.Audy
Remove unused bIsAudible
Change 3094646 on 2016/08/19 by Marc.Audy
DumpActiveSounds console command to help debugging audio
Change 3094667 on 2016/08/19 by Marc.Audy
Remove inadvertently checked in lines
Change 3094877 on 2016/08/19 by James.Golding
Improve warning when creating constraint between different scenes to report components being connected
Change 3094881 on 2016/08/19 by James.Golding
PR #2609: Fix TimeSecondsToString format so it matches comment
#jira UE-33404
Change 3094883 on 2016/08/19 by James.Golding
PR #2651: Add GetBoneMass and GetSkeletalCenterOfMass functions for skeletal meshes.
#jira UE-33978
Change 3094888 on 2016/08/19 by James.Golding
PR #2629 : Fix typo in ESuggestProjVelocityTraceOption::OnlyTraceWhileAsceding to OnlyTraceWhileAscending
#jira UE-33789
PR #2580: Fix typo in comment for DeprojectScreenToWorld
#jira UE-32898
Change 3094891 on 2016/08/19 by Marc.Audy
Allow focusing of Actors with 0 size bounds.
#jira UE-34892
Change 3094892 on 2016/08/19 by Marc.Audy
Put null bounds of an empty text render component at the correct location.
#jira UE-34892
Change 3094893 on 2016/08/19 by Aaron.McLeran
UE-34951 - Zero-volume vorbis decoded sounds are too expensive
-Adding an audio settings parameter to disable zero-volume playback globally
-Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume
Change 3094895 on 2016/08/19 by James.Golding
Added several new features for collision component
- 'Attach End' option
- Collision support (inc friction)
- Stiffness option
- External forces
- GetCableParticleLocations function
Removed need for CableUpDir setting
Added perf stats for cable sim
#jira UE-33398
Change 3094980 on 2016/08/19 by Marc.Audy
Fix compile error
Change 3095035 on 2016/08/19 by Lukasz.Furman
increased layer limit for navmesh generation
#jira UE-33560
Change 3095036 on 2016/08/19 by Lukasz.Furman
fixed navmesh generation getting stuck in infite loop during contour trace step
#jira UE-32847
Change 3095148 on 2016/08/19 by Marc.Audy
Adjust UT to correct spelling from CL# 3094888
Change 3095228 on 2016/08/19 by Marc.Audy
PR #2389 - Expanded exposure of cheat manager (Contributed by EverNewJoy)
#jira UE-30548
Change 3095305 on 2016/08/19 by Marc.Audy
PR #2692: Set mouse position : PlayerController (Contributed by Vawx)
#jira UE-34602
Change 3096570 on 2016/08/22 by Ori.Cohen
Move bodies label in PhAT viewport to be easier to read.
Change 3096742 on 2016/08/22 by Ori.Cohen
Fix constraints being improperly edited (To Hinge, To Prismatic, etc...) when an active constraint profile is selected.
Fix undo redo not working with constraint profile instances.
#JIRA UE-34305, UE-34495
Change 3096883 on 2016/08/22 by Lukasz.Furman
fixed landscape's geometry export for navigation: sliced version and mirroring for holes
Change 3096941 on 2016/08/22 by Ori.Cohen
Fix phat incorrectly simulating using the wrong physics asset. (was missing virtual)
#JIRA UE-34559
Change 3098107 on 2016/08/23 by Ori.Cohen
Move skeletal mesh component physics updating into EndPhysics so that other components can use it safely in PostPhysics
#JIRA UE-29459
Change 3098365 on 2016/08/23 by Lina.Halper
Make sure to search guid before searching by name.
- Was waiting for change from main to come through before making this change.
#jira: related UE-33772, UE-33454
Change 3098468 on 2016/08/23 by Ori.Cohen
Fix CIS. Was going to make registration functions for cloth private, but I guess some games are relying on this directly.
#JIRA UE-35118
Change 3098668 on 2016/08/23 by Ori.Cohen
Expose the ability to separate reverse and brake given from PR#1418
#JIRA UE-1418
Change 3099270 on 2016/08/24 by Ori.Cohen
Remove WheeledVehicle and related headers from Engine.h
Change 3099358 on 2016/08/24 by Ori.Cohen
Fix non-unity build for removing wheeledvehicle out of engine.h
Change 3099434 on 2016/08/24 by Ori.Cohen
Fix vehicle suspension force offset to work from the spring location (in the z-axis) instead of the vehicle COM.
Change 3099534 on 2016/08/24 by Ori.Cohen
Update vehicle template to use the new suspension mode.
#JIRA UE-35157
Change 3100097 on 2016/08/24 by Lina.Halper
Morphtarget viewer support
PR #2327: Morph target viewer (Contributed by tmiv)
#code review: Martin.Wilson
#jira: UE-29998
Change 3101285 on 2016/08/25 by Jon.Nabozny
Adds a simple test case for the FSkeletalMeshMerge tool to QA game.
#JIRA UE-29279
Change 3101356 on 2016/08/25 by Jon.Nabozny
Fix invalid bound calculation in CalculateLodCount.
#jira UE-35105
Change 3101981 on 2016/08/25 by Mieszko.Zielinski
Fixed BTDecorator_CompareBBEntries not working as expected if first value pulled from BB is '<' then the other #UE4
It's an alternative fix to the one suggested as PR#2736
#jira UE-35196
Change 3103399 on 2016/08/26 by Ori.Cohen
Added SimpleWheeledVehicleMovementComponent which allows for n wheels with no motor simulation.
Exposed WheeledVehicleMovementComponent4W so that it can be added to any blueprint.
Change 3103414 on 2016/08/26 by Mieszko.Zielinski
fixed UBTDecorator_CompareBBEntries::CalculateRawConditionValue condition calue calculation #UE4
Change 3104345 on 2016/08/29 by Ori.Cohen
Fix typo (reverseAsBrake instead of reverseAsBreak)
Change 3104412 on 2016/08/29 by Ori.Cohen
Fix crash when using Don't Create Shape for vehicle wheel
#JIRA UE-35249
Change 3104423 on 2016/08/29 by Ori.Cohen
Expose SimpleWheeledVehicleMovementComponent torque and brake
Change 3104798 on 2016/08/29 by Mieszko.Zielinski
Even better phrasing of the condition in UBTDecorator_CompareBBEntries::CalculateRawConditionValue #UE4
Change 3105781 on 2016/08/30 by Lukasz.Furman
added log warnings when opening AIGraphs (behavior tree, EQS query) with missing node instance classes
#jira UE-34981
#2721
Change 3106161 on 2016/08/30 by Richard.Hinckley
Fixing a comment that's being pulled into documentation inappropriately.
Change 3106394 on 2016/08/30 by Marc.Audy
Don't crash trying to browse to the CAC actor template
Change 3106638 on 2016/08/30 by Jon.Nabozny
Fixed UK2Node_GetInputAxisValue using default bOverrideParent value on the created binding, causing previous bindings to be squashed.
#jira UE-34812
Change 3106788 on 2016/08/30 by Jon.Nabozny
Fix CIS warning resulting from 3106638
Change 3106946 on 2016/08/30 by Aaron.McLeran
#jira UE-35141 Audio no longer plays once window loses focus
Fix is to not include application volume changes (tabbing or application volume) when evaluating sound waves for inclusion in wave instance list, etc. Only use the "actual" volume when setting the volume on playing sound sources.
#tests tab out of game when running, audio returns to normal like it should (including 1-shot sounds)
Change 3106980 on 2016/08/30 by Lina.Halper
#Fix transform of poseablemeshcomponent not applying child transform and when set transform by bone name in editor
#code review: Benn.Gallahger
rushing this for Ryan
Change 3108285 on 2016/08/31 by Lukasz.Furman
removed deprecated nodes from troll and werewolf behavior trees (both unused)
#jira UE-35371
[CL 3108419 by Marc Audy in Main branch]
2016-08-31 14:24:30 -04:00
|
|
|
if (Node->SubNodes[SubIdx] != nullptr)
|
2015-03-09 05:40:56 -04:00
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3108373)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3090652 on 2016/08/16 by James.Golding
UE-33627 When slicing procmesh collision shapes, ensure at least 4 verts in resulting geometry
UE-33301 Fix normals on cap sections when slicing proc mesh
Change 3093719 on 2016/08/18 by Marc.Audy
Remove unused bIsAudible
Change 3094646 on 2016/08/19 by Marc.Audy
DumpActiveSounds console command to help debugging audio
Change 3094667 on 2016/08/19 by Marc.Audy
Remove inadvertently checked in lines
Change 3094877 on 2016/08/19 by James.Golding
Improve warning when creating constraint between different scenes to report components being connected
Change 3094881 on 2016/08/19 by James.Golding
PR #2609: Fix TimeSecondsToString format so it matches comment
#jira UE-33404
Change 3094883 on 2016/08/19 by James.Golding
PR #2651: Add GetBoneMass and GetSkeletalCenterOfMass functions for skeletal meshes.
#jira UE-33978
Change 3094888 on 2016/08/19 by James.Golding
PR #2629 : Fix typo in ESuggestProjVelocityTraceOption::OnlyTraceWhileAsceding to OnlyTraceWhileAscending
#jira UE-33789
PR #2580: Fix typo in comment for DeprojectScreenToWorld
#jira UE-32898
Change 3094891 on 2016/08/19 by Marc.Audy
Allow focusing of Actors with 0 size bounds.
#jira UE-34892
Change 3094892 on 2016/08/19 by Marc.Audy
Put null bounds of an empty text render component at the correct location.
#jira UE-34892
Change 3094893 on 2016/08/19 by Aaron.McLeran
UE-34951 - Zero-volume vorbis decoded sounds are too expensive
-Adding an audio settings parameter to disable zero-volume playback globally
-Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume
Change 3094895 on 2016/08/19 by James.Golding
Added several new features for collision component
- 'Attach End' option
- Collision support (inc friction)
- Stiffness option
- External forces
- GetCableParticleLocations function
Removed need for CableUpDir setting
Added perf stats for cable sim
#jira UE-33398
Change 3094980 on 2016/08/19 by Marc.Audy
Fix compile error
Change 3095035 on 2016/08/19 by Lukasz.Furman
increased layer limit for navmesh generation
#jira UE-33560
Change 3095036 on 2016/08/19 by Lukasz.Furman
fixed navmesh generation getting stuck in infite loop during contour trace step
#jira UE-32847
Change 3095148 on 2016/08/19 by Marc.Audy
Adjust UT to correct spelling from CL# 3094888
Change 3095228 on 2016/08/19 by Marc.Audy
PR #2389 - Expanded exposure of cheat manager (Contributed by EverNewJoy)
#jira UE-30548
Change 3095305 on 2016/08/19 by Marc.Audy
PR #2692: Set mouse position : PlayerController (Contributed by Vawx)
#jira UE-34602
Change 3096570 on 2016/08/22 by Ori.Cohen
Move bodies label in PhAT viewport to be easier to read.
Change 3096742 on 2016/08/22 by Ori.Cohen
Fix constraints being improperly edited (To Hinge, To Prismatic, etc...) when an active constraint profile is selected.
Fix undo redo not working with constraint profile instances.
#JIRA UE-34305, UE-34495
Change 3096883 on 2016/08/22 by Lukasz.Furman
fixed landscape's geometry export for navigation: sliced version and mirroring for holes
Change 3096941 on 2016/08/22 by Ori.Cohen
Fix phat incorrectly simulating using the wrong physics asset. (was missing virtual)
#JIRA UE-34559
Change 3098107 on 2016/08/23 by Ori.Cohen
Move skeletal mesh component physics updating into EndPhysics so that other components can use it safely in PostPhysics
#JIRA UE-29459
Change 3098365 on 2016/08/23 by Lina.Halper
Make sure to search guid before searching by name.
- Was waiting for change from main to come through before making this change.
#jira: related UE-33772, UE-33454
Change 3098468 on 2016/08/23 by Ori.Cohen
Fix CIS. Was going to make registration functions for cloth private, but I guess some games are relying on this directly.
#JIRA UE-35118
Change 3098668 on 2016/08/23 by Ori.Cohen
Expose the ability to separate reverse and brake given from PR#1418
#JIRA UE-1418
Change 3099270 on 2016/08/24 by Ori.Cohen
Remove WheeledVehicle and related headers from Engine.h
Change 3099358 on 2016/08/24 by Ori.Cohen
Fix non-unity build for removing wheeledvehicle out of engine.h
Change 3099434 on 2016/08/24 by Ori.Cohen
Fix vehicle suspension force offset to work from the spring location (in the z-axis) instead of the vehicle COM.
Change 3099534 on 2016/08/24 by Ori.Cohen
Update vehicle template to use the new suspension mode.
#JIRA UE-35157
Change 3100097 on 2016/08/24 by Lina.Halper
Morphtarget viewer support
PR #2327: Morph target viewer (Contributed by tmiv)
#code review: Martin.Wilson
#jira: UE-29998
Change 3101285 on 2016/08/25 by Jon.Nabozny
Adds a simple test case for the FSkeletalMeshMerge tool to QA game.
#JIRA UE-29279
Change 3101356 on 2016/08/25 by Jon.Nabozny
Fix invalid bound calculation in CalculateLodCount.
#jira UE-35105
Change 3101981 on 2016/08/25 by Mieszko.Zielinski
Fixed BTDecorator_CompareBBEntries not working as expected if first value pulled from BB is '<' then the other #UE4
It's an alternative fix to the one suggested as PR#2736
#jira UE-35196
Change 3103399 on 2016/08/26 by Ori.Cohen
Added SimpleWheeledVehicleMovementComponent which allows for n wheels with no motor simulation.
Exposed WheeledVehicleMovementComponent4W so that it can be added to any blueprint.
Change 3103414 on 2016/08/26 by Mieszko.Zielinski
fixed UBTDecorator_CompareBBEntries::CalculateRawConditionValue condition calue calculation #UE4
Change 3104345 on 2016/08/29 by Ori.Cohen
Fix typo (reverseAsBrake instead of reverseAsBreak)
Change 3104412 on 2016/08/29 by Ori.Cohen
Fix crash when using Don't Create Shape for vehicle wheel
#JIRA UE-35249
Change 3104423 on 2016/08/29 by Ori.Cohen
Expose SimpleWheeledVehicleMovementComponent torque and brake
Change 3104798 on 2016/08/29 by Mieszko.Zielinski
Even better phrasing of the condition in UBTDecorator_CompareBBEntries::CalculateRawConditionValue #UE4
Change 3105781 on 2016/08/30 by Lukasz.Furman
added log warnings when opening AIGraphs (behavior tree, EQS query) with missing node instance classes
#jira UE-34981
#2721
Change 3106161 on 2016/08/30 by Richard.Hinckley
Fixing a comment that's being pulled into documentation inappropriately.
Change 3106394 on 2016/08/30 by Marc.Audy
Don't crash trying to browse to the CAC actor template
Change 3106638 on 2016/08/30 by Jon.Nabozny
Fixed UK2Node_GetInputAxisValue using default bOverrideParent value on the created binding, causing previous bindings to be squashed.
#jira UE-34812
Change 3106788 on 2016/08/30 by Jon.Nabozny
Fix CIS warning resulting from 3106638
Change 3106946 on 2016/08/30 by Aaron.McLeran
#jira UE-35141 Audio no longer plays once window loses focus
Fix is to not include application volume changes (tabbing or application volume) when evaluating sound waves for inclusion in wave instance list, etc. Only use the "actual" volume when setting the volume on playing sound sources.
#tests tab out of game when running, audio returns to normal like it should (including 1-shot sounds)
Change 3106980 on 2016/08/30 by Lina.Halper
#Fix transform of poseablemeshcomponent not applying child transform and when set transform by bone name in editor
#code review: Benn.Gallahger
rushing this for Ryan
Change 3108285 on 2016/08/31 by Lukasz.Furman
removed deprecated nodes from troll and werewolf behavior trees (both unused)
#jira UE-35371
[CL 3108419 by Marc Audy in Main branch]
2016-08-31 14:24:30 -04:00
|
|
|
UpdateAIGraphNodeErrorMessage(*Node->SubNodes[SubIdx]);
|
2015-03-09 05:40:56 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3108373)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3090652 on 2016/08/16 by James.Golding
UE-33627 When slicing procmesh collision shapes, ensure at least 4 verts in resulting geometry
UE-33301 Fix normals on cap sections when slicing proc mesh
Change 3093719 on 2016/08/18 by Marc.Audy
Remove unused bIsAudible
Change 3094646 on 2016/08/19 by Marc.Audy
DumpActiveSounds console command to help debugging audio
Change 3094667 on 2016/08/19 by Marc.Audy
Remove inadvertently checked in lines
Change 3094877 on 2016/08/19 by James.Golding
Improve warning when creating constraint between different scenes to report components being connected
Change 3094881 on 2016/08/19 by James.Golding
PR #2609: Fix TimeSecondsToString format so it matches comment
#jira UE-33404
Change 3094883 on 2016/08/19 by James.Golding
PR #2651: Add GetBoneMass and GetSkeletalCenterOfMass functions for skeletal meshes.
#jira UE-33978
Change 3094888 on 2016/08/19 by James.Golding
PR #2629 : Fix typo in ESuggestProjVelocityTraceOption::OnlyTraceWhileAsceding to OnlyTraceWhileAscending
#jira UE-33789
PR #2580: Fix typo in comment for DeprojectScreenToWorld
#jira UE-32898
Change 3094891 on 2016/08/19 by Marc.Audy
Allow focusing of Actors with 0 size bounds.
#jira UE-34892
Change 3094892 on 2016/08/19 by Marc.Audy
Put null bounds of an empty text render component at the correct location.
#jira UE-34892
Change 3094893 on 2016/08/19 by Aaron.McLeran
UE-34951 - Zero-volume vorbis decoded sounds are too expensive
-Adding an audio settings parameter to disable zero-volume playback globally
-Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume
Change 3094895 on 2016/08/19 by James.Golding
Added several new features for collision component
- 'Attach End' option
- Collision support (inc friction)
- Stiffness option
- External forces
- GetCableParticleLocations function
Removed need for CableUpDir setting
Added perf stats for cable sim
#jira UE-33398
Change 3094980 on 2016/08/19 by Marc.Audy
Fix compile error
Change 3095035 on 2016/08/19 by Lukasz.Furman
increased layer limit for navmesh generation
#jira UE-33560
Change 3095036 on 2016/08/19 by Lukasz.Furman
fixed navmesh generation getting stuck in infite loop during contour trace step
#jira UE-32847
Change 3095148 on 2016/08/19 by Marc.Audy
Adjust UT to correct spelling from CL# 3094888
Change 3095228 on 2016/08/19 by Marc.Audy
PR #2389 - Expanded exposure of cheat manager (Contributed by EverNewJoy)
#jira UE-30548
Change 3095305 on 2016/08/19 by Marc.Audy
PR #2692: Set mouse position : PlayerController (Contributed by Vawx)
#jira UE-34602
Change 3096570 on 2016/08/22 by Ori.Cohen
Move bodies label in PhAT viewport to be easier to read.
Change 3096742 on 2016/08/22 by Ori.Cohen
Fix constraints being improperly edited (To Hinge, To Prismatic, etc...) when an active constraint profile is selected.
Fix undo redo not working with constraint profile instances.
#JIRA UE-34305, UE-34495
Change 3096883 on 2016/08/22 by Lukasz.Furman
fixed landscape's geometry export for navigation: sliced version and mirroring for holes
Change 3096941 on 2016/08/22 by Ori.Cohen
Fix phat incorrectly simulating using the wrong physics asset. (was missing virtual)
#JIRA UE-34559
Change 3098107 on 2016/08/23 by Ori.Cohen
Move skeletal mesh component physics updating into EndPhysics so that other components can use it safely in PostPhysics
#JIRA UE-29459
Change 3098365 on 2016/08/23 by Lina.Halper
Make sure to search guid before searching by name.
- Was waiting for change from main to come through before making this change.
#jira: related UE-33772, UE-33454
Change 3098468 on 2016/08/23 by Ori.Cohen
Fix CIS. Was going to make registration functions for cloth private, but I guess some games are relying on this directly.
#JIRA UE-35118
Change 3098668 on 2016/08/23 by Ori.Cohen
Expose the ability to separate reverse and brake given from PR#1418
#JIRA UE-1418
Change 3099270 on 2016/08/24 by Ori.Cohen
Remove WheeledVehicle and related headers from Engine.h
Change 3099358 on 2016/08/24 by Ori.Cohen
Fix non-unity build for removing wheeledvehicle out of engine.h
Change 3099434 on 2016/08/24 by Ori.Cohen
Fix vehicle suspension force offset to work from the spring location (in the z-axis) instead of the vehicle COM.
Change 3099534 on 2016/08/24 by Ori.Cohen
Update vehicle template to use the new suspension mode.
#JIRA UE-35157
Change 3100097 on 2016/08/24 by Lina.Halper
Morphtarget viewer support
PR #2327: Morph target viewer (Contributed by tmiv)
#code review: Martin.Wilson
#jira: UE-29998
Change 3101285 on 2016/08/25 by Jon.Nabozny
Adds a simple test case for the FSkeletalMeshMerge tool to QA game.
#JIRA UE-29279
Change 3101356 on 2016/08/25 by Jon.Nabozny
Fix invalid bound calculation in CalculateLodCount.
#jira UE-35105
Change 3101981 on 2016/08/25 by Mieszko.Zielinski
Fixed BTDecorator_CompareBBEntries not working as expected if first value pulled from BB is '<' then the other #UE4
It's an alternative fix to the one suggested as PR#2736
#jira UE-35196
Change 3103399 on 2016/08/26 by Ori.Cohen
Added SimpleWheeledVehicleMovementComponent which allows for n wheels with no motor simulation.
Exposed WheeledVehicleMovementComponent4W so that it can be added to any blueprint.
Change 3103414 on 2016/08/26 by Mieszko.Zielinski
fixed UBTDecorator_CompareBBEntries::CalculateRawConditionValue condition calue calculation #UE4
Change 3104345 on 2016/08/29 by Ori.Cohen
Fix typo (reverseAsBrake instead of reverseAsBreak)
Change 3104412 on 2016/08/29 by Ori.Cohen
Fix crash when using Don't Create Shape for vehicle wheel
#JIRA UE-35249
Change 3104423 on 2016/08/29 by Ori.Cohen
Expose SimpleWheeledVehicleMovementComponent torque and brake
Change 3104798 on 2016/08/29 by Mieszko.Zielinski
Even better phrasing of the condition in UBTDecorator_CompareBBEntries::CalculateRawConditionValue #UE4
Change 3105781 on 2016/08/30 by Lukasz.Furman
added log warnings when opening AIGraphs (behavior tree, EQS query) with missing node instance classes
#jira UE-34981
#2721
Change 3106161 on 2016/08/30 by Richard.Hinckley
Fixing a comment that's being pulled into documentation inappropriately.
Change 3106394 on 2016/08/30 by Marc.Audy
Don't crash trying to browse to the CAC actor template
Change 3106638 on 2016/08/30 by Jon.Nabozny
Fixed UK2Node_GetInputAxisValue using default bOverrideParent value on the created binding, causing previous bindings to be squashed.
#jira UE-34812
Change 3106788 on 2016/08/30 by Jon.Nabozny
Fix CIS warning resulting from 3106638
Change 3106946 on 2016/08/30 by Aaron.McLeran
#jira UE-35141 Audio no longer plays once window loses focus
Fix is to not include application volume changes (tabbing or application volume) when evaluating sound waves for inclusion in wave instance list, etc. Only use the "actual" volume when setting the volume on playing sound sources.
#tests tab out of game when running, audio returns to normal like it should (including 1-shot sounds)
Change 3106980 on 2016/08/30 by Lina.Halper
#Fix transform of poseablemeshcomponent not applying child transform and when set transform by bone name in editor
#code review: Benn.Gallahger
rushing this for Ryan
Change 3108285 on 2016/08/31 by Lukasz.Furman
removed deprecated nodes from troll and werewolf behavior trees (both unused)
#jira UE-35371
[CL 3108419 by Marc Audy in Main branch]
2016-08-31 14:24:30 -04:00
|
|
|
void UAIGraph::Serialize(FArchive& Ar)
|
|
|
|
|
{
|
|
|
|
|
// Overridden to flags up errors in the behavior tree while cooking.
|
|
|
|
|
Super::Serialize(Ar);
|
|
|
|
|
|
|
|
|
|
if (Ar.IsSaving() || Ar.IsCooking())
|
|
|
|
|
{
|
|
|
|
|
// Logging of errors happens in UpdateDeprecatedClasses
|
|
|
|
|
UpdateDeprecatedClasses();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-17 07:30:01 -04:00
|
|
|
void UAIGraph::UpdateClassData()
|
|
|
|
|
{
|
|
|
|
|
for (int32 Idx = 0; Idx < Nodes.Num(); Idx++)
|
|
|
|
|
{
|
|
|
|
|
UAIGraphNode* Node = Cast<UAIGraphNode>(Nodes[Idx]);
|
|
|
|
|
if (Node)
|
|
|
|
|
{
|
|
|
|
|
Node->UpdateNodeClassData();
|
|
|
|
|
|
|
|
|
|
for (int32 SubIdx = 0; SubIdx < Node->SubNodes.Num(); SubIdx++)
|
|
|
|
|
{
|
|
|
|
|
if (Node->SubNodes[SubIdx])
|
|
|
|
|
{
|
|
|
|
|
Node->UpdateNodeClassData();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
void UAIGraph::CollectAllNodeInstances(TSet<UObject*>& NodeInstances)
|
|
|
|
|
{
|
|
|
|
|
for (int32 Idx = 0; Idx < Nodes.Num(); Idx++)
|
|
|
|
|
{
|
|
|
|
|
UAIGraphNode* MyNode = Cast<UAIGraphNode>(Nodes[Idx]);
|
|
|
|
|
if (MyNode)
|
|
|
|
|
{
|
|
|
|
|
NodeInstances.Add(MyNode->NodeInstance);
|
|
|
|
|
|
|
|
|
|
for (int32 SubIdx = 0; SubIdx < MyNode->SubNodes.Num(); SubIdx++)
|
|
|
|
|
{
|
|
|
|
|
if (MyNode->SubNodes[SubIdx])
|
|
|
|
|
{
|
|
|
|
|
NodeInstances.Add(MyNode->SubNodes[SubIdx]->NodeInstance);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool UAIGraph::CanRemoveNestedObject(UObject* TestObject) const
|
|
|
|
|
{
|
|
|
|
|
return !TestObject->IsA(UEdGraphNode::StaticClass()) &&
|
|
|
|
|
!TestObject->IsA(UEdGraph::StaticClass()) &&
|
|
|
|
|
!TestObject->IsA(UEdGraphSchema::StaticClass());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::RemoveOrphanedNodes()
|
|
|
|
|
{
|
|
|
|
|
TSet<UObject*> NodeInstances;
|
|
|
|
|
CollectAllNodeInstances(NodeInstances);
|
|
|
|
|
|
|
|
|
|
NodeInstances.Remove(nullptr);
|
|
|
|
|
|
|
|
|
|
// Obtain a list of all nodes actually in the asset and discard unused nodes
|
|
|
|
|
TArray<UObject*> AllInners;
|
|
|
|
|
const bool bIncludeNestedObjects = false;
|
|
|
|
|
GetObjectsWithOuter(GetOuter(), AllInners, bIncludeNestedObjects);
|
|
|
|
|
for (auto InnerIt = AllInners.CreateConstIterator(); InnerIt; ++InnerIt)
|
|
|
|
|
{
|
|
|
|
|
UObject* TestObject = *InnerIt;
|
|
|
|
|
if (!NodeInstances.Contains(TestObject) && CanRemoveNestedObject(TestObject))
|
|
|
|
|
{
|
Copying //UE4/Fortnite-Staging to //UE4/Main
#lockdown nick.penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2806454 on 2015/12/16 by Bob.Tellez
#UE4 Getting crash reporting working again on linux servers. Since -Unattended is now being passed BEFORE the target folder, the cmd line parsing code was failing so now it parses tokens and switches in a more general way. Also, diagnostics.txt had the incorrect case, since the d is supposed to be capitolized and the crash report processor is case sensitive.
#rb Ben.Zeigler
#codereview Dmitry.Rekman
Change 2805502 on 2015/12/16 by Ben.Zeigler
#UE4 Move ValidateEnumProperties into ValidateGeneratedClass, it was happening too early in the generation process so was being called at an invalid time.
As a result of this ValidateEnumProperties will not be called correctly for compile on load blueprints, that issue is covered in UE-24569
#codereview mike.beach, bob.tellez
Change 2805288 on 2015/12/16 by David.Nikdel
#HTTP #HttpRetry
- Add new Failed_ConnectionError code to EHttpRequestStatus to distinguish between connection errors and protocol errors.
- Changed HTTP retry logic a little bit
* If a response was received, retry on service-specific explicit HTTP codes (defaults to empty)
* If a response was not received and we did not send a full request, automatically retry
* If a response was not received and a request may have been sent, retry if the verb is GET or HEAD (should be idempotent)
- Adjusted Curl/IOS/Mac/PS4/WinInet to try and distinguish Failed_ConnectionError where possible
* Other systems will default to Failed which is ok (ConnectionError is an opportunistic categorization)
* Opened a PS4 ticket to try to improve detection, but unfortunately there's no way (currently) to distinguish between send timeout, connection timeout, and receive timeout, the latter being the problematic case.
- Removed the concept of global/default HTTP retry status codes. No system has enough knowledge to set those globally.
* Individual requests still specify explicit "retryable" codes and McpServiceBase sets that on each request on a per-service basis
#RB: Sam.Zamani
#CodeReview: Sam.Zamani, Josh.Markiewicz, Alex.Fennell, Dmitry.Rekman, Sam.Spiro
#Fixes: FORT-17804
Change 2803864 on 2015/12/15 by Bob.Tellez
#UE4 Changed usage of !UE_SERVER to !IsRunningDedicatedServer in cases where we are preventing load attempts on UFonts. This is so running an editor build with -server works the same as running a cooked server.
#rb Dmitry.Rekman
#codereview Nick.Darnell
Change 2803677 on 2015/12/15 by Billy.Bramer
- Expose equality and inequality operators for gameplay attributes
#rb Todd.Eckert
Change 2802881 on 2015/12/14 by Bob.Tellez
#UE4 InheritableComponentHandler no longer keeps records for components that we are no longer inheriting.
#rb Phillip.Kavan, Maciej.Mroz
#codereview Phillip.Kavan, Maciej.Mroz
Change 2801636 on 2015/12/14 by Bob.Tellez
#UE4 Returning package insert order for non-imports back to being after those of matching priorities unconditionally since this is what you want even when you are not using the asset registry to preload packages.
#codereview Graeme.Thornton
Change 2800400 on 2015/12/11 by Jonathan.Lindquist
Submitting a new Pivot Painter Edition
- now renders to textures
- improved workflow
- greater capabilities
Change 2799579 on 2015/12/11 by John.Abercrombie
[AUTOMERGE]
Fixed EQS BP query wrappers getting GCed before wrapped query finishes #UE4
Fixes FORT-18649 - Patrols don't spawn consistently
- The patrol blueprint was waiting (endlessly) for an EQS query to finish but because the wrapper could be GC-ed while the EQS query was running the delegate would never fire
#rb me (this code was written by MieszkoZ)
(removed code review for integration of Mieszko.Zielinski, Phil.Cole, Dominic.Barile)
--------
Integrated using branch UE4-Fortnite-To-UE4-FortniteReleases/0.10 (reversed) of change#2799575 by John.Abercrombie on 2015/12/11 09:55:11.
Change 2799018 on 2015/12/10 by Bob.Tellez
#UE4 The asset registry tags stripped from cooked builds is now a blacklist by default that includes only the FiB tag. You can opt-in to using the whitelist by flipping the bUseAssetRegistryTagsWhitelistInsteadOfBlacklist flag.
#rb Fred.Kimberley
#codereview Peter.Knepley
Change 2798926 on 2015/12/10 by Bob.Tellez
#UE4 Removed some showflags from the list of "Fixed" showflags since they were actually in use at runtime in Fortnite in a scene capture.
#jira FORT-18514
#codereview Martin.Mittring
Change 2797758 on 2015/12/10 by Mark.Satterthwaite
Defer calls to AUGraphUpdate into FCoreAudioDevice::UpdateHardware - this call will synchronise the calling thread with the CoreAudio thread/run-loop so that the CoreAudio graph is safe to modify and this may incur a significant stall. This means it is far more efficient to amortise the cost of all changes to the graph with a single call. To ensure correctness the audio format conversion components are cached and disposed of after the call to AUGraphUpdate so that any existing operations on the CoreAudio thread are completed prior to disposal.
Change 2781204 on 2015/11/25 by Dmitry.Rekman
Linux: use jemalloc by default if available.
- Alleviates one of the reasons for player disconnect (FORT-18048), which was machines running OOM.
#rb Bob.Tellez
#codereview Bob.Tellez, Ben.Zeigler
Change 2779398 on 2015/11/24 by Mark.Satterthwaite
Switch the default graphics API on Mac back to OpenGL, but allow Metal to run with -metal (or -metalsm5 for experimental SM5 support).
2016-01-08 19:10:43 -05:00
|
|
|
OnNodeInstanceRemoved(TestObject);
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
TestObject->SetFlags(RF_Transient);
|
|
|
|
|
TestObject->Rename(NULL, GetTransientPackage(), REN_DontCreateRedirectors | REN_NonTransactional | REN_ForceNoResetLoaders);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Fortnite-Staging to //UE4/Main
#lockdown nick.penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2806454 on 2015/12/16 by Bob.Tellez
#UE4 Getting crash reporting working again on linux servers. Since -Unattended is now being passed BEFORE the target folder, the cmd line parsing code was failing so now it parses tokens and switches in a more general way. Also, diagnostics.txt had the incorrect case, since the d is supposed to be capitolized and the crash report processor is case sensitive.
#rb Ben.Zeigler
#codereview Dmitry.Rekman
Change 2805502 on 2015/12/16 by Ben.Zeigler
#UE4 Move ValidateEnumProperties into ValidateGeneratedClass, it was happening too early in the generation process so was being called at an invalid time.
As a result of this ValidateEnumProperties will not be called correctly for compile on load blueprints, that issue is covered in UE-24569
#codereview mike.beach, bob.tellez
Change 2805288 on 2015/12/16 by David.Nikdel
#HTTP #HttpRetry
- Add new Failed_ConnectionError code to EHttpRequestStatus to distinguish between connection errors and protocol errors.
- Changed HTTP retry logic a little bit
* If a response was received, retry on service-specific explicit HTTP codes (defaults to empty)
* If a response was not received and we did not send a full request, automatically retry
* If a response was not received and a request may have been sent, retry if the verb is GET or HEAD (should be idempotent)
- Adjusted Curl/IOS/Mac/PS4/WinInet to try and distinguish Failed_ConnectionError where possible
* Other systems will default to Failed which is ok (ConnectionError is an opportunistic categorization)
* Opened a PS4 ticket to try to improve detection, but unfortunately there's no way (currently) to distinguish between send timeout, connection timeout, and receive timeout, the latter being the problematic case.
- Removed the concept of global/default HTTP retry status codes. No system has enough knowledge to set those globally.
* Individual requests still specify explicit "retryable" codes and McpServiceBase sets that on each request on a per-service basis
#RB: Sam.Zamani
#CodeReview: Sam.Zamani, Josh.Markiewicz, Alex.Fennell, Dmitry.Rekman, Sam.Spiro
#Fixes: FORT-17804
Change 2803864 on 2015/12/15 by Bob.Tellez
#UE4 Changed usage of !UE_SERVER to !IsRunningDedicatedServer in cases where we are preventing load attempts on UFonts. This is so running an editor build with -server works the same as running a cooked server.
#rb Dmitry.Rekman
#codereview Nick.Darnell
Change 2803677 on 2015/12/15 by Billy.Bramer
- Expose equality and inequality operators for gameplay attributes
#rb Todd.Eckert
Change 2802881 on 2015/12/14 by Bob.Tellez
#UE4 InheritableComponentHandler no longer keeps records for components that we are no longer inheriting.
#rb Phillip.Kavan, Maciej.Mroz
#codereview Phillip.Kavan, Maciej.Mroz
Change 2801636 on 2015/12/14 by Bob.Tellez
#UE4 Returning package insert order for non-imports back to being after those of matching priorities unconditionally since this is what you want even when you are not using the asset registry to preload packages.
#codereview Graeme.Thornton
Change 2800400 on 2015/12/11 by Jonathan.Lindquist
Submitting a new Pivot Painter Edition
- now renders to textures
- improved workflow
- greater capabilities
Change 2799579 on 2015/12/11 by John.Abercrombie
[AUTOMERGE]
Fixed EQS BP query wrappers getting GCed before wrapped query finishes #UE4
Fixes FORT-18649 - Patrols don't spawn consistently
- The patrol blueprint was waiting (endlessly) for an EQS query to finish but because the wrapper could be GC-ed while the EQS query was running the delegate would never fire
#rb me (this code was written by MieszkoZ)
(removed code review for integration of Mieszko.Zielinski, Phil.Cole, Dominic.Barile)
--------
Integrated using branch UE4-Fortnite-To-UE4-FortniteReleases/0.10 (reversed) of change#2799575 by John.Abercrombie on 2015/12/11 09:55:11.
Change 2799018 on 2015/12/10 by Bob.Tellez
#UE4 The asset registry tags stripped from cooked builds is now a blacklist by default that includes only the FiB tag. You can opt-in to using the whitelist by flipping the bUseAssetRegistryTagsWhitelistInsteadOfBlacklist flag.
#rb Fred.Kimberley
#codereview Peter.Knepley
Change 2798926 on 2015/12/10 by Bob.Tellez
#UE4 Removed some showflags from the list of "Fixed" showflags since they were actually in use at runtime in Fortnite in a scene capture.
#jira FORT-18514
#codereview Martin.Mittring
Change 2797758 on 2015/12/10 by Mark.Satterthwaite
Defer calls to AUGraphUpdate into FCoreAudioDevice::UpdateHardware - this call will synchronise the calling thread with the CoreAudio thread/run-loop so that the CoreAudio graph is safe to modify and this may incur a significant stall. This means it is far more efficient to amortise the cost of all changes to the graph with a single call. To ensure correctness the audio format conversion components are cached and disposed of after the call to AUGraphUpdate so that any existing operations on the CoreAudio thread are completed prior to disposal.
Change 2781204 on 2015/11/25 by Dmitry.Rekman
Linux: use jemalloc by default if available.
- Alleviates one of the reasons for player disconnect (FORT-18048), which was machines running OOM.
#rb Bob.Tellez
#codereview Bob.Tellez, Ben.Zeigler
Change 2779398 on 2015/11/24 by Mark.Satterthwaite
Switch the default graphics API on Mac back to OpenGL, but allow Metal to run with -metal (or -metalsm5 for experimental SM5 support).
2016-01-08 19:10:43 -05:00
|
|
|
void UAIGraph::OnNodeInstanceRemoved(UObject* NodeInstance)
|
|
|
|
|
{
|
|
|
|
|
// empty in base class
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::OnNodesPasted(const FString& ImportStr)
|
|
|
|
|
{
|
|
|
|
|
// empty in base class
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-10 09:38:12 -04:00
|
|
|
UEdGraphPin* UAIGraph::FindGraphNodePin(UEdGraphNode* Node, EEdGraphPinDirection Dir)
|
|
|
|
|
{
|
|
|
|
|
UEdGraphPin* Pin = nullptr;
|
|
|
|
|
for (int32 Idx = 0; Idx < Node->Pins.Num(); Idx++)
|
|
|
|
|
{
|
|
|
|
|
if (Node->Pins[Idx]->Direction == Dir)
|
|
|
|
|
{
|
|
|
|
|
Pin = Node->Pins[Idx];
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Pin;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-23 10:30:16 -05:00
|
|
|
bool UAIGraph::IsLocked() const
|
|
|
|
|
{
|
|
|
|
|
return bLockUpdates;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::LockUpdates()
|
|
|
|
|
{
|
|
|
|
|
bLockUpdates = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::UnlockUpdates()
|
|
|
|
|
{
|
|
|
|
|
bLockUpdates = false;
|
|
|
|
|
UpdateAsset();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAIGraph::OnSubNodeDropped()
|
|
|
|
|
{
|
|
|
|
|
NotifyGraphChanged();
|
|
|
|
|
}
|